svn commit: r236905 - projects/amd64_xen_pv/sys/amd64/xen
Cherry G. Mathew
cherry at FreeBSD.org
Mon Jun 11 18:26:19 UTC 2012
Author: cherry
Date: Mon Jun 11 18:26:18 2012
New Revision: 236905
URL: http://svn.freebsd.org/changeset/base/236905
Log:
Map in the console page using pmap_kenter(), since the backing table
hierarchy is easiest setup this way.
Approved by: gibbs(implicit)
Modified:
projects/amd64_xen_pv/sys/amd64/xen/pmap.c
Modified: projects/amd64_xen_pv/sys/amd64/xen/pmap.c
==============================================================================
--- projects/amd64_xen_pv/sys/amd64/xen/pmap.c Mon Jun 11 18:22:04 2012 (r236904)
+++ projects/amd64_xen_pv/sys/amd64/xen/pmap.c Mon Jun 11 18:26:18 2012 (r236905)
@@ -607,8 +607,8 @@ pmap_init(void)
vm_offset_t va = kmem_alloc_nofault(kernel_map, PAGE_SIZE);
KASSERT(va != 0, ("Could not allocate KVA for console page!\n"));
- PT_SET_MA(va, console_ma | PG_RW | PG_V | PG_U);
+ pmap_kenter(va, xpmap_mtop(console_ma));
console_page = (void *)va;
}
More information about the svn-src-projects
mailing list