summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-07-09 22:55:00 +0000
committerpeter <peter@FreeBSD.org>2003-07-09 22:55:00 +0000
commit5ca42e0d4a3322302d1e17b36c32d8d84850204c (patch)
tree50871941a508cf517e5c96a2a5a0e32e507e11fd /sys/amd64
parent26770348b8cb6bcc2c3e86a8073caab45ed74d58 (diff)
downloadFreeBSD-src-5ca42e0d4a3322302d1e17b36c32d8d84850204c.zip
FreeBSD-src-5ca42e0d4a3322302d1e17b36c32d8d84850204c.tar.gz
Turn the 2MB page mappings that cover the kernel text+data+bss area back
on now that pmap_pte() can handle it. I never actually ran into anything that broke that I know of, but this was turned off as a precaution.
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index cfd30e2..1fd11e8 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -388,14 +388,12 @@ create_pagetables(void)
((pd_entry_t *)KPDphys)[i] |= PG_RW | PG_V;
}
-#if 0
/* Map from zero to end of allocations under 2M pages */
/* This replaces some of the KPTphys entries above */
for (i = 0; (i << PDRSHIFT) < avail_start; i++) {
((pd_entry_t *)KPDphys)[i] = i << PDRSHIFT;
((pd_entry_t *)KPDphys)[i] |= PG_RW | PG_V | PG_PS;
}
-#endif
/* And connect up the PD to the PDP */
for (i = 0; i < NKPDPE; i++) {
OpenPOWER on IntegriCloud