Page MenuHomeFreeBSD

D58274.diff
No OneTemporary

D58274.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
@@ -54,6 +54,7 @@
#include <vm/vm_object.h>
#include <vm/vm_page.h>
#include <vm/vm_pager.h>
+#include <vm/vm_phys.h>
#include <vm/vm_radix.h>
/* The EFI regions we're allowed to map. */
@@ -253,6 +254,8 @@
"attributes unsupported\n", i);
mode = VM_MEMATTR_UNCACHEABLE;
}
+ (void)vm_phys_fictitious_reg_range(p->md_phys, p->md_phys +
+ p->md_pages * EFI_PAGE_SIZE, mode);
bits = pmap_cache_bits(kernel_pmap, mode, false) | X86_PG_RW |
X86_PG_V;
VM_OBJECT_WLOCK(obj_1t1_pt);

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 23, 5:51 AM (7 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35171223
Default Alt Text
D58274.diff (672 B)

Event Timeline