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.
This commit is contained in:
parent
26770348b8
commit
5ca42e0d4a
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user