Next: , Up: OS image format   [Contents][Index]


3.1.1 The layout of Multiboot header

The layout of the Multiboot header must be as follows:

OffsetTypeField NameNote
0u32magicrequired
4u32flagsrequired
8u32checksumrequired
12u32header_addrif flags[16] is set
16u32load_addrif flags[16] is set
20u32load_end_addrif flags[16] is set
24u32bss_end_addrif flags[16] is set
28u32entry_addrif flags[16] is set
32u32mode_typeif flags[2] is set
36u32widthif flags[2] is set
40u32heightif flags[2] is set
44u32depthif flags[2] is set

The fields ‘magic’, ‘flags’ and ‘checksum’ are defined in Header magic fields, the fields ‘header_addr’, ‘load_addr’, ‘load_end_addr’, ‘bss_end_addr’ and ‘entry_addr’ are defined in Header address fields, and the fields ‘mode_type’, ‘width’, ‘height’ and ‘depth’ are defined in Header graphics fields.