iPXE
Data Structures | Defines | Functions | Variables
sdi.h File Reference

System Deployment Image (SDI) More...

Go to the source code of this file.

Data Structures

struct  sdi_header
 SDI image header. More...

Defines

#define SDI_MAGIC   ( ( '$' << 0 ) | ( 'S' << 8 ) | ( 'D' << 16 ) | ( 'I' << 24 ) )
 SDI image signature.
#define SDI_BOOT_SEG   0x0000
 SDI boot segment.
#define SDI_BOOT_OFF   0x7c00
 SDI boot offset.
#define SDI_WTF   0x41
 Constant to binary-OR with physical address of SDI image.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
struct sdi_header __attribute__ ((packed))

Variables

uint32_t magic
 Signature.
uint32_t version
 Version (as an ASCII string)
uint8_t reserved [8]
 Reserved.
uint64_t boot_offset
 Boot code offset.
uint64_t boot_size
 Boot code size.

Detailed Description

System Deployment Image (SDI)

Definition in file sdi.h.


Define Documentation

#define SDI_MAGIC   ( ( '$' << 0 ) | ( 'S' << 8 ) | ( 'D' << 16 ) | ( 'I' << 24 ) )

SDI image signature.

Definition at line 27 of file sdi.h.

Referenced by sdi_parse_header().

#define SDI_BOOT_SEG   0x0000

SDI boot segment.

Definition at line 31 of file sdi.h.

Referenced by sdi_exec().

#define SDI_BOOT_OFF   0x7c00

SDI boot offset.

Definition at line 34 of file sdi.h.

Referenced by sdi_exec().

#define SDI_WTF   0x41

Constant to binary-OR with physical address of SDI image.

Definition at line 37 of file sdi.h.

Referenced by sdi_exec().


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )
struct sdi_header __attribute__ ( (packed)  )

Variable Documentation

Signature.

Definition at line 26 of file sdi.h.

Version (as an ASCII string)

Definition at line 28 of file sdi.h.

Reserved.

Definition at line 30 of file sdi.h.

Boot code offset.

Definition at line 32 of file sdi.h.

Boot code size.

Definition at line 34 of file sdi.h.