OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NtHdr
(Results
1 - 5
of
5
) sorted by null
/device/linaro/bootloader/edk2/BaseTools/Source/C/GenFw/
Elf64Convert.c
334
EFI_IMAGE_OPTIONAL_HEADER_UNION *
NtHdr
;
538
NtHdr
= (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(mCoffFile + mNtHdrOffset);
540
NtHdr
->Pe32Plus.Signature = EFI_IMAGE_NT_SIGNATURE;
544
NtHdr
->Pe32Plus.FileHeader.Machine = EFI_IMAGE_MACHINE_X64;
545
NtHdr
->Pe32Plus.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC;
548
NtHdr
->Pe32Plus.FileHeader.Machine = EFI_IMAGE_MACHINE_IPF;
549
NtHdr
->Pe32Plus.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC;
552
NtHdr
->Pe32Plus.FileHeader.Machine = EFI_IMAGE_MACHINE_AARCH64;
553
NtHdr
->Pe32Plus.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC;
557
NtHdr
->Pe32Plus.FileHeader.Machine = EFI_IMAGE_MACHINE_X64;
[
all
...]
Elf32Convert.c
342
EFI_IMAGE_OPTIONAL_HEADER_UNION *
NtHdr
;
546
NtHdr
= (EFI_IMAGE_OPTIONAL_HEADER_UNION*)(mCoffFile + mNtHdrOffset);
548
NtHdr
->Pe32.Signature = EFI_IMAGE_NT_SIGNATURE;
552
NtHdr
->Pe32.FileHeader.Machine = EFI_IMAGE_MACHINE_IA32;
553
NtHdr
->Pe32.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC;
556
NtHdr
->Pe32.FileHeader.Machine = EFI_IMAGE_MACHINE_ARMT;
557
NtHdr
->Pe32.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC;
561
NtHdr
->Pe32.FileHeader.Machine = EFI_IMAGE_MACHINE_IA32;
562
NtHdr
->Pe32.OptionalHeader.Magic = EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC;
565
NtHdr
->Pe32.FileHeader.NumberOfSections = mCoffNbrSections;
[
all
...]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxePerformanceLib/
PerformanceLib.c
166
EFI_IMAGE_NT_HEADERS *
NtHdr
;
178
NtHdr
= (EFI_IMAGE_NT_HEADERS *) ((UINT8 *) DosHdr + DosHdr->e_lfanew);
184
if (
NtHdr
->FileHeader.Machine == IMAGE_FILE_MACHINE_I386) {
186
} else if (
NtHdr
->FileHeader.Machine == IMAGE_FILE_MACHINE_IA64) {
188
} else if (
NtHdr
->FileHeader.Machine == IMAGE_FILE_MACHINE_X64) {
191
Magic =
NtHdr
->OptionalHeader.Magic;
194
OptionalHdr32 = (VOID *) &
NtHdr
->OptionalHeader;
197
OptionalHdr64 = (VOID *) &
NtHdr
->OptionalHeader;
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
Perf.c
157
EFI_IMAGE_NT_HEADERS *
NtHdr
;
169
NtHdr
= (EFI_IMAGE_NT_HEADERS *) ((UINT8 *) DosHdr + DosHdr->e_lfanew);
175
if (
NtHdr
->FileHeader.Machine == EFI_IMAGE_MACHINE_IA32) {
177
} else if (
NtHdr
->FileHeader.Machine == EFI_IMAGE_MACHINE_IA64) {
179
} else if (
NtHdr
->FileHeader.Machine == EFI_IMAGE_MACHINE_X64) {
182
Magic =
NtHdr
->OptionalHeader.Magic;
185
OptionalHdr32 = (VOID *) &
NtHdr
->OptionalHeader;
188
OptionalHdr64 = (VOID *) &
NtHdr
->OptionalHeader;
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/
EdbSymbol.c
766
EFI_IMAGE_OPTIONAL_HEADER_UNION *
NtHdr
;
786
NtHdr
= (EFI_IMAGE_OPTIONAL_HEADER_UNION *) ((UINT8 *) DosHdr + DosHdr->e_lfanew);
790
if (
NtHdr
->Pe32.FileHeader.Machine != EFI_IMAGE_MACHINE_EBC) {
801
if (
NtHdr
->Pe32.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC) {
802
OptionalHdr32 = (VOID *) &
NtHdr
->Pe32.OptionalHeader;
804
} else if (
NtHdr
->Pe32Plus.OptionalHeader.Magic == EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC) {
805
OptionalHdr64 = (VOID *) &
NtHdr
->Pe32Plus.OptionalHeader;
[
all
...]
Completed in 785 milliseconds