Searched refs:DosHdr (Results 1 - 12 of 12) sorted by relevance

/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffGetEntryPointLib/
H A DPeCoffGetEntryPoint.c49 EFI_IMAGE_DOS_HEADER *DosHdr; local
55 DosHdr = (EFI_IMAGE_DOS_HEADER *)Pe32Data;
56 if (DosHdr->e_magic == EFI_IMAGE_DOS_SIGNATURE) {
60 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff));
103 EFI_IMAGE_DOS_HEADER *DosHdr; local
107 DosHdr = (EFI_IMAGE_DOS_HEADER *)Pe32Data;
108 if (DosHdr->e_magic == EFI_IMAGE_DOS_SIGNATURE) {
112 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff));
154 EFI_IMAGE_DOS_HEADER *DosHdr; local
171 DosHdr
289 EFI_IMAGE_DOS_HEADER *DosHdr; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/Common/
H A DBasePeCoff.c111 EFI_IMAGE_DOS_HEADER DosHdr; local
123 &DosHdr
131 if (DosHdr.e_magic == EFI_IMAGE_DOS_SIGNATURE) {
135 ImageContext->PeCoffHeaderOffset = DosHdr.e_lfanew;
1222 EFI_IMAGE_DOS_HEADER *DosHdr; local
1246 DosHdr = (EFI_IMAGE_DOS_HEADER *)Pe32Data;
1247 if (EFI_IMAGE_DOS_SIGNATURE == DosHdr->e_magic) {
1251 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff));
1412 EFI_IMAGE_DOS_HEADER *DosHdr; local
1415 DosHdr
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/GenFw/
H A DGenFw.c519 EFI_IMAGE_DOS_HEADER *DosHdr; local
525 DosHdr = (EFI_IMAGE_DOS_HEADER *)Data;
526 if (DosHdr->e_magic != EFI_IMAGE_DOS_SIGNATURE) {
534 PeHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(((UINT8 *)Data) + DosHdr->e_lfanew);
1098 EFI_IMAGE_DOS_HEADER *DosHdr; local
2082 DosHdr = (EFI_IMAGE_DOS_HEADER *) FileBuffer;
2083 if (DosHdr->e_magic != EFI_IMAGE_DOS_SIGNATURE) {
2089 DosHdr = NULL;
2091 PeHdr = (EFI_IMAGE_OPTIONAL_HEADER_UNION *)(FileBuffer + DosHdr->e_lfanew);
2143 DosHdr
2770 EFI_IMAGE_DOS_HEADER *DosHdr; local
2927 EFI_IMAGE_DOS_HEADER *DosHdr; local
[all...]
H A DElf64Convert.c256 EFI_IMAGE_DOS_HEADER *DosHdr; local
398 DosHdr = (EFI_IMAGE_DOS_HEADER *)mCoffFile;
399 DosHdr->e_magic = EFI_IMAGE_DOS_SIGNATURE;
400 DosHdr->e_lfanew = mNtHdrOffset;
H A DElf32Convert.c263 EFI_IMAGE_DOS_HEADER *DosHdr; local
405 DosHdr = (EFI_IMAGE_DOS_HEADER *)mCoffFile;
406 DosHdr->e_magic = EFI_IMAGE_DOS_SIGNATURE;
407 DosHdr->e_lfanew = mNtHdrOffset;
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Core/Pei/Image/
H A DImage.c647 EFI_IMAGE_DOS_HEADER *DosHdr; local
651 DosHdr = (EFI_IMAGE_DOS_HEADER *)Pe32Data;
652 if (DosHdr->e_magic == EFI_IMAGE_DOS_SIGNATURE) {
656 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)((UINTN) Pe32Data + (UINTN) ((DosHdr->e_lfanew) & 0x0ffff));
/vbox/src/VBox/Devices/EFI/Firmware/VBoxPkg/Library/VBoxPeCoffLib/
H A DBasePeCoff.c102 EFI_IMAGE_DOS_HEADER DosHdr; local
153 &DosHdr
161 if (DosHdr.e_magic == EFI_IMAGE_DOS_SIGNATURE) {
166 ImageContext->PeCoffHeaderOffset = DosHdr.e_lfanew;
1369 EFI_IMAGE_DOS_HEADER *DosHdr; local
1414 DosHdr = (EFI_IMAGE_DOS_HEADER *)(OldBase);
1415 if (DosHdr->e_magic == EFI_IMAGE_DOS_SIGNATURE) {
1419 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)(((CHAR8 *)DosHdr) + DosHdr->e_lfanew);
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BasePeCoffLib/
H A DBasePeCoff.c68 EFI_IMAGE_DOS_HEADER DosHdr; local
85 &DosHdr
93 if (DosHdr.e_magic == EFI_IMAGE_DOS_SIGNATURE) {
98 ImageContext->PeCoffHeaderOffset = DosHdr.e_lfanew;
1486 EFI_IMAGE_DOS_HEADER *DosHdr; local
1512 DosHdr = (EFI_IMAGE_DOS_HEADER *)OldBase;
1513 if (DosHdr->e_magic == EFI_IMAGE_DOS_SIGNATURE) {
1517 Hdr.Pe32 = (EFI_IMAGE_NT_HEADERS32 *)(((CHAR8 *)DosHdr) + DosHdr->e_lfanew);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeTpmMeasureBootLib/
H A DDxeTpmMeasureBootLib.c280 EFI_IMAGE_DOS_HEADER *DosHdr; local
347 DosHdr = (EFI_IMAGE_DOS_HEADER *) (UINTN) ImageAddress;
349 if (DosHdr->e_magic == EFI_IMAGE_DOS_SIGNATURE) {
350 PeCoffHeaderOffset = DosHdr->e_lfanew;
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
H A DBootOption.c1217 EFI_IMAGE_DOS_HEADER DosHdr; local
1230 File->Read (File, &BufferSize, &DosHdr);
1231 if (DosHdr.e_magic != EFI_IMAGE_DOS_SIGNATURE) {
1236 File->SetPosition (File, DosHdr.e_lfanew);
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/Library/DxeImageVerificationLib/
H A DDxeImageVerificationLib.c1206 EFI_IMAGE_DOS_HEADER *DosHdr; local
1328 DosHdr = (EFI_IMAGE_DOS_HEADER *) mImageBase;
1329 if (DosHdr->e_magic == EFI_IMAGE_DOS_SIGNATURE) {
1334 mPeCoffHeaderOffset = DosHdr->e_lfanew;
/vbox/src/VBox/Devices/EFI/Firmware/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/
H A DSecureBootConfigImpl.c894 EFI_IMAGE_DOS_HEADER *DosHdr; local
903 DosHdr = (EFI_IMAGE_DOS_HEADER*)(mImageBase);
904 if (DosHdr->e_magic == EFI_IMAGE_DOS_SIGNATURE)
910 mPeCoffHeaderOffset = DosHdr->e_lfanew;

Completed in 100 milliseconds