diff options
Diffstat (limited to 'Documentation/x86/boot.txt')
-rw-r--r-- | Documentation/x86/boot.txt | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/Documentation/x86/boot.txt b/Documentation/x86/boot.txt index 406d82d5d2bb..b443f1de0e5a 100644 --- a/Documentation/x86/boot.txt +++ b/Documentation/x86/boot.txt | |||
@@ -57,6 +57,10 @@ Protocol 2.10: (Kernel 2.6.31) Added a protocol for relaxed alignment | |||
57 | Protocol 2.11: (Kernel 3.6) Added a field for offset of EFI handover | 57 | Protocol 2.11: (Kernel 3.6) Added a field for offset of EFI handover |
58 | protocol entry point. | 58 | protocol entry point. |
59 | 59 | ||
60 | Protocol 2.12: (Kernel 3.8) Added the xloadflags field and extension fields | ||
61 | to struct boot_params for for loading bzImage and ramdisk | ||
62 | above 4G in 64bit. | ||
63 | |||
60 | **** MEMORY LAYOUT | 64 | **** MEMORY LAYOUT |
61 | 65 | ||
62 | The traditional memory map for the kernel loader, used for Image or | 66 | The traditional memory map for the kernel loader, used for Image or |
@@ -182,7 +186,7 @@ Offset Proto Name Meaning | |||
182 | 0230/4 2.05+ kernel_alignment Physical addr alignment required for kernel | 186 | 0230/4 2.05+ kernel_alignment Physical addr alignment required for kernel |
183 | 0234/1 2.05+ relocatable_kernel Whether kernel is relocatable or not | 187 | 0234/1 2.05+ relocatable_kernel Whether kernel is relocatable or not |
184 | 0235/1 2.10+ min_alignment Minimum alignment, as a power of two | 188 | 0235/1 2.10+ min_alignment Minimum alignment, as a power of two |
185 | 0236/2 N/A pad3 Unused | 189 | 0236/2 2.12+ xloadflags Boot protocol option flags |
186 | 0238/4 2.06+ cmdline_size Maximum size of the kernel command line | 190 | 0238/4 2.06+ cmdline_size Maximum size of the kernel command line |
187 | 023C/4 2.07+ hardware_subarch Hardware subarchitecture | 191 | 023C/4 2.07+ hardware_subarch Hardware subarchitecture |
188 | 0240/8 2.07+ hardware_subarch_data Subarchitecture-specific data | 192 | 0240/8 2.07+ hardware_subarch_data Subarchitecture-specific data |
@@ -386,6 +390,7 @@ Protocol: 2.00+ | |||
386 | F Special (0xFF = undefined) | 390 | F Special (0xFF = undefined) |
387 | 10 Reserved | 391 | 10 Reserved |
388 | 11 Minimal Linux Bootloader <http://sebastian-plotz.blogspot.de> | 392 | 11 Minimal Linux Bootloader <http://sebastian-plotz.blogspot.de> |
393 | 12 OVMF UEFI virtualization stack | ||
389 | 394 | ||
390 | Please contact <hpa@zytor.com> if you need a bootloader ID | 395 | Please contact <hpa@zytor.com> if you need a bootloader ID |
391 | value assigned. | 396 | value assigned. |
@@ -582,6 +587,27 @@ Protocol: 2.10+ | |||
582 | misaligned kernel. Therefore, a loader should typically try each | 587 | misaligned kernel. Therefore, a loader should typically try each |
583 | power-of-two alignment from kernel_alignment down to this alignment. | 588 | power-of-two alignment from kernel_alignment down to this alignment. |
584 | 589 | ||
590 | Field name: xloadflags | ||
591 | Type: read | ||
592 | Offset/size: 0x236/2 | ||
593 | Protocol: 2.12+ | ||
594 | |||
595 | This field is a bitmask. | ||
596 | |||
597 | Bit 0 (read): XLF_KERNEL_64 | ||
598 | - If 1, this kernel has the legacy 64-bit entry point at 0x200. | ||
599 | |||
600 | Bit 1 (read): XLF_CAN_BE_LOADED_ABOVE_4G | ||
601 | - If 1, kernel/boot_params/cmdline/ramdisk can be above 4G. | ||
602 | |||
603 | Bit 2 (read): XLF_EFI_HANDOVER_32 | ||
604 | - If 1, the kernel supports the 32-bit EFI handoff entry point | ||
605 | given at handover_offset. | ||
606 | |||
607 | Bit 3 (read): XLF_EFI_HANDOVER_64 | ||
608 | - If 1, the kernel supports the 64-bit EFI handoff entry point | ||
609 | given at handover_offset + 0x200. | ||
610 | |||
585 | Field name: cmdline_size | 611 | Field name: cmdline_size |
586 | Type: read | 612 | Type: read |
587 | Offset/size: 0x238/4 | 613 | Offset/size: 0x238/4 |