Page MenuHomeFreeBSD

D51183.diff
No OneTemporary

D51183.diff

diff --git a/sys/amd64/amd64/efirt_machdep.c b/sys/amd64/amd64/efirt_machdep.c
--- a/sys/amd64/amd64/efirt_machdep.c
+++ b/sys/amd64/amd64/efirt_machdep.c
@@ -63,8 +63,6 @@
1u << EFI_MD_TYPE_FIRMWARE \
)
-uint32_t efi_map_regs;
-
static pml5_entry_t *efi_pml5;
static pml4_entry_t *efi_pml4;
static vm_object_t obj_1t1_pt;
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -188,6 +188,12 @@
*/
vm_paddr_t efi_systbl_phys;
+/*
+ * Bitmap of extra EFI memory region types that should be preserved and mapped
+ * during runtime services calls.
+ */
+uint32_t efi_map_regs;
+
/* Intel ICH registers */
#define ICH_PMBASE 0x400
#define ICH_SMI_EN ICH_PMBASE + 0x30

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 21, 5:42 PM (11 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27117632
Default Alt Text
D51183.diff (764 B)

Event Timeline