zero-page.rst 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .. SPDX-License-Identifier: GPL-2.0
  2. =========
  3. Zero Page
  4. =========
  5. The additional fields in struct boot_params as a part of 32-bit boot
  6. protocol of kernel. These should be filled by bootloader or 16-bit
  7. real-mode setup code of the kernel. References/settings to it mainly
  8. are in::
  9. arch/x86/include/uapi/asm/bootparam.h
  10. =========== ===== ======================= =================================================
  11. Offset/Size Proto Name Meaning
  12. 000/040 ALL screen_info Text mode or frame buffer information
  13. (struct screen_info)
  14. 040/014 ALL apm_bios_info APM BIOS information (struct apm_bios_info)
  15. 058/008 ALL tboot_addr Physical address of tboot shared page
  16. 060/010 ALL ist_info Intel SpeedStep (IST) BIOS support information
  17. (struct ist_info)
  18. 070/008 ALL acpi_rsdp_addr Physical address of ACPI RSDP table
  19. 080/010 ALL hd0_info hd0 disk parameter, OBSOLETE!!
  20. 090/010 ALL hd1_info hd1 disk parameter, OBSOLETE!!
  21. 0A0/010 ALL sys_desc_table System description table (struct sys_desc_table),
  22. OBSOLETE!!
  23. 0B0/010 ALL olpc_ofw_header OLPC's OpenFirmware CIF and friends
  24. 0C0/004 ALL ext_ramdisk_image ramdisk_image high 32bits
  25. 0C4/004 ALL ext_ramdisk_size ramdisk_size high 32bits
  26. 0C8/004 ALL ext_cmd_line_ptr cmd_line_ptr high 32bits
  27. 13C/004 ALL cc_blob_address Physical address of Confidential Computing blob
  28. 140/080 ALL edid_info Video mode setup (struct edid_info)
  29. 1C0/020 ALL efi_info EFI 32 information (struct efi_info)
  30. 1E0/004 ALL alt_mem_k Alternative mem check, in KB
  31. 1E4/004 ALL scratch Scratch field for the kernel setup code
  32. 1E8/001 ALL e820_entries Number of entries in e820_table (below)
  33. 1E9/001 ALL eddbuf_entries Number of entries in eddbuf (below)
  34. 1EA/001 ALL edd_mbr_sig_buf_entries Number of entries in edd_mbr_sig_buffer
  35. (below)
  36. 1EB/001 ALL kbd_status Numlock is enabled
  37. 1EC/001 ALL secure_boot Secure boot is enabled in the firmware
  38. 1EF/001 ALL sentinel Used to detect broken bootloaders
  39. 290/040 ALL edd_mbr_sig_buffer EDD MBR signatures
  40. 2D0/A00 ALL e820_table E820 memory map table
  41. (array of struct e820_entry)
  42. D00/1EC ALL eddbuf EDD data (array of struct edd_info)
  43. =========== ===== ======================= =================================================