Home
last modified time | relevance | path

Searched refs:Image (Results 1 – 25 of 205) sorted by relevance

123456789

/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Image/
DImage.c135 LOADED_IMAGE_PRIVATE_DATA *Image; in CoreInitializeImageServices() local
164 Image = &mCorePrivateImage; in CoreInitializeImageServices()
166 Image->EntryPoint = (EFI_IMAGE_ENTRY_POINT)(UINTN)DxeCoreEntryPoint; in CoreInitializeImageServices()
167 Image->ImageBasePage = DxeCoreImageBaseAddress; in CoreInitializeImageServices()
168 Image->NumberOfPages = (UINTN)(EFI_SIZE_TO_PAGES((UINTN)(DxeCoreImageLength))); in CoreInitializeImageServices()
169 Image->Tpl = gEfiCurrentTpl; in CoreInitializeImageServices()
170 Image->Info.SystemTable = gDxeCoreST; in CoreInitializeImageServices()
171 Image->Info.ImageBase = (VOID *)(UINTN)DxeCoreImageBaseAddress; in CoreInitializeImageServices()
172 Image->Info.ImageSize = DxeCoreImageLength; in CoreInitializeImageServices()
178 &Image->Handle, in CoreInitializeImageServices()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DPeLoader.c26 IN EFILDR_LOADED_IMAGE *Image,
43 IN EFILDR_LOADED_IMAGE *Image,
50 IN OUT EFILDR_LOADED_IMAGE *Image,
113 IN EFILDR_LOADED_IMAGE *Image, in EfiLdrPeCoffLoadPeImage() argument
168 Status = EfiLdrPeCoffSetImageType (Image, PeHdr.Pe32.OptionalHeader.Subsystem); in EfiLdrPeCoffLoadPeImage()
224 Image->NoPages = EFI_SIZE_TO_PAGES (CodeViewOffset + CodeViewSize); in EfiLdrPeCoffLoadPeImage()
231Image->ImageBasePage = (EFI_PHYSICAL_ADDRESS)FindSpace (Image->NoPages, NumberOfMemoryMapEntries, … in EfiLdrPeCoffLoadPeImage()
232 if (Image->ImageBasePage == 0) { in EfiLdrPeCoffLoadPeImage()
241 AsciiSPrint (PrintBuffer, 256, "LoadPe: new image base %lx\n", Image->ImageBasePage); in EfiLdrPeCoffLoadPeImage()
243 Image->Info.ImageBase = (VOID *)(UINTN)Image->ImageBasePage; in EfiLdrPeCoffLoadPeImage()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BmpImageDecoderLib/
DBmpImageDecoderLib.c52 UINT8 *Image; in BmpImageDecoderLibConvertBmpToGopBlt() local
115 Image = BmpImage; in BmpImageDecoderLibConvertBmpToGopBlt()
116 BmpColorMap = (BMP_COLOR_MAP *) (Image + sizeof (BMP_IMAGE_HEADER)); in BmpImageDecoderLibConvertBmpToGopBlt()
147 Image = ((UINT8 *) BmpImage) + BmpHeader->ImageOffset; in BmpImageDecoderLibConvertBmpToGopBlt()
148 ImageHeader = Image; in BmpImageDecoderLibConvertBmpToGopBlt()
177 for (Width = 0; Width < BmpHeader->PixelWidth; Width++, Image++, Blt++) { in BmpImageDecoderLibConvertBmpToGopBlt()
184 Blt->Red = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Red; in BmpImageDecoderLibConvertBmpToGopBlt()
185 Blt->Green = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Green; in BmpImageDecoderLibConvertBmpToGopBlt()
186 Blt->Blue = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Blue; in BmpImageDecoderLibConvertBmpToGopBlt()
199 Index = (*Image) >> 4; in BmpImageDecoderLibConvertBmpToGopBlt()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/HiiDatabaseDxe/
DImage.c257 IN OUT EFI_IMAGE_INPUT *Image, in Output1bitPixel() argument
272 ASSERT (Image != NULL && Data != NULL && PaletteInfo != NULL); in Output1bitPixel()
274 BitMapPtr = Image->Bitmap; in Output1bitPixel()
293 for (Ypos = 0; Ypos < Image->Height; Ypos++) { in Output1bitPixel()
294 OffsetY = BITMAP_LEN_1_BIT (Image->Width, Ypos); in Output1bitPixel()
298 for (Xpos = 0; Xpos < Image->Width / 8; Xpos++) { in Output1bitPixel()
302 BitMapPtr[Ypos * Image->Width + Xpos * 8 + (8 - Index - 1)] = PaletteValue[1]; in Output1bitPixel()
304 BitMapPtr[Ypos * Image->Width + Xpos * 8 + (8 - Index - 1)] = PaletteValue[0]; in Output1bitPixel()
309 if (Image->Width % 8 != 0) { in Output1bitPixel()
314 for (Index = 0; Index < Image->Width % 8; Index++) { in Output1bitPixel()
[all …]
DFont.c1583 EFI_IMAGE_OUTPUT *Image; in HiiStringToImage() local
1655 Image = AllocateZeroPool (sizeof (EFI_IMAGE_OUTPUT)); in HiiStringToImage()
1656 if (Image == NULL) { in HiiStringToImage()
1659 Image->Width = 800; in HiiStringToImage()
1660 Image->Height = 600; in HiiStringToImage()
1661Image->Image.Bitmap = AllocateZeroPool (Image->Width * Image->Height *sizeof (EFI_GRAPHICS_OUTPUT_… in HiiStringToImage()
1662 if (Image->Image.Bitmap == NULL) { in HiiStringToImage()
1663 FreePool (Image); in HiiStringToImage()
1671 *Blt = Image; in HiiStringToImage()
1830 Image = *Blt; in HiiStringToImage()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/GraphicsLite/
DGraphics.c33 OUT VOID **Image, in GetGraphicsBitMapFromFV() argument
62 return GetGraphicsBitMapFromFVEx (NULL, FileNameGuid, Image, ImageSize); in GetGraphicsBitMapFromFV()
69 OUT VOID **Image, in GetGraphicsBitMapFromFVEx() argument
106 Image, in GetGraphicsBitMapFromFVEx()
155 UINT8 *Image; in ConvertBmpToGopBlt() local
213 Image = BmpImage; in ConvertBmpToGopBlt()
214 BmpColorMap = (BMP_COLOR_MAP *) (Image + sizeof (BMP_IMAGE_HEADER)); in ConvertBmpToGopBlt()
242 Image = ((UINT8 *) BmpImage) + BmpHeader->ImageOffset; in ConvertBmpToGopBlt()
243 ImageHeader = Image; in ConvertBmpToGopBlt()
278 for (Width = 0; Width < BmpHeader->PixelWidth; Width++, Image++, Blt++) { in ConvertBmpToGopBlt()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Graphics/
DGraphics.c32 OUT VOID **Image, in GetGraphicsBitMapFromFV() argument
61 return GetGraphicsBitMapFromFVEx (NULL, FileNameGuid, Image, ImageSize); in GetGraphicsBitMapFromFV()
68 OUT VOID **Image, in GetGraphicsBitMapFromFVEx() argument
105 Image, in GetGraphicsBitMapFromFVEx()
154 UINT8 *Image; in ConvertBmpToGopBlt() local
212 Image = BmpImage; in ConvertBmpToGopBlt()
213 BmpColorMap = (BMP_COLOR_MAP *) (Image + sizeof (BMP_IMAGE_HEADER)); in ConvertBmpToGopBlt()
241 Image = ((UINT8 *) BmpImage) + BmpHeader->ImageOffset; in ConvertBmpToGopBlt()
242 ImageHeader = Image; in ConvertBmpToGopBlt()
277 for (Width = 0; Width < BmpHeader->PixelWidth; Width++, Image++, Blt++) { in ConvertBmpToGopBlt()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/
DBootLinux.c50 EFI_PHYSICAL_ADDRESS Image; in IsEfiBinary() local
87 Status = BdsLoadImage (DevicePath, AllocateAnyPages, &Image, &FileSize); in IsEfiBinary()
90 DosHeader = (EFI_IMAGE_DOS_HEADER *)(UINTN) Image; in IsEfiBinary()
104 NtHeader = (EFI_IMAGE_NT_HEADERS32 *)(UINTN) (Image + PeCoffHeaderOffset); in IsEfiBinary()
112 gBS->FreePages (Image, EFI_SIZE_TO_PAGES (FileSize)); in IsEfiBinary()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/HiiImage/
DHiiImage.h59 } Image; member
75 IN CONST EFI_IMAGE_INPUT *Image
104 OUT EFI_IMAGE_INPUT *Image
135 IN CONST EFI_IMAGE_INPUT *Image
163 IN CONST EFI_IMAGE_INPUT *Image,
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DHiiImage.h86 IN CONST EFI_IMAGE_INPUT *Image
128 OUT EFI_IMAGE_INPUT *Image
159 IN CONST EFI_IMAGE_INPUT *Image
197 } Image; member
253 IN CONST EFI_IMAGE_INPUT *Image,
DFirmwareManagement.h341 IN OUT VOID *Image,
396 IN CONST VOID *Image,
428 IN CONST VOID *Image,
511 IN CONST VOID *Image,
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsDhcp.c47 IN EFI_HANDLE Image in DnsStartIp4() argument
70 Image, in DnsStartIp4()
84 Image, in DnsStartIp4()
155 Image, in DnsStartIp4()
416 EFI_HANDLE Image; in GetDns4ServerFromDhcp4() local
436 Image = Instance->Service->ImageHandle; in GetDns4ServerFromDhcp4()
475 Status = DnsStartIp4 (Controller, Image); in GetDns4ServerFromDhcp4()
486 Image, in GetDns4ServerFromDhcp4()
498 Image, in GetDns4ServerFromDhcp4()
527 Image, in GetDns4ServerFromDhcp4()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/
DBdsConsole.c674 UINT8 *Image; in ConvertBmpToGopBlt() local
732 Image = BmpImage; in ConvertBmpToGopBlt()
733 BmpColorMap = (BMP_COLOR_MAP *) (Image + sizeof (BMP_IMAGE_HEADER)); in ConvertBmpToGopBlt()
764 Image = ((UINT8 *) BmpImage) + BmpHeader->ImageOffset; in ConvertBmpToGopBlt()
765 ImageHeader = Image; in ConvertBmpToGopBlt()
809 for (Width = 0; Width < BmpHeader->PixelWidth; Width++, Image++, Blt++) { in ConvertBmpToGopBlt()
816 Blt->Red = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Red; in ConvertBmpToGopBlt()
817 Blt->Green = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Green; in ConvertBmpToGopBlt()
818 Blt->Blue = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Blue; in ConvertBmpToGopBlt()
831 Index = (*Image) >> 4; in ConvertBmpToGopBlt()
[all …]
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/
DBdsConsole.c674 UINT8 *Image; in ConvertBmpToGopBlt() local
732 Image = BmpImage; in ConvertBmpToGopBlt()
733 BmpColorMap = (BMP_COLOR_MAP *) (Image + sizeof (BMP_IMAGE_HEADER)); in ConvertBmpToGopBlt()
764 Image = ((UINT8 *) BmpImage) + BmpHeader->ImageOffset; in ConvertBmpToGopBlt()
765 ImageHeader = Image; in ConvertBmpToGopBlt()
809 for (Width = 0; Width < BmpHeader->PixelWidth; Width++, Image++, Blt++) { in ConvertBmpToGopBlt()
816 Blt->Red = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Red; in ConvertBmpToGopBlt()
817 Blt->Green = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Green; in ConvertBmpToGopBlt()
818 Blt->Blue = BmpColorMap[((*Image) >> (7 - Index)) & 0x1].Blue; in ConvertBmpToGopBlt()
831 Index = (*Image) >> 4; in ConvertBmpToGopBlt()
[all …]
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsFilePath.c480 IN OUT EFI_PHYSICAL_ADDRESS *Image, in BdsFileSystemLoadImage() argument
534 Status = gBS->AllocatePages (Type, EfiBootServicesCode, EFI_SIZE_TO_PAGES(Size), Image); in BdsFileSystemLoadImage()
537 …tatus = gBS->AllocatePages (AllocateAnyPages, EfiBootServicesCode, EFI_SIZE_TO_PAGES(Size), Image); in BdsFileSystemLoadImage()
540 Status = File->Read (File, &Size, (VOID*)(UINTN)(*Image)); in BdsFileSystemLoadImage()
573 IN OUT EFI_PHYSICAL_ADDRESS* Image, in BdsMemoryMapLoadImage() argument
593 Status = gBS->AllocatePages (Type, EfiBootServicesCode, EFI_SIZE_TO_PAGES(Size), Image); in BdsMemoryMapLoadImage()
596 …tatus = gBS->AllocatePages (AllocateAnyPages, EfiBootServicesCode, EFI_SIZE_TO_PAGES(Size), Image); in BdsMemoryMapLoadImage()
599 … CopyMem ((VOID*)(UINTN)(*Image), (CONST VOID*)(UINTN)MemMapPathDevicePath->StartingAddress, Size); in BdsMemoryMapLoadImage()
625 IN OUT EFI_PHYSICAL_ADDRESS* Image, in BdsFirmwareVolumeLoadImage() argument
678 … Status = gBS->AllocatePages (Type, EfiBootServicesCode, EFI_SIZE_TO_PAGES(*ImageSize),Image); in BdsFirmwareVolumeLoadImage()
[all …]
DBdsInternal.h82 IN OUT EFI_PHYSICAL_ADDRESS* Image,
107 IN OUT EFI_PHYSICAL_ADDRESS* Image,
/device/linaro/bootloader/edk2/MdeModulePkg/Library/ImageDecoderLib/
DImageDecoderLib.c56 IN UINT8 *Image, in DecodeImage() argument
72 if ((Image == NULL) || (ImageSize == 0)) { in DecodeImage()
81 …Status = Entry->Decoder (ImageFormat, Image, ImageSize, GopBlt, GopBltSize, PixelWidth, PixelHeigh… in DecodeImage()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiTcp4Io.c46 IN EFI_HANDLE Image, in Tcp4IoCreateSocket() argument
70 Image, in Tcp4IoCreateSocket()
82 Image, in Tcp4IoCreateSocket()
90 Tcp4Io->Image = Image; in Tcp4IoCreateSocket()
217 Image, in Tcp4IoCreateSocket()
224 Image, in Tcp4IoCreateSocket()
255 Tcp4Io->Image, in Tcp4IoDestroySocket()
261 Tcp4Io->Image, in Tcp4IoDestroySocket()
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/
DArmVExpressFastBoot.c311 IN VOID *Image in ArmFastbootPlatformFlashPartition() argument
358 SparseHeader=(SPARSE_HEADER *)Image; in ArmFastbootPlatformFlashPartition()
396 Image += SparseHeader->FileHeaderSize; in ArmFastbootPlatformFlashPartition()
399 ChunkHeader = (CHUNK_HEADER *)Image; in ArmFastbootPlatformFlashPartition()
403 Image += sizeof(CHUNK_HEADER); in ArmFastbootPlatformFlashPartition()
408 Status = DiskIo->WriteDisk (DiskIo, MediaId, Offset, WriteSize, Image); in ArmFastbootPlatformFlashPartition()
412 Image+=WriteSize; in ArmFastbootPlatformFlashPartition()
425 Status = DiskIo->WriteDisk (DiskIo, MediaId, 0, Size, Image); in ArmFastbootPlatformFlashPartition()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeDeferImageLoadLib/
DDxeDeferImageLoadLib.h54 VOID *Image; member
100 OUT VOID **Image,
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/
DHiKeyFastboot.c364 IN VOID *Image in HiKeyFastbootPlatformFlashPartition() argument
413 SparseHeader=(SPARSE_HEADER *)Image; in HiKeyFastbootPlatformFlashPartition()
455 Image += SparseHeader->FileHeaderSize; in HiKeyFastbootPlatformFlashPartition()
458 ChunkHeader = (CHUNK_HEADER *)Image; in HiKeyFastbootPlatformFlashPartition()
475 Image += sizeof(CHUNK_HEADER); in HiKeyFastbootPlatformFlashPartition()
480 Status = DiskIo->WriteDisk (DiskIo, MediaId, Offset, WriteSize, Image); in HiKeyFastbootPlatformFlashPartition()
484 Image+=WriteSize; in HiKeyFastbootPlatformFlashPartition()
488 FillVal = (UINT32 *)Image; in HiKeyFastbootPlatformFlashPartition()
489 Image += sizeof(UINT32); in HiKeyFastbootPlatformFlashPartition()
524 Buffer = Image; in HiKeyFastbootPlatformFlashPartition()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/
DBootGraphicsResourceTableDxe.c283 UINT8 *Image; in InstallBootGraphicsResourceTable() local
375 Image = ImageBuffer + sizeof (BMP_IMAGE_HEADER); in InstallBootGraphicsResourceTable()
380 *Image++ = BltPixel->Blue; in InstallBootGraphicsResourceTable()
381 *Image++ = BltPixel->Green; in InstallBootGraphicsResourceTable()
382 *Image++ = BltPixel->Red; in InstallBootGraphicsResourceTable()
389 Image += PaddingSize; in InstallBootGraphicsResourceTable()
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootSupport.c374 Private->Image, in HttpBootDns()
386 Private->Image, in HttpBootDns()
476 Private->Image, in HttpBootDns()
484 Private->Image, in HttpBootDns()
681 IN EFI_HANDLE Image, in HttpIoCreateIo() argument
695 if ((Image == NULL) || (Controller == NULL) || (ConfigData == NULL) || (HttpIo == NULL)) { in HttpIoCreateIo()
710 Image, in HttpIoCreateIo()
722 Image, in HttpIoCreateIo()
733 HttpIo->Image = Image; in HttpIoCreateIo()
832 HttpIo->Image, in HttpIoDestroyIo()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
DImageDecoderLib.h23 IN UINT8 *Image,
53 IN UINT8 *Image,
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/
DBmPerformance.c94 EFI_LOADED_IMAGE_PROTOCOL *Image; in BmGetNameFromHandle() local
106 (VOID **) &Image in BmGetNameFromHandle()
127 (VOID **) &Image in BmGetNameFromHandle()
131 PdbFileName = PeCoffLoaderGetPdbPointer (Image->ImageBase); in BmGetNameFromHandle()

123456789