/device/linaro/bootloader/edk2/ArmPlatformPkg/Bds/ |
D | BootLinux.c | 53 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/ |
D | MeasureBootPeCoff.c | 59 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/ |
D | MeasureBootPeCoff.c | 59 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/ |
D | DxeTpmMeasureBootLib.c | 313 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/ |
D | BasePeCoff.c | 131 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/ |
D | BasePeCoff.c | 91 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/ |
D | PeiPeCoffLoader.h | 62 UINT32 PeCoffHeaderOffset; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/ |
D | PeCoffLoader.c | 199 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/ |
D | BasePeCoff.c | 123 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()
|
D | PeCoffLib.h | 59 UINT32 PeCoffHeaderOffset; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | PeCoffLib.h | 128 UINT32 PeCoffHeaderOffset; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
D | EdkIIGluePeCoffLib.h | 79 UINT32 PeCoffHeaderOffset; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
D | PropertiesTable.c | 1047 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/ |
D | Image.c | 244 …I_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffHeaderOffset); in GetPeCoffImageFixLoadingAssignedAddress() 254 ImageContext->PeCoffHeaderOffset + in GetPeCoffImageFixLoadingAssignedAddress()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | Dispatcher.c | 236 …I_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffHeaderOffset); in GetPeCoffImageFixLoadingAssignedAddress() 238 ImageContext->PeCoffHeaderOffset + in GetPeCoffImageFixLoadingAssignedAddress()
|
D | PiSmmIpl.c | 802 …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/ |
D | Image.c | 366 … = (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/ |
D | GenFw.c | 874 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/ |
D | GenFvInternalLib.c | 811 …AGE_OPTIONAL_HEADER_UNION *) ((UINT8 *) pImageContext->Handle + pImageContext->PeCoffHeaderOffset); in WriteMapFile() 3180 …UNION *)((UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSize + ImageContext.PeCoffHeaderOffset); in FfsRebase()
|