iPXE
Data Structures | Macros | 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...
 

Macros

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

Functions

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

Variables

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

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.

◆ SDI_BOOT_SEG

#define SDI_BOOT_SEG   0x0000

SDI boot segment.

Definition at line 31 of file sdi.h.

◆ SDI_BOOT_OFF

#define SDI_BOOT_OFF   0x7c00

SDI boot offset.

Definition at line 34 of file sdi.h.

◆ SDI_WTF

#define SDI_WTF   0x41

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

Definition at line 37 of file sdi.h.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ __attribute__()

struct sdi_header __attribute__ ( (packed)  )

Variable Documentation

◆ magic

uint32_t magic

Signature.

Definition at line 12 of file sdi.h.

◆ version

uint32_t version

Version (as an ASCII string)

Definition at line 14 of file sdi.h.

◆ reserved

uint8_t reserved[8]

Reserved.

Definition at line 16 of file sdi.h.

◆ boot_offset

uint64_t boot_offset

Boot code offset.

Definition at line 18 of file sdi.h.

◆ boot_size

uint64_t boot_size

Boot code size.

Definition at line 20 of file sdi.h.