summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/include/param.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-11-30 20:58:19 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-11-30 20:58:19 +0000
commit745d3cdb629972b84e5ebf02d88ce8d5902fec67 (patch)
tree04416cc527292c0efb26cf4270719dcb372e0eaa /sys/arch/hp300/include/param.h
parent463b6bc74c14040de2242ab15ddb405114634436 (diff)
Switch to pmap_motorola.
Diffstat (limited to 'sys/arch/hp300/include/param.h')
-rw-r--r--sys/arch/hp300/include/param.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/sys/arch/hp300/include/param.h b/sys/arch/hp300/include/param.h
index e2a2fb05e49..4f5aca2782d 100644
--- a/sys/arch/hp300/include/param.h
+++ b/sys/arch/hp300/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.16 2001/07/18 10:47:04 art Exp $ */
+/* $OpenBSD: param.h,v 1.17 2001/11/30 20:58:18 miod Exp $ */
/* $NetBSD: param.h,v 1.35 1997/07/10 08:22:38 veego Exp $ */
/*
@@ -65,12 +65,6 @@
#define KERNBASE 0x00000000 /* start of kernel virtual */
-#define SEGSHIFT 22 /* LOG2(NBSEG) */
-#define NBSEG (1 << SEGSHIFT) /* bytes/segment */
-#define SEGOFSET (NBSEG-1) /* byte offset into segment */
-
-#define UPAGES 2 /* pages of u-area */
-
#include <m68k/param.h>
#define NPTEPG (NBPG/(sizeof (pt_entry_t)))
@@ -91,18 +85,4 @@
void _delay __P((u_int));
#endif /* _KERNEL && !_LOCORE */
-#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_ */