From 05c100d21f4842eac4c0a05c240021795ab472dd Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Wed, 7 Apr 2010 18:52:51 +0000 Subject: [PATCH] Add EFI boot info fields. --- sys/i386/include/bootinfo.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/i386/include/bootinfo.h b/sys/i386/include/bootinfo.h index 09b4e2cc351c..9c36e2827129 100644 --- a/sys/i386/include/bootinfo.h +++ b/sys/i386/include/bootinfo.h @@ -65,6 +65,13 @@ struct bootinfo { u_int32_t bi_kernend; /* end of kernel space */ u_int32_t bi_envp; /* environment */ u_int32_t bi_modulep; /* preloaded modules */ + uint64_t bi_hcdp; /* DIG64 HCDP table */ + uint64_t bi_fpswa; /* FPSWA interface */ + uint64_t bi_systab; /* pa of EFI system table */ + uint64_t bi_memmap; /* pa of EFI memory map */ + uint64_t bi_memmap_size; /* size of EFI memory map */ + uint64_t bi_memdesc_size; /* sizeof EFI memory desc */ + uint32_t bi_memdesc_version; /* EFI memory desc version */ }; #ifdef _KERNEL