diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-05-27 19:42:50 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-05-27 19:42:50 +0000 |
commit | 402aa03071d553cf99947fd4e466dd800d31d0c5 (patch) | |
tree | 0ebea95f6f816eaaa9dbbec04f5e55dd7297e0c4 /sys/arch/amiga/include/pmap.h | |
parent | 25d93e6eef3f8d87cc125d62d6b3804351391681 (diff) |
MACHINE_NEW_NONCONTIG code for amiga. Enabled by default.
Old contig and NONCONTIG code will no longer work.
Diffstat (limited to 'sys/arch/amiga/include/pmap.h')
-rw-r--r-- | sys/arch/amiga/include/pmap.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/amiga/include/pmap.h b/sys/arch/amiga/include/pmap.h index da51ee3ed92..e318e9395a3 100644 --- a/sys/arch/amiga/include/pmap.h +++ b/sys/arch/amiga/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.3 1997/09/18 13:40:03 niklas Exp $ */ +/* $OpenBSD: pmap.h,v 1.4 2000/05/27 19:42:49 art Exp $ */ /* $NetBSD: pmap.h,v 1.17 1997/06/10 18:34:52 veego Exp $ */ /* @@ -131,12 +131,6 @@ u_int *Sysmap; char *vmmap; /* map for mem, dumps, etc. */ struct pmap kernel_pmap_store; -#ifdef MACHINE_NONCONTIG -#define pa_index(pa) pmap_page_index(pa) -#else -#define pa_index(pa) atop(pa - vm_first_phys) -#endif -#define pa_to_pvh(pa) (&pv_table[pa_index(pa)]) #define pmap_kernel() (&kernel_pmap_store) #define active_pmap(pm) \ ((pm) == pmap_kernel() || (pm) == curproc->p_vmspace->vm_map.pmap) |