Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DImage.c41 EFI_HII_IMAGE_BLOCK *CurrentImageBlock; in GetImageIdOrAddress() local
45 CurrentImageBlock = ImageBlocks; in GetImageIdOrAddress()
48 while (CurrentImageBlock->BlockType != EFI_HII_IIBT_END) { in GetImageIdOrAddress()
55 if (CurrentImageBlock->BlockType == EFI_HII_IIBT_DUPLICATE) { in GetImageIdOrAddress()
56 …*ImageId = ReadUnaligned16 ((VOID *) &((EFI_HII_IIBT_DUPLICATE_BLOCK *) CurrentImageBlock)->ImageI… in GetImageIdOrAddress()
59 CurrentImageBlock = ImageBlocks; in GetImageIdOrAddress()
64 return CurrentImageBlock; in GetImageIdOrAddress()
73 switch (CurrentImageBlock->BlockType) { in GetImageIdOrAddress()
75 Length = ((EFI_HII_IIBT_EXT1_BLOCK *) CurrentImageBlock)->Length; in GetImageIdOrAddress()
78 Length = ReadUnaligned16 (&((EFI_HII_IIBT_EXT2_BLOCK *) CurrentImageBlock)->Length); in GetImageIdOrAddress()
[all …]
DImageEx.c342 EFI_HII_IMAGE_BLOCK *CurrentImageBlock; in HiiGetImageInfo() local
363 CurrentImageBlock = GetImageIdOrAddress (ImagePackage->ImageBlock, &ImageId); in HiiGetImageInfo()
364 if (CurrentImageBlock == NULL) { in HiiGetImageInfo()
368 switch (CurrentImageBlock->BlockType) { in HiiGetImageInfo()
371 Decoder = LocateHiiImageDecoder (CurrentImageBlock->BlockType); in HiiGetImageInfo()
379 ASSERT (sizeof (((EFI_HII_IIBT_JPEG_BLOCK *) CurrentImageBlock)->Data) == in HiiGetImageInfo()
380 sizeof (((EFI_HII_IIBT_PNG_BLOCK *) CurrentImageBlock)->Data)); in HiiGetImageInfo()
382 ASSERT (sizeof (((EFI_HII_IIBT_JPEG_BLOCK *) CurrentImageBlock)->Size) == in HiiGetImageInfo()
383 sizeof (((EFI_HII_IIBT_PNG_BLOCK *) CurrentImageBlock)->Size)); in HiiGetImageInfo()
386 ((EFI_HII_IIBT_JPEG_BLOCK *) CurrentImageBlock)->Data, in HiiGetImageInfo()
[all …]