aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-07-09 22:55:00 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-07-09 22:55:00 +0000
commit4afd44c16a80b7c86a7564ccdd66e2cc14e1cce6 (patch)
tree50871941a508cf517e5c96a2a5a0e32e507e11fd /sys
parent436e1f203f56d4c6a3bbdd94d16b522e2879e3b5 (diff)
Notes
Diffstat (limited to 'sys')
-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 cfd30e2517e87..1fd11e86d8bac 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++) {