From 5ca42e0d4a3322302d1e17b36c32d8d84850204c Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 9 Jul 2003 22:55:00 +0000 Subject: [PATCH] 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. --- sys/amd64/amd64/pmap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index cfd30e2517e8..1fd11e86d8ba 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++) {