diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-02-14 18:30:43 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-02-14 18:30:43 +0000 |
commit | 097cb26b58c23763ea91cfae3d6b6f6313589950 (patch) | |
tree | 6d7ebfc37d6d71c6a2e8d51628467b96224a69fd /sys/arch/sun3 | |
parent | 654811ed332d15acc636cca0371ec65f09c356da (diff) |
remove stuff that is in <m68k/cpu.h>
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r-- | sys/arch/sun3/include/cpu.h | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/sys/arch/sun3/include/cpu.h b/sys/arch/sun3/include/cpu.h index c93e4ff4a29..7b476ee988a 100644 --- a/sys/arch/sun3/include/cpu.h +++ b/sys/arch/sun3/include/cpu.h @@ -1,3 +1,4 @@ +/* $OpenBSD: cpu.h,v 1.9 1997/02/14 18:30:42 kstailey Exp $ */ /* $NetBSD: cpu.h,v 1.20 1995/12/21 05:02:10 mycroft Exp $ */ /* @@ -47,6 +48,11 @@ #ifndef _SUN3_CPU_H_ #define _SUN3_CPU_H_ +/* + * Get common m68k CPU definitions. + */ +#include <m68k/cpu.h> + #ifdef _KERNEL /* @@ -152,22 +158,6 @@ union sun3sir { extern unsigned char cpu_machine_id; -/* 680X0 function codes */ -#define FC_USERD 1 /* user data space */ -#define FC_USERP 2 /* user program space */ -#define FC_CONTROL 3 /* sun control space */ -#define FC_SUPERD 5 /* supervisor data space */ -#define FC_SUPERP 6 /* supervisor program space */ -#define FC_CPU 7 /* CPU space */ - -/* fields in the 68020 cache control register */ -#define IC_ENABLE 0x0001 /* enable instruction cache */ -#define IC_FREEZE 0x0002 /* freeze instruction cache */ -#define IC_CE 0x0004 /* clear instruction cache entry */ -#define IC_CLR 0x0008 /* clear entire instruction cache */ - -#define IC_CLEAR (IC_CLR|IC_ENABLE) - /* autoconf.c */ void configure __P((void)); |