Home
last modified time | relevance | path

Searched refs:EFI_IMAGE_OPTIONAL_HEADER_UNION (Results 1 – 25 of 27) sorted by relevance

12

/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DElf64Convert.c334 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()
DElf32Convert.c342 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()
DGenFw.c506 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/
DBasePeCoff.c32 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/
DEfiImage.h697 } EFI_IMAGE_OPTIONAL_HEADER_UNION; typedef
703 EFI_IMAGE_OPTIONAL_HEADER_UNION *Union;
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPeImage.h747 } EFI_IMAGE_OPTIONAL_HEADER_UNION; typedef
753 EFI_IMAGE_OPTIONAL_HEADER_UNION *Union;
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DPeImage.h760 } EFI_IMAGE_OPTIONAL_HEADER_UNION; typedef
766 EFI_IMAGE_OPTIONAL_HEADER_UNION *Union;
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DPeLoader.c68 EFI_IMAGE_OPTIONAL_HEADER_UNION PeHdr; in EfiLdrGetPeImageInfo()
119 EFI_IMAGE_OPTIONAL_HEADER_UNION PeHdr; in EfiLdrPeCoffLoadPeImage()
/device/linaro/bootloader/edk2/ArmPkg/Library/DebugAgentSymbolsBaseLib/
DDebugAgentSymbolsBaseLib.c198 EfiImage = (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(Section + 1); in GetImageContext()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/
DVolInfo.c1411 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/
DImage.c230 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/
DBmLoadOption.c1184 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/
DGenFvInternalLib.c751 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/
DBdsMisc.c1272 BufferSize = sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION); in BdsLibGetImageHeader()
1275 BufferSize < sizeof (EFI_IMAGE_OPTIONAL_HEADER_UNION) || in BdsLibGetImageHeader()
DBdsBoot.c3135 EFI_IMAGE_OPTIONAL_HEADER_UNION HdrData; in BdsLibEnumerateAllBootOption()
3603 EFI_IMAGE_OPTIONAL_HEADER_UNION HdrData; in BdsLibGetBootableHandle()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DDispatcher.c223 EFI_IMAGE_OPTIONAL_HEADER_UNION *ImgHdr; in GetPeCoffImageFixLoadingAssignedAddress()
236 …ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffH… in GetPeCoffImageFixLoadingAssignedAddress()
DPiSmmIpl.c829 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/
DBdsMisc.c1264 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/
DBasePeCoff.c106 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/
DPeCoffLoader.c214 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/
DEdbSymbol.c766 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/
DImage.c352 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/
DBootOption.c1217 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/
DBasePeCoff.c146 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/
DEfiRom.c789 EFI_IMAGE_OPTIONAL_HEADER_UNION PeHdr; in CheckPE32File()

12