/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
D | Elf64Convert.c | 334 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in ScanSections64() 538 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(mCoffFile + mNtHdrOffset); in ScanSections64() 954 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in WriteRelocations64() 1051 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(mCoffFile + mNtHdrOffset); in WriteRelocations64() 1074 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in WriteDebug64() 1092 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(mCoffFile + mNtHdrOffset); in WriteDebug64() 1104 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in SetImageSize64() 1109 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(mCoffFile + mNtHdrOffset); in SetImageSize64()
|
D | Elf32Convert.c | 342 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in ScanSections32() 546 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(mCoffFile + mNtHdrOffset); in ScanSections32() 876 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in WriteRelocations32() 1097 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(mCoffFile + mNtHdrOffset); in WriteRelocations32() 1121 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in WriteDebug32() 1139 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(mCoffFile + mNtHdrOffset); in WriteDebug32() 1151 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in SetImageSize32() 1156 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(mCoffFile + mNtHdrOffset); in SetImageSize32()
|
D | GenFw.c | 506 EFI_IMAGE_OPTIONAL_HEADER_UNION * 512 EFI_IMAGE_OPTIONAL_HEADER_UNION *PeHdr; in GetPeCoffHeader() 520 PeHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(Data); in GetPeCoffHeader() 526 PeHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(((UINT8 *)Data) + DosHdr->e_lfanew); in GetPeCoffHeader() 541 EFI_IMAGE_OPTIONAL_HEADER_UNION *PeHdr; in PeCoffConvertImageToXip() 542 EFI_IMAGE_OPTIONAL_HEADER_UNION *NewPeHdr; in PeCoffConvertImageToXip() 859 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in SetAddressToSectionHeader() 882 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + ImageContext.PeCoffHeaderOffset); in SetAddressToSectionHeader() 938 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in RebaseImage() 962 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + ImageContext.PeCoffHeaderOffset); in RebaseImage() [all …]
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | BasePeCoff.c | 32 OUT EFI_IMAGE_OPTIONAL_HEADER_UNION **PeHdr, 40 IN EFI_IMAGE_OPTIONAL_HEADER_UNION *PeHdr, 79 OUT EFI_IMAGE_OPTIONAL_HEADER_UNION **PeHdr, in PeCoffLoaderGetPeHeader() 133 …*PeHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *) ((UINTN)ImageContext->Handle + ImageContext->PeCoffHe… in PeCoffLoaderGetPeHeader() 152 IN EFI_IMAGE_OPTIONAL_HEADER_UNION *PeHdr, in PeCoffLoaderCheckImageType() 263 EFI_IMAGE_OPTIONAL_HEADER_UNION *PeHdr; in PeCoffLoaderGetImageInfo() 594 EFI_IMAGE_OPTIONAL_HEADER_UNION *PeHdr; in PeCoffLoaderRelocateImage() 632 PeHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)((UINTN)ImageContext->ImageAddress + in PeCoffLoaderRelocateImage() 874 EFI_IMAGE_OPTIONAL_HEADER_UNION *PeHdr; in PeCoffLoaderLoadImage() 960 PeHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *) in PeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
D | EfiImage.h | 697 } EFI_IMAGE_OPTIONAL_HEADER_UNION; typedef 703 EFI_IMAGE_OPTIONAL_HEADER_UNION *Union;
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | PeImage.h | 747 } EFI_IMAGE_OPTIONAL_HEADER_UNION; typedef 753 EFI_IMAGE_OPTIONAL_HEADER_UNION *Union;
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/ |
D | PeImage.h | 760 } EFI_IMAGE_OPTIONAL_HEADER_UNION; typedef 766 EFI_IMAGE_OPTIONAL_HEADER_UNION *Union;
|
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/ |
D | PeLoader.c | 68 EFI_IMAGE_OPTIONAL_HEADER_UNION PeHdr; in EfiLdrGetPeImageInfo() 119 EFI_IMAGE_OPTIONAL_HEADER_UNION PeHdr; in EfiLdrPeCoffLoadPeImage()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/ |
D | DebugAgentSymbolsBaseLib.c | 198 EfiImage = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(Section + 1); in GetImageContext()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/ |
D | VolInfo.c | 1411 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in SetAddressToSectionHeader() 1434 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + ImageContext.PeCoffHeaderOffset); in SetAddressToSectionHeader() 1490 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in RebaseImage() 1514 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + ImageContext.PeCoffHeaderOffset); in RebaseImage()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/ |
D | Image.c | 230 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in GetPeCoffImageFixLoadingAssignedAddress() 244 …ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffH… in GetPeCoffImageFixLoadingAssignedAddress()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/UefiBootManagerLib/ |
D | BmLoadOption.c | 1184 EFI_IMAGE_OPTIONAL_HEADER_UNION *PeHeader; in BmIsLoadOptionPeHeaderValid() 1202 PeHeader = (EFI_IMAGE_OPTIONAL_HEADER_UNION *) ((UINT8 *) FileBuffer + DosHeader->e_lfanew); in BmIsLoadOptionPeHeaderValid() 1203 if (FileSize >= DosHeader->e_lfanew + sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION) && in BmIsLoadOptionPeHeaderValid()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/ |
D | GenFvInternalLib.c | 751 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in WriteMapFile() 815 …ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *) ((UINT8 *) pImageContext->Handle + pImageContext->PeC… in WriteMapFile() 2316 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in GetPe32Info() 2355 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *) ((UINTN) Pe32 + DosHeader->e_lfanew); in GetPe32Info() 3342 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in FfsRebase() 3456 …ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)((UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSiz… in FfsRebase()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | BdsMisc.c | 1272 BufferSize = sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION); in BdsLibGetImageHeader() 1275 BufferSize < sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION) || in BdsLibGetImageHeader()
|
D | BdsBoot.c | 3135 EFI_IMAGE_OPTIONAL_HEADER_UNION HdrData; in BdsLibEnumerateAllBootOption() 3603 EFI_IMAGE_OPTIONAL_HEADER_UNION HdrData; in BdsLibGetBootableHandle()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | Dispatcher.c | 223 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in GetPeCoffImageFixLoadingAssignedAddress() 236 …ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffH… in GetPeCoffImageFixLoadingAssignedAddress()
|
D | PiSmmIpl.c | 829 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in GetPeCoffImageFixLoadingAssignedAddress() 848 …ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffH… in GetPeCoffImageFixLoadingAssignedAddress()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Override/IntelFrameworkModulePkg/Library/GenericBdsLib/ |
D | BdsMisc.c | 1264 BufferSize = sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION); in BdsLibGetImageHeader() 1267 BufferSize < sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION) || in BdsLibGetImageHeader()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 106 Size = sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION); in GluePeCoffLoaderGetPeHeader() 201 EFI_IMAGE_OPTIONAL_HEADER_UNION HdrData; in GluePeCoffLoaderGetImageInfo()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | PeCoffLoader.c | 214 Size = sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION); in PeCoffLoaderGetPeHeader() 367 EFI_IMAGE_OPTIONAL_HEADER_UNION HdrData; in PeCoffLoaderGetImageInfo()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/ |
D | EdbSymbol.c | 766 EFI_IMAGE_OPTIONAL_HEADER_UNION *NtHdr; in GetPdbPath() 786 NtHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *) ((UINT8 *) DosHdr + DosHdr->e_lfanew); in GetPdbPath()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Image/ |
D | Image.c | 352 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in GetPeCoffImageFixLoadingAssignedAddress() 366 …ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )Handle->Source + ImageContext->PeCoffHeaderO… in GetPeCoffImageFixLoadingAssignedAddress()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/ |
D | BootOption.c | 1217 EFI_IMAGE_OPTIONAL_HEADER_UNION PeHdr; in BOpt_IsEfiApp() 1233 BufferSize = sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION); in BOpt_IsEfiApp()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/ |
D | BasePeCoff.c | 146 Size = sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION); in PeCoffLoaderGetPeHeader() 596 EFI_IMAGE_OPTIONAL_HEADER_UNION HdrData; in PeCoffLoaderGetImageInfo()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/EfiRom/ |
D | EfiRom.c | 789 EFI_IMAGE_OPTIONAL_HEADER_UNION PeHdr; in CheckPE32File()
|