summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/include/param.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-02-22 22:45:35 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-02-22 22:45:35 +0000
commit58689227b203f959e5386aead56d74acf571f6d6 (patch)
tree0fe4a68a529bbff7009ac2da2fef67c789ac5750 /sys/arch/mvme68k/include/param.h
parent999f254bdd1f007fada89ad11fc0a375dc246c26 (diff)
Switch mvme68k to pmap_motorola again.
68060 operation tested by deraadt@
Diffstat (limited to 'sys/arch/mvme68k/include/param.h')
-rw-r--r--sys/arch/mvme68k/include/param.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/sys/arch/mvme68k/include/param.h b/sys/arch/mvme68k/include/param.h
index b3b64736ec6..a5bede421ac 100644
--- a/sys/arch/mvme68k/include/param.h
+++ b/sys/arch/mvme68k/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.16 2001/12/20 19:02:29 miod Exp $ */
+/* $OpenBSD: param.h,v 1.17 2002/02/22 22:45:34 miod Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -57,12 +57,6 @@
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
-#define NPTEPG (NBPG/(sizeof (pt_entry_t)))
-
-#define SEGSHIFT 22 /* LOG2(NBSEG) */
-#define NBSEG (1 << SEGSHIFT) /* bytes/segment */
-#define SEGOFSET (NBSEG-1) /* byte offset into segment */
-
#define KERNBASE 0x00000000 /* start of kernel virtual */
#define KERNTEXTOFF 0x00010000 /* start of kernel text */
@@ -92,17 +86,4 @@
#define DELAY(n) delay(n)
#endif
-#ifdef COMPAT_HPUX
-/*
- * Constants/macros for HPUX multiple mapping of user address space.
- * Pages in the first 256Mb are mapped in at every 256Mb segment.
- */
-#define HPMMMASK 0xF0000000
-#define ISHPMMADDR(v) \
- ((curproc->p_md.md_flags & MDP_HPUXMMAP) && \
- ((unsigned)(v) & HPMMMASK) && \
- ((unsigned)(v) & HPMMMASK) != HPMMMASK)
-#define HPMMBASEADDR(v) \
- ((unsigned)(v) & ~HPMMMASK)
-#endif
#endif /* _MACHINE_PARAM_H_ */