diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/i386/i386/pmap.c | 4 | ||||
-rw-r--r-- | sys/arch/i386/i386/pmap.old.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmap.c b/sys/arch/i386/i386/pmap.c index 87928d9caad..ffe15058102 100644 --- a/sys/arch/i386/i386/pmap.c +++ b/sys/arch/i386/i386/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.30 1999/07/02 12:25:50 niklas Exp $ */ +/* $OpenBSD: pmap.c,v 1.31 1999/08/25 09:13:53 ho Exp $ */ /* $NetBSD: pmap.c,v 1.36 1996/05/03 19:42:22 christos Exp $ */ /* @@ -301,6 +301,7 @@ pmap_bootstrap(virtual_start) */ virtual_avail = reserve_dumppages(virtual_avail); +#if !defined(UVM) /* flawed, no mappings?? */ if (ctob(physmem) > 31*1024*1024 && MAXKPDE != NKPDE) { vm_offset_t p; @@ -313,6 +314,7 @@ pmap_bootstrap(virtual_start) PTD[KPTDI+i] = (pd_entry_t)p | PG_V | PG_KW; } +#endif /* * we must call vm_page_physload() after we are done playing diff --git a/sys/arch/i386/i386/pmap.old.c b/sys/arch/i386/i386/pmap.old.c index bfd7f719470..50fb4a90c3e 100644 --- a/sys/arch/i386/i386/pmap.old.c +++ b/sys/arch/i386/i386/pmap.old.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.old.c,v 1.30 1999/07/02 12:25:50 niklas Exp $ */ +/* $OpenBSD: pmap.old.c,v 1.31 1999/08/25 09:13:53 ho Exp $ */ /* $NetBSD: pmap.c,v 1.36 1996/05/03 19:42:22 christos Exp $ */ /* @@ -301,6 +301,7 @@ pmap_bootstrap(virtual_start) */ virtual_avail = reserve_dumppages(virtual_avail); +#if !defined(UVM) /* flawed, no mappings?? */ if (ctob(physmem) > 31*1024*1024 && MAXKPDE != NKPDE) { vm_offset_t p; @@ -313,6 +314,7 @@ pmap_bootstrap(virtual_start) PTD[KPTDI+i] = (pd_entry_t)p | PG_V | PG_KW; } +#endif /* * we must call vm_page_physload() after we are done playing |