summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-12-08 20:32:56 +0000
committermarcel <marcel@FreeBSD.org>2002-12-08 20:32:56 +0000
commit0c941a7611f8bce95e9c663c512391016d8177d6 (patch)
tree0b4d1a33cbd830a4100926e87d8860fcbed88b23 /sys
parent9d0493b32c2d030c5f803a5402f119d29aaa4a19 (diff)
downloadFreeBSD-src-0c941a7611f8bce95e9c663c512391016d8177d6.zip
FreeBSD-src-0c941a7611f8bce95e9c663c512391016d8177d6.tar.gz
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)
Diffstat (limited to 'sys')
-rw-r--r--sys/ia64/include/bootinfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ia64/include/bootinfo.h b/sys/ia64/include/bootinfo.h
index d4aec92..2ded699 100644
--- a/sys/ia64/include/bootinfo.h
+++ b/sys/ia64/include/bootinfo.h
@@ -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 */
OpenPOWER on IntegriCloud