/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/ |
D | MeasureBootPeCoff.c | 111 UINT32 PeCoffHeaderOffset; in MeasurePeImageAndExtend() local 152 PeCoffHeaderOffset = 0; in MeasurePeImageAndExtend() 154 PeCoffHeaderOffset = DosHdr->e_lfanew; in MeasurePeImageAndExtend() 157 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in MeasurePeImageAndExtend() 337 PeCoffHeaderOffset + in MeasurePeImageAndExtend()
|
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/ |
D | MeasureBootPeCoff.c | 111 UINT32 PeCoffHeaderOffset; in MeasurePeImageAndExtend() local 152 PeCoffHeaderOffset = 0; in MeasurePeImageAndExtend() 154 PeCoffHeaderOffset = DosHdr->e_lfanew; in MeasurePeImageAndExtend() 157 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in MeasurePeImageAndExtend() 337 PeCoffHeaderOffset + in MeasurePeImageAndExtend()
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/ |
D | DxeTpmMeasureBootLib.c | 315 UINT32 PeCoffHeaderOffset; in TcgMeasurePeImage() local 384 PeCoffHeaderOffset = 0; in TcgMeasurePeImage() 386 PeCoffHeaderOffset = DosHdr->e_lfanew; in TcgMeasurePeImage() 389 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in TcgMeasurePeImage() 574 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/BaseTools/Source/C/Common/ |
D | PeCoffLib.h | 59 UINT32 PeCoffHeaderOffset; member
|
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() 961 ((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHeaderOffset); in PeCoffLoaderLoadImage() 967 ImageContext->PeCoffHeaderOffset + in PeCoffLoaderLoadImage()
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | PeCoffLib.h | 128 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/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/Library/ |
D | EdkIIGluePeCoffLib.h | 79 UINT32 PeCoffHeaderOffset; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Misc/ |
D | PropertiesTable.c | 1086 UINT32 PeCoffHeaderOffset; in InsertImageRecord() local 1125 PeCoffHeaderOffset = 0; in InsertImageRecord() 1127 PeCoffHeaderOffset = DosHdr->e_lfanew; in InsertImageRecord() 1130 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in InsertImageRecord() 1173 PeCoffHeaderOffset + in InsertImageRecord()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/ |
D | MemoryAttributesTable.c | 1054 UINT32 PeCoffHeaderOffset; in SmmInsertImageRecord() local 1093 PeCoffHeaderOffset = 0; in SmmInsertImageRecord() 1095 PeCoffHeaderOffset = DosHdr->e_lfanew; in SmmInsertImageRecord() 1098 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in SmmInsertImageRecord() 1140 PeCoffHeaderOffset + in SmmInsertImageRecord()
|
D | Dispatcher.c | 236 …I_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffHeaderOffset); in GetPeCoffImageFixLoadingAssignedAddress() 238 ImageContext->PeCoffHeaderOffset + in GetPeCoffImageFixLoadingAssignedAddress()
|
D | PiSmmIpl.c | 848 …I_IMAGE_OPTIONAL_HEADER_UNION *)((CHAR8* )ImageContext->Handle + ImageContext->PeCoffHeaderOffset); in GetPeCoffImageFixLoadingAssignedAddress() 850 ImageContext->PeCoffHeaderOffset + in GetPeCoffImageFixLoadingAssignedAddress()
|
/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/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/VolInfo/ |
D | VolInfo.c | 1434 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + ImageContext.PeCoffHeaderOffset); in SetAddressToSectionHeader() 1514 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + ImageContext.PeCoffHeaderOffset); in RebaseImage()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/ |
D | GenFw.c | 882 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + ImageContext.PeCoffHeaderOffset); in SetAddressToSectionHeader() 962 ImgHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + ImageContext.PeCoffHeaderOffset); in RebaseImage()
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFv/ |
D | GenFvInternalLib.c | 815 …AGE_OPTIONAL_HEADER_UNION *) ((UINT8 *) pImageContext->Handle + pImageContext->PeCoffHeaderOffset); in WriteMapFile() 3456 …UNION *)((UINTN) CurrentPe32Section.Pe32Section + CurSecHdrSize + ImageContext.PeCoffHeaderOffset); in FfsRebase()
|