Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167490888
D58274.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
672 B
Referenced Files
None
Subscribers
None
D58274.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D58274: amd64 efirt: register all runtime regions as fictitious
Attached
Detach File
Event Timeline
Log In to Comment