diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-01 00:38:26 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-03-01 00:38:26 +0000 |
commit | b92b419a6a8ef401c8a4e022115bf3e18426eea0 (patch) | |
tree | ff214e6b334202d15c2b303427a2a5d2f16af4f0 /sys/kern/init_main.c | |
parent | 4f215f167e35940141001f7f31bfce350266d153 (diff) |
Merge of MACHINE_NEW_CONTIG (aka MNN) code from Chuck Cranor,
<chuck@openbsd.org>. This code is as of yet disabled on all platforms,
actually not yet supported on more than mvme68k, although other
platforms are expected soon, as code is already available.
This code makes handling of multiple physical memory regions
consistent over all platforms, as well as keeping the performance of
maintaining a single continuous memory chunk. It is also a
requirement for the upcoming UVM replacement VM system.
What I did in this merge: just declared the pmap_map function in a
MD include file per port that needs it. It's not an exported pmap
interface, says Chuck. It ended up in differnt include files on
differnet ports, as I tried to follow the current policy on a per-arch
basis.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 97a32834ff0..665be14f636 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.30 1998/02/20 13:41:33 niklas Exp $ */ +/* $OpenBSD: init_main.c,v 1.31 1998/03/01 00:37:54 niklas Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -196,6 +196,9 @@ main(framep) vm_mem_init(); kmeminit(); +#if defined(MACHINE_NEW_NONCONTIG) + vm_page_physrehash(); +#endif disk_init(); /* must come before autoconfiguration */ tty_init(); /* initialise tty's */ cpu_startup(); |