iPXE
Data Fields
EFI_IMAGE_DOS_HEADER Struct Reference

PE images can start with an optional DOS header, so if an image is run under DOS it can print an error message. More...

#include <PeImage.h>

Data Fields

UINT16 e_magic
 Magic number.
UINT16 e_cblp
 Bytes on last page of file.
UINT16 e_cp
 Pages in file.
UINT16 e_crlc
 Relocations.
UINT16 e_cparhdr
 Size of header in paragraphs.
UINT16 e_minalloc
 Minimum extra paragraphs needed.
UINT16 e_maxalloc
 Maximum extra paragraphs needed.
UINT16 e_ss
 Initial (relative) SS value.
UINT16 e_sp
 Initial SP value.
UINT16 e_csum
 Checksum.
UINT16 e_ip
 Initial IP value.
UINT16 e_cs
 Initial (relative) CS value.
UINT16 e_lfarlc
 File address of relocation table.
UINT16 e_ovno
 Overlay number.
UINT16 e_res [4]
 Reserved words.
UINT16 e_oemid
 OEM identifier (for e_oeminfo).
UINT16 e_oeminfo
 OEM information; e_oemid specific.
UINT16 e_res2 [10]
 Reserved words.
UINT32 e_lfanew
 File address of new exe header.

Detailed Description

PE images can start with an optional DOS header, so if an image is run under DOS it can print an error message.

Definition at line 58 of file PeImage.h.


Field Documentation

Magic number.

Definition at line 59 of file PeImage.h.

Referenced by efi_pecoff_debug_name().

Bytes on last page of file.

Definition at line 60 of file PeImage.h.

Pages in file.

Definition at line 61 of file PeImage.h.

Relocations.

Definition at line 62 of file PeImage.h.

Size of header in paragraphs.

Definition at line 63 of file PeImage.h.

Minimum extra paragraphs needed.

Definition at line 64 of file PeImage.h.

Maximum extra paragraphs needed.

Definition at line 65 of file PeImage.h.

Initial (relative) SS value.

Definition at line 66 of file PeImage.h.

Initial SP value.

Definition at line 67 of file PeImage.h.

Checksum.

Definition at line 68 of file PeImage.h.

Initial IP value.

Definition at line 69 of file PeImage.h.

Initial (relative) CS value.

Definition at line 70 of file PeImage.h.

File address of relocation table.

Definition at line 71 of file PeImage.h.

Overlay number.

Definition at line 72 of file PeImage.h.

Reserved words.

Definition at line 73 of file PeImage.h.

OEM identifier (for e_oeminfo).

Definition at line 74 of file PeImage.h.

OEM information; e_oemid specific.

Definition at line 75 of file PeImage.h.

Reserved words.

Definition at line 76 of file PeImage.h.

File address of new exe header.

Definition at line 77 of file PeImage.h.

Referenced by efi_pecoff_debug_name().


The documentation for this struct was generated from the following file: