summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sun3/include/param.h21
1 files changed, 3 insertions, 18 deletions
diff --git a/sys/arch/sun3/include/param.h b/sys/arch/sun3/include/param.h
index a6bca6b8ca7..7dc04aaaf16 100644
--- a/sys/arch/sun3/include/param.h
+++ b/sys/arch/sun3/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.14 1997/09/07 14:05:17 kstailey Exp $ */
+/* $OpenBSD: param.h,v 1.15 1997/09/08 01:30:30 kstailey Exp $ */
/* $NetBSD: param.h,v 1.34 1996/03/04 05:04:40 cgd Exp $ */
/*
@@ -60,11 +60,9 @@
* for all data types (int, long, ...). The result is u_int and
* must be cast to any desired pointer type.
*/
-#define ALIGNBYTES 3
+
#define ALIGN(p) (((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES)
-#define NBPG 8192 /* bytes/page */
-#define PGOFSET (NBPG-1) /* byte offset into page */
#define PGSHIFT 13 /* LOG2(NBPG) */
#define NBSG 0x20000 /* bytes/segment */
@@ -75,20 +73,7 @@
#define BTOPKERNBASE ((u_long)KERNBASE >> PGSHIFT)
#define KERNTEXTOFF 0x0E004000 /* start of kernel text */
-#define DEV_BSIZE 512
-#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */
-#define BLKDEV_IOSIZE 2048
-#define MAXPHYS (64 * 1024) /* max raw I/O transfer size */
-
-#define CLSIZE 1
-#define CLSIZELOG2 0
-
-/* NOTE: SSIZE, SINCR and UPAGES must be multiples of CLSIZE */
-#define SSIZE 1 /* initial stack size/NBPG */
-#define SINCR 1 /* increment of stack/NBPG */
-
-#define UPAGES 2 /* pages of u-area */
-#define USPACE (UPAGES << PGSHIFT)
+#include <m68k/param.h>
/*
* Constants related to network buffer management.