Home
last modified time | relevance | path

Searched refs:PeCoffHeaderOffset (Results 1 – 19 of 19) sorted by relevance

/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/
DBootLinux.c53 UINTN PeCoffHeaderOffset; in IsEfiBinary() local
96 PeCoffHeaderOffset = DosHeader->e_lfanew; in IsEfiBinary()
98 PeCoffHeaderOffset = 0; in IsEfiBinary()
104 NtHeader = (EFI_IMAGE_NT_HEADERS32 *)(UINTN) (Image + PeCoffHeaderOffset); in IsEfiBinary()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
DMeasureBootPeCoff.c59 UINT32 PeCoffHeaderOffset; in MeasurePeImageAndExtend() local
82 PeCoffHeaderOffset = 0; in MeasurePeImageAndExtend()
84 PeCoffHeaderOffset = DosHdr->e_lfanew; in MeasurePeImageAndExtend()
87 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in MeasurePeImageAndExtend()
267 PeCoffHeaderOffset + in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
DMeasureBootPeCoff.c59 UINT32 PeCoffHeaderOffset; in MeasurePeImageAndExtend() local
82 PeCoffHeaderOffset = 0; in MeasurePeImageAndExtend()
84 PeCoffHeaderOffset = DosHdr->e_lfanew; in MeasurePeImageAndExtend()
87 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in MeasurePeImageAndExtend()
267 PeCoffHeaderOffset + in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DDxeTpmMeasureBootLib.c313 UINT32 PeCoffHeaderOffset; in TcgMeasurePeImage() local
382 PeCoffHeaderOffset = 0; in TcgMeasurePeImage()
384 PeCoffHeaderOffset = DosHdr->e_lfanew; in TcgMeasurePeImage()
387 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in TcgMeasurePeImage()
572 PeCoffHeaderOffset + in TcgMeasurePeImage()
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
DBasePeCoff.c131 ImageContext->PeCoffHeaderOffset = 0; in PeCoffLoaderGetPeHeader()
137 ImageContext->PeCoffHeaderOffset = DosHdr.e_lfanew; in PeCoffLoaderGetPeHeader()
150 ImageContext->PeCoffHeaderOffset, in PeCoffLoaderGetPeHeader()
248 …SectionHeaderOffset = ImageContext->PeCoffHeaderOffset + sizeof (UINT32) + sizeof (EFI_IMAGE_FILE_… in PeCoffLoaderGetPeHeader()
362 …SectionHeaderOffset = ImageContext->PeCoffHeaderOffset + sizeof (UINT32) + sizeof (EFI_IMAGE_FILE_… in PeCoffLoaderGetPeHeader()
481 …SectionHeaderOffset = ImageContext->PeCoffHeaderOffset + sizeof (UINT32) + sizeof (EFI_IMAGE_FILE_… in PeCoffLoaderGetPeHeader()
707 ImageContext->PeCoffHeaderOffset + in PeCoffLoaderGetImageInfo()
988 …= (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHeaderOffset); in PeCoffLoaderRelocateImage()
1319 …= (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHeaderOffset); in PeCoffLoaderLoadImage()
1323 ImageContext->PeCoffHeaderOffset + in PeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/
DBasePeCoff.c91 ImageContext->PeCoffHeaderOffset = 0; in GluePeCoffLoaderGetPeHeader()
97 ImageContext->PeCoffHeaderOffset = DosHdr.e_lfanew; in GluePeCoffLoaderGetPeHeader()
109 ImageContext->PeCoffHeaderOffset, in GluePeCoffLoaderGetPeHeader()
305 ImageContext->PeCoffHeaderOffset + in GluePeCoffLoaderGetImageInfo()
553 …= (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHeaderOffset); in GluePeCoffLoaderRelocateImage()
857 …= (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHeaderOffset); in GluePeCoffLoaderLoadImage()
861 ImageContext->PeCoffHeaderOffset + in GluePeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Guid/PeiPeCoffLoader/
DPeiPeCoffLoader.h62 UINT32 PeCoffHeaderOffset; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DPeCoffLoader.c199 ImageContext->PeCoffHeaderOffset = 0; in PeCoffLoaderGetPeHeader()
205 ImageContext->PeCoffHeaderOffset = DosHdr.e_lfanew; in PeCoffLoaderGetPeHeader()
217 ImageContext->PeCoffHeaderOffset, in PeCoffLoaderGetPeHeader()
502 ImageContext->PeCoffHeaderOffset + in PeCoffLoaderGetImageInfo()
747 …= (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHeaderOffset); in PeCoffLoaderRelocateImage()
1103 …= (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHeaderOffset); in PeCoffLoaderLoadImage()
1107 ImageContext->PeCoffHeaderOffset + in PeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DBasePeCoff.c123 ImageContext->PeCoffHeaderOffset = 0; in PeCoffLoaderGetPeHeader()
128 ImageContext->PeCoffHeaderOffset = DosHdr.e_lfanew; in PeCoffLoaderGetPeHeader()
133 …FI_IMAGE_OPTIONAL_HEADER_UNION *) ((UINTN)ImageContext->Handle + ImageContext->PeCoffHeaderOffset); in PeCoffLoaderGetPeHeader()
384 ImageContext->PeCoffHeaderOffset + in PeCoffLoaderGetImageInfo()
633 ImageContext->PeCoffHeaderOffset); in PeCoffLoaderRelocateImage()
935 ((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHeaderOffset); in PeCoffLoaderLoadImage()
941 ImageContext->PeCoffHeaderOffset + in PeCoffLoaderLoadImage()
DPeCoffLib.h59 UINT32 PeCoffHeaderOffset; member
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DPeCoffLib.h128 UINT32 PeCoffHeaderOffset; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/
DEdkIIGluePeCoffLib.h79 UINT32 PeCoffHeaderOffset; member
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/
DPropertiesTable.c1047 UINT32 PeCoffHeaderOffset; in InsertImageRecord() local
1086 PeCoffHeaderOffset = 0; in InsertImageRecord()
1088 PeCoffHeaderOffset = DosHdr->e_lfanew; in InsertImageRecord()
1091 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in InsertImageRecord()
1134 PeCoffHeaderOffset + in InsertImageRecord()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/
DImage.c244 …I_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffHeaderOffset); in GetPeCoffImageFixLoadingAssignedAddress()
254 ImageContext->PeCoffHeaderOffset + in GetPeCoffImageFixLoadingAssignedAddress()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DDispatcher.c236 …I_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffHeaderOffset); in GetPeCoffImageFixLoadingAssignedAddress()
238 ImageContext->PeCoffHeaderOffset + in GetPeCoffImageFixLoadingAssignedAddress()
DPiSmmIpl.c802 …I_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffHeaderOffset); in GetPeCoffImageFixLoadingAssignedAddress()
804 ImageContext->PeCoffHeaderOffset + in GetPeCoffImageFixLoadingAssignedAddress()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Image/
DImage.c366 … = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )Handle->Source + ImageContext->PeCoffHeaderOffset); in GetPeCoffImageFixLoadingAssignedAddress()
368 ImageContext->PeCoffHeaderOffset + in GetPeCoffImageFixLoadingAssignedAddress()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DGenFw.c874 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + ImageContext.PeCoffHeaderOffset); in SetAddressToSectionHeader()
961 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + ImageContext.PeCoffHeaderOffset); in RebaseImage()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/
DGenFvInternalLib.c811 …AGE_OPTIONAL_HEADER_UNION *) ((UINT8 *) pImageContext->Handle + pImageContext->PeCoffHeaderOffset); in WriteMapFile()
3180 …UNION *)((UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSize + ImageContext.PeCoffHeaderOffset); in FfsRebase()