diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-09-07 14:05:22 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-09-07 14:05:22 +0000 |
commit | 18bd159a580a44b19af5d98064b823eaeab285d7 (patch) | |
tree | be28b92f9eba618327f77417e37358a2c85ff846 /sys/arch/sun3/include/param.h | |
parent | 925d364360069859bf8d2b8eca85530aac12b5fa (diff) |
switch from private Mach derived conversion macros to m68k ones
Diffstat (limited to 'sys/arch/sun3/include/param.h')
-rw-r--r-- | sys/arch/sun3/include/param.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/sys/arch/sun3/include/param.h b/sys/arch/sun3/include/param.h index b9884ddb106..a6bca6b8ca7 100644 --- a/sys/arch/sun3/include/param.h +++ b/sys/arch/sun3/include/param.h @@ -1,4 +1,4 @@ -/* $OpenBSD: param.h,v 1.13 1997/02/14 23:50:18 kstailey Exp $ */ +/* $OpenBSD: param.h,v 1.14 1997/09/07 14:05:17 kstailey Exp $ */ /* $NetBSD: param.h,v 1.34 1996/03/04 05:04:40 cgd Exp $ */ /* @@ -137,19 +137,6 @@ #define bdbtofsb(bn) ((bn) / (BLKDEV_IOSIZE/DEV_BSIZE)) /* - * Mach derived conversion macros - */ -#define sun3_round_seg(x) ((((unsigned)(x)) + SEGOFSET) & ~SEGOFSET) -#define sun3_trunc_seg(x) ((unsigned)(x) & ~SEGOFSET) -#define sun3_btos(x) ((unsigned)(x) >> SEGSHIFT) -#define sun3_stob(x) ((unsigned)(x) << SEGSHIFT) - -#define sun3_round_page(x) ((((unsigned)(x)) + PGOFSET) & ~PGOFSET) -#define sun3_trunc_page(x) ((unsigned)(x) & ~PGOFSET) -#define sun3_btop(x) ((unsigned)(x) >> PGSHIFT) -#define sun3_ptob(x) ((unsigned)(x) << PGSHIFT) - -/* * spl functions; all are done in-line */ |