Home
last modified time | relevance | path

Searched refs:ImagePackage (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DImage.c605 HII_IMAGE_PACKAGE_INSTANCE *ImagePackage; in HiiNewImage() local
654 ImagePackage = PackageListNode->ImagePkg; in HiiNewImage()
661 GetImageIdOrAddress (ImagePackage->ImageBlock, ImageId); in HiiNewImage()
666 BlockSize = ImagePackage->ImageBlockSize + NewBlockSize; in HiiNewImage()
676 ImagePackage->ImageBlock, in HiiNewImage()
677 ImagePackage->ImageBlockSize - sizeof (EFI_HII_IIBT_END_BLOCK) in HiiNewImage()
679 FreePool (ImagePackage->ImageBlock); in HiiNewImage()
680 ImagePackage->ImageBlock = ImageBlock; in HiiNewImage()
681 ImageBlock += ImagePackage->ImageBlockSize - sizeof (EFI_HII_IIBT_END_BLOCK); in HiiNewImage()
687 FreePool (ImagePackage->ImageBlock); in HiiNewImage()
[all …]
DDatabase.c1466 HII_IMAGE_PACKAGE_INSTANCE *ImagePackage; in InsertImagePackage() local
1490ImagePackage = (HII_IMAGE_PACKAGE_INSTANCE *) AllocateZeroPool (sizeof (HII_IMAGE_PACKAGE_INSTANCE… in InsertImagePackage()
1491 if (ImagePackage == NULL) { in InsertImagePackage()
1498 CopyMem (&ImagePackage->ImagePkgHdr, PackageHdr, sizeof (EFI_HII_IMAGE_PACKAGE_HDR)); in InsertImagePackage()
1500 PaletteInfoOffset = ImagePackage->ImagePkgHdr.PaletteInfoOffset; in InsertImagePackage()
1501 ImageInfoOffset = ImagePackage->ImagePkgHdr.ImageInfoOffset; in InsertImagePackage()
1507 ImagePackage->PaletteBlock = NULL; in InsertImagePackage()
1520 ImagePackage->PaletteBlock = (UINT8 *) AllocateZeroPool (PaletteSize); in InsertImagePackage()
1521 if (ImagePackage->PaletteBlock == NULL) { in InsertImagePackage()
1522 FreePool (ImagePackage); in InsertImagePackage()
[all …]