Next: Header magic fields, Up: OS image format [Contents][Index]
The layout of the Multiboot2 header must be as follows:
Offset | Type | Field Name | Note |
0 | u32 | magic | required |
4 | u32 | architecture | required |
8 | u32 | header_length | required |
12 | u32 | checksum | required |
16-XX | tags | required |
The fields ‘magic’, ‘architecture’, ‘header_length’ and ‘checksum’ are defined in Header magic fields, ‘tags’ are defined in Header tags. All fields are in native endianness. On bi-endian platforms native-endianness means the endiannes OS image starts in.