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

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 59 of file PeImage.h.

Field Documentation

◆ e_magic

UINT16 EFI_IMAGE_DOS_HEADER::e_magic

Magic number.

Definition at line 60 of file PeImage.h.

Referenced by efi_pecoff_debug_name().

◆ e_cblp

UINT16 EFI_IMAGE_DOS_HEADER::e_cblp

Bytes on last page of file.

Definition at line 61 of file PeImage.h.

◆ e_cp

UINT16 EFI_IMAGE_DOS_HEADER::e_cp

Pages in file.

Definition at line 62 of file PeImage.h.

◆ e_crlc

UINT16 EFI_IMAGE_DOS_HEADER::e_crlc

Relocations.

Definition at line 63 of file PeImage.h.

◆ e_cparhdr

UINT16 EFI_IMAGE_DOS_HEADER::e_cparhdr

Size of header in paragraphs.

Definition at line 64 of file PeImage.h.

◆ e_minalloc

UINT16 EFI_IMAGE_DOS_HEADER::e_minalloc

Minimum extra paragraphs needed.

Definition at line 65 of file PeImage.h.

◆ e_maxalloc

UINT16 EFI_IMAGE_DOS_HEADER::e_maxalloc

Maximum extra paragraphs needed.

Definition at line 66 of file PeImage.h.

◆ e_ss

UINT16 EFI_IMAGE_DOS_HEADER::e_ss

Initial (relative) SS value.

Definition at line 67 of file PeImage.h.

◆ e_sp

UINT16 EFI_IMAGE_DOS_HEADER::e_sp

Initial SP value.

Definition at line 68 of file PeImage.h.

◆ e_csum

UINT16 EFI_IMAGE_DOS_HEADER::e_csum

Checksum.

Definition at line 69 of file PeImage.h.

◆ e_ip

UINT16 EFI_IMAGE_DOS_HEADER::e_ip

Initial IP value.

Definition at line 70 of file PeImage.h.

◆ e_cs

UINT16 EFI_IMAGE_DOS_HEADER::e_cs

Initial (relative) CS value.

Definition at line 71 of file PeImage.h.

◆ e_lfarlc

UINT16 EFI_IMAGE_DOS_HEADER::e_lfarlc

File address of relocation table.

Definition at line 72 of file PeImage.h.

◆ e_ovno

UINT16 EFI_IMAGE_DOS_HEADER::e_ovno

Overlay number.

Definition at line 73 of file PeImage.h.

◆ e_res

UINT16 EFI_IMAGE_DOS_HEADER::e_res[4]

Reserved words.

Definition at line 74 of file PeImage.h.

◆ e_oemid

UINT16 EFI_IMAGE_DOS_HEADER::e_oemid

OEM identifier (for e_oeminfo).

Definition at line 75 of file PeImage.h.

◆ e_oeminfo

UINT16 EFI_IMAGE_DOS_HEADER::e_oeminfo

OEM information; e_oemid specific.

Definition at line 76 of file PeImage.h.

◆ e_res2

UINT16 EFI_IMAGE_DOS_HEADER::e_res2[10]

Reserved words.

Definition at line 77 of file PeImage.h.

◆ e_lfanew

UINT32 EFI_IMAGE_DOS_HEADER::e_lfanew

File address of new exe header.

Definition at line 78 of file PeImage.h.

Referenced by efi_pecoff_debug_name().


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