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/arch/hp300 | |
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/arch/hp300')
-rw-r--r-- | sys/arch/hp300/include/cpu.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/hp300/include/cpu.h b/sys/arch/hp300/include/cpu.h index ba48571cc47..56740ac457d 100644 --- a/sys/arch/hp300/include/cpu.h +++ b/sys/arch/hp300/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.8 1997/07/06 08:02:11 downsj Exp $ */ +/* $OpenBSD: cpu.h,v 1.9 1998/03/01 00:37:31 niklas Exp $ */ /* $NetBSD: cpu.h,v 1.25 1997/04/27 20:37:07 thorpej Exp $ */ /* @@ -180,6 +180,9 @@ int badbaddr __P((caddr_t)); void regdump __P((struct frame *, int)); void dumpconf __P((void)); +/* pmap.c functions */ +vm_offset_t pmap_map __P((vm_offset_t, vm_offset_t, vm_offset_t, int)); + /* sys_machdep.c functions */ int cachectl __P((int, caddr_t, int)); @@ -191,7 +194,7 @@ int kvtop __P((caddr_t)); /* what is this supposed to do? i.e. how is it different than startrtclock? */ #define enablertclock() -#endif +#endif /* _KERNEL */ /* physical memory sections */ #define ROMBASE (0x00000000) |