iPXE
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...

Macros

#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.

Macro Definition Documentation

◆ SDI_MAGIC

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

SDI image signature.

Definition at line 27 of file sdi.h.

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

Referenced by sdi_probe().

◆ SDI_BOOT_SEG

#define SDI_BOOT_SEG   0x0000

SDI boot segment.

Definition at line 31 of file sdi.h.

Referenced by sdi_exec().

◆ SDI_BOOT_OFF

#define SDI_BOOT_OFF   0x7c00

SDI boot offset.

Definition at line 34 of file sdi.h.

Referenced by sdi_exec().

◆ SDI_WTF

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

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ __attribute__()

struct wpa_kde __attribute__ ( (packed) )

Variable Documentation

◆ magic

uint32_t magic

Signature.

Definition at line 1 of file sdi.h.

◆ version

uint32_t version

Version (as an ASCII string)

Definition at line 3 of file sdi.h.

◆ reserved

uint8_t reserved[8]

Reserved.

Definition at line 5 of file sdi.h.

◆ boot_offset

uint64_t boot_offset

Boot code offset.

Definition at line 7 of file sdi.h.

◆ boot_size

uint64_t boot_size

Boot code size.

Definition at line 9 of file sdi.h.