iPXE
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
b
d
i
p
s
t
u
v
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
arch
x86
include
sdi.h
Go to the documentation of this file.
1
#ifndef _SDI_H
2
#define _SDI_H
3
4
/** @file
5
*
6
* System Deployment Image (SDI)
7
*
8
*/
9
10
FILE_LICENCE
( GPL2_OR_LATER_OR_UBDL );
11
12
/** SDI image header */
13
struct
sdi_header
{
14
/** Signature */
15
uint32_t
magic
;
16
/** Version (as an ASCII string) */
17
uint32_t
version
;
18
/** Reserved */
19
uint8_t
reserved
[8];
20
/** Boot code offset */
21
uint64_t
boot_offset
;
22
/** Boot code size */
23
uint64_t
boot_size
;
24
}
__attribute__
(( packed ));
25
26
/** SDI image signature */
27
#define SDI_MAGIC \
28
( ( '$' << 0 ) | ( 'S' << 8 ) | ( 'D' << 16 ) | ( 'I' << 24 ) )
29
30
/** SDI boot segment */
31
#define SDI_BOOT_SEG 0x0000
32
33
/** SDI boot offset */
34
#define SDI_BOOT_OFF 0x7c00
35
36
/** Constant to binary-OR with physical address of SDI image */
37
#define SDI_WTF 0x41
38
39
#endif
/* _SDI_H */
uint64_t
unsigned long long uint64_t
Definition:
stdint.h:13
__attribute__
struct sdi_header __attribute__((packed))
sdi_header::boot_size
uint64_t boot_size
Boot code size.
Definition:
sdi.h:23
sdi_header::magic
uint32_t magic
Signature.
Definition:
sdi.h:15
sdi_header::boot_offset
uint64_t boot_offset
Boot code offset.
Definition:
sdi.h:21
uint8_t
unsigned char uint8_t
Definition:
stdint.h:10
uint32_t
unsigned int uint32_t
Definition:
stdint.h:12
sdi_header::reserved
uint8_t reserved[8]
Reserved.
Definition:
sdi.h:19
sdi_header
SDI image header.
Definition:
sdi.h:13
sdi_header::version
uint32_t version
Version (as an ASCII string)
Definition:
sdi.h:17
FILE_LICENCE
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Generated by
1.8.15