diff options
Diffstat (limited to 'Documentation/i386/boot.txt')
-rw-r--r-- | Documentation/i386/boot.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/i386/boot.txt b/Documentation/i386/boot.txt index fc49b79bc1ab..2eb16100bb3f 100644 --- a/Documentation/i386/boot.txt +++ b/Documentation/i386/boot.txt | |||
@@ -170,6 +170,8 @@ Offset Proto Name Meaning | |||
170 | 0238/4 2.06+ cmdline_size Maximum size of the kernel command line | 170 | 0238/4 2.06+ cmdline_size Maximum size of the kernel command line |
171 | 023C/4 2.07+ hardware_subarch Hardware subarchitecture | 171 | 023C/4 2.07+ hardware_subarch Hardware subarchitecture |
172 | 0240/8 2.07+ hardware_subarch_data Subarchitecture-specific data | 172 | 0240/8 2.07+ hardware_subarch_data Subarchitecture-specific data |
173 | 0248/4 2.08+ payload_offset Offset of kernel payload | ||
174 | 024C/4 2.08+ payload_length Length of kernel payload | ||
173 | 175 | ||
174 | (1) For backwards compatibility, if the setup_sects field contains 0, the | 176 | (1) For backwards compatibility, if the setup_sects field contains 0, the |
175 | real value is 4. | 177 | real value is 4. |
@@ -512,6 +514,32 @@ Protocol: 2.07+ | |||
512 | 514 | ||
513 | A pointer to data that is specific to hardware subarch | 515 | A pointer to data that is specific to hardware subarch |
514 | 516 | ||
517 | Field name: payload_offset | ||
518 | Type: read | ||
519 | Offset/size: 0x248/4 | ||
520 | Protocol: 2.08+ | ||
521 | |||
522 | If non-zero then this field contains the offset from the end of the | ||
523 | real-mode code to the payload. | ||
524 | |||
525 | The payload may be compressed. The format of both the compressed and | ||
526 | uncompressed data should be determined using the standard magic | ||
527 | numbers. Currently only gzip compressed ELF is used. | ||
528 | |||
529 | Field name: payload_length | ||
530 | Type: read | ||
531 | Offset/size: 0x24c/4 | ||
532 | Protocol: 2.08+ | ||
533 | |||
534 | The length of the payload. | ||
535 | |||
536 | **** THE IMAGE CHECKSUM | ||
537 | |||
538 | From boot protocol version 2.08 onwards the CRC-32 is calculated over | ||
539 | the entire file using the characteristic polynomial 0x04C11DB7 and an | ||
540 | initial remainder of 0xffffffff. The checksum is appended to the | ||
541 | file; therefore the CRC of the file up to the limit specified in the | ||
542 | syssize field of the header is always 0. | ||
515 | 543 | ||
516 | **** THE KERNEL COMMAND LINE | 544 | **** THE KERNEL COMMAND LINE |
517 | 545 | ||