iPXE
Data Fields
imgheader Struct Reference

An NBI image header. More...

Data Fields

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

unsigned long imgheader::magic

Magic number (NBI_MAGIC)

Definition at line 40 of file nbi.c.

Referenced by nbi_probe().

unsigned char imgheader::length

Nibble-coded header length.

Definition at line 42 of file nbi.c.

Referenced by nbi_process_segments().

unsigned long imgheader::flags

Image flags.

Definition at line 43 of file nbi.c.

Referenced by nbi_exec().

union { ... }

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().

16-bit seg:off entry point

Definition at line 47 of file nbi.c.

Referenced by nbi_boot16().

unsigned long imgheader::linear

32-bit entry point

Definition at line 48 of file nbi.c.

Referenced by nbi_boot32().

union { ... } imgheader::execaddr

Referenced by nbi_boot16(), and nbi_boot32().


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