Home
last modified time | relevance | path

Searched refs:ImageBuffer (Results 1 – 20 of 20) sorted by relevance

/device/linaro/bootloader/edk2/MdePkg/Library/DxeServicesLib/
DDxeServicesLib.c617 UINT8 *ImageBuffer; in GetFileBufferByFilePath() local
644 ImageBuffer = NULL; in GetFileBufferByFilePath()
676 ImageBuffer = NULL; in GetFileBufferByFilePath()
682 (VOID **)&ImageBuffer, in GetFileBufferByFilePath()
690 if (ImageBuffer != NULL) { in GetFileBufferByFilePath()
691 FreePool (ImageBuffer); in GetFileBufferByFilePath()
694 ImageBuffer = NULL; in GetFileBufferByFilePath()
698 (VOID **)&ImageBuffer, in GetFileBufferByFilePath()
804 ImageBuffer = AllocatePool ((UINTN)FileInfo->FileSize); in GetFileBufferByFilePath()
805 if (ImageBuffer == NULL) { in GetFileBufferByFilePath()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Compatibility/SmmBaseHelper/
DSmramProfileRecord.c70 IN PHYSICAL_ADDRESS ImageBuffer, in RegisterSmramProfileImage() argument
101 CommRegisterImage->ImageBuffer = ImageBuffer; in RegisterSmramProfileImage()
129 IN PHYSICAL_ADDRESS ImageBuffer, in UnregisterSmramProfileImage() argument
160 CommUnregisterImage->ImageBuffer = ImageBuffer; in UnregisterSmramProfileImage()
DSmmBaseHelper.c61 IN PHYSICAL_ADDRESS ImageBuffer,
79 IN PHYSICAL_ADDRESS ImageBuffer,
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/UpdateDriverDxe/
DUpdateDriver.h127 IN UINT8 *ImageBuffer,
153 IN UINT8 *ImageBuffer,
179 IN UINT8 *ImageBuffer,
205 IN UINT8 *ImageBuffer,
DFlashUpdate.c324 IN UINT8 *ImageBuffer, in FaultTolerantUpdateOnWholeFv() argument
451 UpdateBuffer = ImageBuffer; in FaultTolerantUpdateOnWholeFv()
528 IN UINT8 *ImageBuffer, in NonFaultTolerantUpdateOnWholeFv() argument
547 UpdateBuffer = ImageBuffer; in NonFaultTolerantUpdateOnWholeFv()
601 IN UINT8 *ImageBuffer, in PerformUpdateOnWholeFv() argument
665 ImageBuffer, in PerformUpdateOnWholeFv()
674 ImageBuffer, in PerformUpdateOnWholeFv()
721 IN UINT8 *ImageBuffer, in PerformUpdateOnFvFile() argument
772 FileData.Buffer = ImageBuffer; in PerformUpdateOnFvFile()
804 IN UINT8 *ImageBuffer, in FaultTolerantUpdateOnPartFv() argument
[all …]
DUpdateDispatcher.c39 IN UINT8 *ImageBuffer, in PerformUpdateOnFirmwareVolume() argument
128 ImageBuffer, in PerformUpdateOnFirmwareVolume()
137 ImageBuffer, in PerformUpdateOnFirmwareVolume()
166 IN UINT8 *ImageBuffer, in PerformUpdateOnFlashArea() argument
187 PtrImage = ImageBuffer; in PerformUpdateOnFlashArea()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DLoadPciRom.c222 VOID *ImageBuffer; in LoadEfiDriversFromRomImage() local
274 ImageBuffer = (VOID *) (UINTN) (RomBarOffset + ImageOffset); in LoadEfiDriversFromRomImage()
295 ImageBuffer, in LoadEfiDriversFromRomImage()
302 if (ImageBuffer != NULL) { in LoadEfiDriversFromRomImage()
307 ImageBuffer, in LoadEfiDriversFromRomImage()
315 ImageBuffer = DecompressedImageBuffer; in LoadEfiDriversFromRomImage()
338 ImageBuffer, in LoadEfiDriversFromRomImage()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Acpi/BootGraphicsResourceTableDxe/
DBootGraphicsResourceTableDxe.c279 UINT8 *ImageBuffer; in InstallBootGraphicsResourceTable() local
361 ImageBuffer = BgrtAllocateBsDataMemoryBelow4G (BmpSize); in InstallBootGraphicsResourceTable()
362 if (ImageBuffer == NULL) { in InstallBootGraphicsResourceTable()
370 CopyMem (ImageBuffer, &mBmpImageHeaderTemplate, sizeof (BMP_IMAGE_HEADER)); in InstallBootGraphicsResourceTable()
375 Image = ImageBuffer + sizeof (BMP_IMAGE_HEADER); in InstallBootGraphicsResourceTable()
394 mBootGraphicsResourceTableTemplate.ImageAddress = (UINT64) (UINTN) ImageBuffer; in InstallBootGraphicsResourceTable()
/device/linaro/bootloader/edk2/DuetPkg/PciBusNoEnumerationDxe/
DPciRomTable.c132 VOID *ImageBuffer; in PciRomLoadEfiDriversFromRomImage() local
191 ImageBuffer = (VOID *) (UINTN) (RomBarOffset + ImageOffset); in PciRomLoadEfiDriversFromRomImage()
211 ImageBuffer, in PciRomLoadEfiDriversFromRomImage()
224 ImageBuffer, in PciRomLoadEfiDriversFromRomImage()
232 ImageBuffer = DecompressedImageBuffer; in PciRomLoadEfiDriversFromRomImage()
257 ImageBuffer, in PciRomLoadEfiDriversFromRomImage()
DPciOptionRomSupport.c427 VOID *ImageBuffer; in ProcessOpRomImage() local
471 ImageBuffer = (VOID *) (RomBarOffset + ImageOffset); in ProcessOpRomImage()
491 ImageBuffer, in ProcessOpRomImage()
504 ImageBuffer, in ProcessOpRomImage()
512 ImageBuffer = DecompressedImageBuffer; in ProcessOpRomImage()
532 ImageBuffer, in ProcessOpRomImage()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/AutoGen/
DGenC.py1638 ImageBuffer = pack('x')
1672 ImageBuffer += DuplicateBlock
1704 ImageBuffer += TempBuffer
1715 ImageBuffer += ImageEnd
1717 if len(ImageBuffer) > 1:
1720 … PaletteInfoOffset = 12 + len(ImageBuffer) - 1 # -1 is for the first empty pad byte of ImageBuffer
1725 … PACKAGE_HEADER_Length = 4 + 4 + 4 + len(ImageBuffer) - 1 + 2 + len(PaletteBuffer) - 1
1727 PACKAGE_HEADER_Length = 4 + 4 + 4 + len(ImageBuffer) - 1
1738 if len(ImageBuffer) > 1 :
1739 IdfGenBinBuffer.write(ImageBuffer[1:])
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciBusDxe/
DPciOptionRomSupport.c50 UINT8 *ImageBuffer; in LocalLoadFile2() local
95 ImageBuffer = (UINT8 *) EfiRomHeader + EfiRomHeader->EfiImageHeaderOffset; in LocalLoadFile2()
108 CopyMem (Buffer, ImageBuffer, ImageLength); in LocalLoadFile2()
121 ImageBuffer, in LocalLoadFile2()
143 ImageBuffer, in LocalLoadFile2()
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Guid/
DMemoryProfile.h447 PHYSICAL_ADDRESS ImageBuffer; member
454 PHYSICAL_ADDRESS ImageBuffer; member
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DSmramProfileRecord.c800 DriverEntry->ImageBuffer, in RegisterSmramProfileImage()
826 DriverEntry->ImageBuffer, in RegisterSmramProfileImage()
829 InternalPeCoffGetSubsystem ((VOID *) (UINTN) DriverEntry->ImageBuffer), in RegisterSmramProfileImage()
955 DriverEntry->ImageBuffer, in UnregisterSmramProfileImage()
979 ImageAddress = DriverEntry->ImageBuffer; in UnregisterSmramProfileImage()
1995 DriverEntry.ImageBuffer = ImageBase; in SmramProfileProtocolRegisterImage()
1997 …Status = InternalPeCoffGetEntryPoint ((VOID *) (UINTN) DriverEntry.ImageBuffer, &EntryPointInImage… in SmramProfileProtocolRegisterImage()
2037 DriverEntry.ImageBuffer = ImageBase; in SmramProfileProtocolUnregisterImage()
2039 …Status = InternalPeCoffGetEntryPoint ((VOID *) (UINTN) DriverEntry.ImageBuffer, &EntryPointInImage… in SmramProfileProtocolUnregisterImage()
2287 DriverEntry.ImageBuffer = SmramProfileParameterRegisterImage->ImageBuffer; in SmramProfileHandlerRegisterImage()
[all …]
DMemoryAttributesTable.c1066 …DEBUG ((DEBUG_VERBOSE, "SMM InsertImageRecord - 0x%016lx - 0x%08x\n", DriverEntry->ImageBuffer, Dr… in SmmInsertImageRecord()
1079 ImageRecord->ImageBase = DriverEntry->ImageBuffer; in SmmInsertImageRecord()
1082 ImageAddress = (VOID *)(UINTN)DriverEntry->ImageBuffer; in SmmInsertImageRecord()
1282 …DEBUG ((DEBUG_VERBOSE, "SMM RemoveImageRecord - 0x%016lx - 0x%016lx\n", DriverEntry->ImageBuffer, … in SmmRemoveImageRecord()
1284 …ImageRecord = FindImageRecord (DriverEntry->ImageBuffer, EfiPagesToSize(DriverEntry->NumberOfPage)… in SmmRemoveImageRecord()
1459 DriverEntry.ImageBuffer = (UINTN)LoadedImage->ImageBase; in SmmInstallImageRecord()
DDispatcher.c558 DriverEntry->ImageBuffer = DstBuffer; in SmmLoadImage()
601 DriverEntry->LoadedImage->ImageBase = (VOID *)(UINTN)DriverEntry->ImageBuffer; in SmmLoadImage()
620 DriverEntry->SmmLoadedImage.ImageBase = (VOID *)(UINTN)DriverEntry->ImageBuffer; in SmmLoadImage()
919 SmmFreePages(DriverEntry->ImageBuffer, DriverEntry->NumberOfPage); in SmmDispatcher()
DPiSmmCore.c594 mSmmCoreDriverEntry->ImageBuffer = gSmmCorePrivate->PiSmmCoreImageBase; in SmmCoreInstallLoadedImage()
DPiSmmCore.h109 PHYSICAL_ADDRESS ImageBuffer; member
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsFilePath.c630 VOID* ImageBuffer; in BdsFirmwareVolumeLoadImage() local
647 ImageBuffer = NULL; in BdsFirmwareVolumeLoadImage()
653 &ImageBuffer, in BdsFirmwareVolumeLoadImage()
663 CopyMem ((VOID*)(UINTN)(*Image), ImageBuffer, *ImageSize); in BdsFirmwareVolumeLoadImage()
664 FreePool (ImageBuffer); in BdsFirmwareVolumeLoadImage()
675 CopyMem ((VOID*)(UINTN)(*Image), ImageBuffer, *ImageSize); in BdsFirmwareVolumeLoadImage()
676 FreePool (ImageBuffer); in BdsFirmwareVolumeLoadImage()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeCapsuleLibFmp/
DDxeCapsuleLib.c1141 IN VOID *ImageBuffer, in StartFmpImage() argument
1155 MemMapNode.StartingAddress = (EFI_PHYSICAL_ADDRESS)(UINTN)ImageBuffer; in StartFmpImage()
1156 MemMapNode.EndingAddress = (EFI_PHYSICAL_ADDRESS)(UINTN)((UINT8 *)ImageBuffer + ImageSize - 1); in StartFmpImage()
1168 ImageBuffer, in StartFmpImage()