iPXE
Data Fields
imgheader Struct Reference

An NBI image header. More...

Data Fields

unsigned long magic
 Magic number (NBI_MAGIC) More...
 
union {
   unsigned char   length
 Nibble-coded header length. More...
 
   unsigned long   flags
 Image flags. More...
 
}; 
 
segoff_t location
 16-bit seg:off header location More...
 
union {
   segoff_t   segoff
 16-bit seg:off entry point More...
 
   unsigned long   linear
 32-bit entry point More...
 
execaddr
 

Detailed Description

An NBI image header.

Note that the length field uses a peculiar encoding; use the NBI_LENGTH() macro to decode the actual header length.

Definition at line 39 of file nbi.c.

Field Documentation

◆ magic

unsigned long imgheader::magic

Magic number (NBI_MAGIC)

Definition at line 40 of file nbi.c.

Referenced by nbi_probe().

◆ length

unsigned char imgheader::length

Nibble-coded header length.

Definition at line 42 of file nbi.c.

Referenced by nbi_process_segments().

◆ flags

unsigned long imgheader::flags

Image flags.

Definition at line 43 of file nbi.c.

Referenced by nbi_exec().

◆ @443

union { ... }

◆ location

segoff_t imgheader::location

16-bit seg:off header location

Definition at line 45 of file nbi.c.

Referenced by nbi_boot16(), nbi_boot32(), nbi_exec(), and nbi_process_segments().

◆ segoff

segoff_t imgheader::segoff

16-bit seg:off entry point

Definition at line 47 of file nbi.c.

Referenced by nbi_boot16().

◆ linear

unsigned long imgheader::linear

32-bit entry point

Definition at line 48 of file nbi.c.

Referenced by nbi_boot32().

◆ execaddr

union { ... } imgheader::execaddr

Referenced by nbi_boot16(), and nbi_boot32().


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