mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-05 09:14:03 +00:00
Use one of the bi_spare entries for the DIG64 HCDP table address.
The HCDP table is one (non-proprietary) way for the platform to inform the OS about headless operation. This field would normally hold the address as can be found by scanning the EFI system table, which we also pass to the kernel. The apparent duplication allows us to synthesize a HCDP table in the loader by whatever means we can think of, including relocating the platform table into pre- mapped address space. In short: it gives us more freedom. Approved by: re (blanket)
This commit is contained in:
parent
c0fabbfb90
commit
7b54e1ca53
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107685
@ -46,7 +46,8 @@
|
||||
struct bootinfo {
|
||||
u_int64_t bi_magic; /* BOOTINFO_MAGIC */
|
||||
u_int64_t bi_version; /* version 1 */
|
||||
u_int64_t bi_spare[7]; /* was: name of booted kernel */
|
||||
u_int64_t bi_spare[6]; /* was: name of booted kernel */
|
||||
u_int64_t bi_hcdp; /* DIG64 HCDP table */
|
||||
u_int64_t bi_fpswa; /* FPSWA interface */
|
||||
u_int64_t bi_boothowto; /* value for boothowto */
|
||||
u_int64_t bi_systab; /* pa of EFI system table */
|
||||
|
Loading…
Reference in New Issue
Block a user