@@ -158,7 +158,7 @@ Offset Proto Name Meaning
1581580202/4 2.00+ header Magic signature "HdrS"
1591590206/2 2.00+ version Boot protocol version supported
1601600208/4 2.00+ realmode_swtch Boot loader hook (see below)
161- 020C/2 2.00+ start_sys The load-low segment (0x1000) (obsolete)
161+ 020C/2 2.00+ start_sys_seg The load-low segment (0x1000) (obsolete)
162162020E/2 2.00+ kernel_version Pointer to kernel version string
1631630210/1 2.00+ type_of_loader Boot loader identifier
1641640211/1 2.00+ loadflags Boot protocol option flags
@@ -170,10 +170,11 @@ Offset Proto Name Meaning
1701700224/2 2.01+ heap_end_ptr Free memory after setup end
1711710226/2 N/A pad1 Unused
1721720228/4 2.02+ cmd_line_ptr 32-bit pointer to the kernel command line
173- 022C/4 2.03+ initrd_addr_max Highest legal initrd address
173+ 022C/4 2.03+ ramdisk_max Highest legal initrd address
1741740230/4 2.05+ kernel_alignment Physical addr alignment required for kernel
1751750234/1 2.05+ relocatable_kernel Whether kernel is relocatable or not
176- 0235/3 N/A pad2 Unused
176+ 0235/1 N/A pad2 Unused
177+ 0236/2 N/A pad3 Unused
1771780238/4 2.06+ cmdline_size Maximum size of the kernel command line
178179023C/4 2.07+ hardware_subarch Hardware subarchitecture
1791800240/8 2.07+ hardware_subarch_data Subarchitecture-specific data
@@ -299,14 +300,14 @@ Protocol: 2.00+
299300 e.g. 0x0204 for version 2.04, and 0x0a11 for a hypothetical version
300301 10.17.
301302
302- Field name: readmode_swtch
303+ Field name: realmode_swtch
303304Type: modify (optional)
304305Offset/size: 0x208/4
305306Protocol: 2.00+
306307
307308 Boot loader hook (see ADVANCED BOOT LOADER HOOKS below.)
308309
309- Field name: start_sys
310+ Field name: start_sys_seg
310311Type: read
311312Offset/size: 0x20c/2
312313Protocol: 2.00+
@@ -468,7 +469,7 @@ Protocol: 2.02+
468469 zero, the kernel will assume that your boot loader does not support
469470 the 2.02+ protocol.
470471
471- Field name: initrd_addr_max
472+ Field name: ramdisk_max
472473Type: read
473474Offset/size: 0x22c/4
474475Protocol: 2.03+
@@ -542,7 +543,10 @@ Protocol: 2.08+
542543
543544 The payload may be compressed. The format of both the compressed and
544545 uncompressed data should be determined using the standard magic
545- numbers. Currently only gzip compressed ELF is used.
546+ numbers. The currently supported compression formats are gzip
547+ (magic numbers 1F 8B or 1F 9E), bzip2 (magic number 42 5A) and LZMA
548+ (magic number 5D 00). The uncompressed payload is currently always ELF
549+ (magic number 7F 45 4C 46).
546550
547551Field name: payload_length
548552Type: read
0 commit comments