Home
last modified time | relevance | path

Searched refs:EFI_IMAGE_NT_HEADERS32 (Results 1 – 25 of 31) sorted by relevance

12

/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffGetEntryPointLib/
DPeCoffGetEntryPoint.c60 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetEntryPoint()
65 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetEntryPoint()
112 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetMachineType()
117 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetMachineType()
176 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetPdbPointer()
181 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetPdbPointer()
300 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffGetSizeOfHeaders()
305 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffGetSizeOfHeaders()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffGetEntryPointLib/
DPeCoffGetEntryPoint.c60 …Header.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHeader->e_lfanew) & 0x0ff… in PeCoffLoaderGetEntryPoint()
65 Header.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetEntryPoint()
100 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN)Pe32Data + DosHdr->e_lfanew); in PeCoffLoaderGetMachineType()
102 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN)Pe32Data); in PeCoffLoaderGetMachineType()
158 …Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHeader->e_lfanew) & 0x0ffff)… in PeCoffLoaderGetPdbPointer()
163 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetPdbPointer()
/device/linaro/bootloader/edk2/EmulatorPkg/Library/PeiEmuPeCoffGetEntryPointLib/
DPeiEmuPeCoffGetEntryPointLib.c95 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetMachineType()
98 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)(Pe32Data); in PeCoffLoaderGetMachineType()
157 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetPdbPointer()
162 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetPdbPointer()
279 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffGetSizeOfHeaders()
284 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffGetSizeOfHeaders()
/device/linaro/bootloader/edk2/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/
DPeCoffGetEntryPoint.c120 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetMachineType()
125 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetMachineType()
184 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetPdbPointer()
189 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetPdbPointer()
306 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffGetSizeOfHeaders()
311 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffGetSizeOfHeaders()
/device/linaro/bootloader/edk2/UefiCpuPkg/Library/CpuExceptionHandlerLib/
DCpuExceptionCommon.c137 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)(Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in FindModuleImageBase()
155 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in FindModuleImageBase()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ebc/
DEfiPeOptionalHeader.h44 typedef EFI_IMAGE_NT_HEADERS32 EFI_IMAGE_NT_HEADERS;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Arm/
DEfiPeOptionalHeader.h36 typedef EFI_IMAGE_NT_HEADERS32 EFI_IMAGE_NT_HEADERS;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Include/Ia32/
DEfiPeOptionalHeader.h36 typedef EFI_IMAGE_NT_HEADERS32 EFI_IMAGE_NT_HEADERS;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/
DEfiImage.h260 } EFI_IMAGE_NT_HEADERS32; typedef
262 #define EFI_IMAGE_SIZEOF_NT_OPTIONAL32_HEADER sizeof (EFI_IMAGE_NT_HEADERS32)
694 EFI_IMAGE_NT_HEADERS32 Pe32;
700 EFI_IMAGE_NT_HEADERS32 *Pe32;
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DPeImage.h245 } EFI_IMAGE_NT_HEADERS32; typedef
247 #define EFI_IMAGE_SIZEOF_NT_OPTIONAL32_HEADER sizeof (EFI_IMAGE_NT_HEADERS32)
744 EFI_IMAGE_NT_HEADERS32 Pe32;
750 EFI_IMAGE_NT_HEADERS32 *Pe32;
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/IndustryStandard/
DPeImage.h270 } EFI_IMAGE_NT_HEADERS32; typedef
272 #define EFI_IMAGE_SIZEOF_NT_OPTIONAL32_HEADER sizeof (EFI_IMAGE_NT_HEADERS32)
757 EFI_IMAGE_NT_HEADERS32 Pe32;
763 EFI_IMAGE_NT_HEADERS32 *Pe32;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/
DBasePeCoff.c553 …Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHead… in GluePeCoffLoaderRelocateImage()
857 …Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHead… in GluePeCoffLoaderLoadImage()
1189 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)(((CHAR8 *)DosHdr) + DosHdr->e_lfanew); in PeCoffLoaderRelocateImageForRuntime()
1194 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)OldBase; in PeCoffLoaderRelocateImageForRuntime()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DBasePeCoff.c1279 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetPdbPointer()
1284 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetPdbPointer()
1448 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetEntryPoint()
1453 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetEntryPoint()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/
DMemoryProfileRecord.c311 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *) ((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in InternalPeCoffGetSubsystem()
316 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *) Pe32Data; in InternalPeCoffGetSubsystem()
367 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *) ((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in InternalPeCoffGetEntryPoint()
372 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *) Pe32Data; in InternalPeCoffGetEntryPoint()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Pei/Image/
DImage.c774 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in RelocationIsStrip()
779 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in RelocationIsStrip()
/device/linaro/bootloader/edk2/EmbeddedPkg/GdbStub/
DGdbStub.c881 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in PeCoffLoaderGetDebuggerInfo()
886 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)Pe32Data; in PeCoffLoaderGetDebuggerInfo()
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/
DSplitFspBin.py237 class EFI_IMAGE_NT_HEADERS32(Structure): class
533 self.PeHdr = EFI_IMAGE_NT_HEADERS32.from_buffer (data, self.DosHdr.e_lfanew)
599 offset += EFI_IMAGE_NT_HEADERS32.OptionalHeader.offset
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Dxe/
DMeasureBootPeCoff.c157 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/TrEEDxe/
DMeasureBootPeCoff.c157 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in MeasurePeImageAndExtend()
/device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
DBasePeCoff.c988 …Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHead… in PeCoffLoaderRelocateImage()
1319 …Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHead… in PeCoffLoaderLoadImage()
1740 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)(((CHAR8 *)DosHdr) + DosHdr->e_lfanew); in PeCoffLoaderRelocateImageForRuntime()
1745 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)OldBase; in PeCoffLoaderRelocateImageForRuntime()
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
DElf32Convert.c358 mCoffOffset += sizeof (EFI_IMAGE_NT_HEADERS32); in ScanSections32()
362 mCoffOffset += sizeof (EFI_IMAGE_NT_HEADERS32); in ScanSections32()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DSmramProfileRecord.c312 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *) ((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in InternalPeCoffGetSubsystem()
317 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *) Pe32Data; in InternalPeCoffGetSubsystem()
368 … Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *) ((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff)); in InternalPeCoffGetEntryPoint()
373 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *) Pe32Data; in InternalPeCoffGetEntryPoint()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/
DPeCoffLoader.c747 …Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHead… in PeCoffLoaderRelocateImage()
1103 …Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN)ImageContext->ImageAddress + ImageContext->PeCoffHead… in PeCoffLoaderLoadImage()
/device/linaro/bootloader/edk2/DuetPkg/EfiLdr/
DPeLoader.c300 PeHeaderSize = sizeof(EFI_IMAGE_NT_HEADERS32); in EfiLdrPeCoffLoadPeImage()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTpmMeasureBootLib/
DDxeTpmMeasureBootLib.c389 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINT8 *) (UINTN) ImageAddress + PeCoffHeaderOffset); in TcgMeasurePeImage()

12