Page MenuHomeFreeBSD

D51183.1788548476.diff
No OneTemporary

Size
764 B
Referenced Files
None
Subscribers
None

D51183.1788548476.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
Fri, Sep 4, 7:01 PM (1 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29509239
Default Alt Text
D51183.1788548476.diff (764 B)

Event Timeline