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/pc532 | |
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/pc532')
-rw-r--r-- | sys/arch/pc532/include/cpu.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/arch/pc532/include/cpu.h b/sys/arch/pc532/include/cpu.h index 454bca5c00e..1c4199407bd 100644 --- a/sys/arch/pc532/include/cpu.h +++ b/sys/arch/pc532/include/cpu.h @@ -1,3 +1,4 @@ +/* $OpenBSD: cpu.h,v 1.2 1998/03/01 00:37:46 niklas Exp $ */ /* $NetBSD: cpu.h,v 1.12 1995/06/28 02:55:56 cgd Exp $ */ /*- @@ -116,4 +117,14 @@ int want_resched; /* resched() was called */ { "console_device", CTLTYPE_STRUCT }, \ } +#ifdef _KERNEL + +/* + * Prototypes from pmap.c: + */ +void pmap_bootstrap __P((vm_offset_t, vm_offset_t)); +vm_offset_t pmap_map __P((vm_offset_t, vm_offset_t, vm_offset_t, int)); + +#endif /* _KERNEL */ + #endif |