diff options
author | Steve Murphree <smurph@cvs.openbsd.org> | 2001-02-01 03:38:24 +0000 |
---|---|---|
committer | Steve Murphree <smurph@cvs.openbsd.org> | 2001-02-01 03:38:24 +0000 |
commit | 8e8d908c6c5754fd0205eb089e6c5822f92d4473 (patch) | |
tree | 29b74cfdddc396e8a0985b07dd1affefefd062bf /sys/arch/mvme88k/include/asm.h | |
parent | be6f95e73cf569c2b374d15432a35d294774c196 (diff) |
Major changes to get MVME188 working. More header and code cleanups. The
kernel is tested on MVME188A/2P256 and MVME188A/1P64.
Diffstat (limited to 'sys/arch/mvme88k/include/asm.h')
-rw-r--r-- | sys/arch/mvme88k/include/asm.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sys/arch/mvme88k/include/asm.h b/sys/arch/mvme88k/include/asm.h index a72fcdaf82f..4540ecdc0b9 100644 --- a/sys/arch/mvme88k/include/asm.h +++ b/sys/arch/mvme88k/include/asm.h @@ -200,20 +200,19 @@ * in a rather precarious state and so special cautions must * be taken. */ -#define FLAG_CPU_FIELD_WIDTH 4 /* must be <= 12 */ +#define FLAG_CPU_FIELD_WIDTH 2 /* must be <= 12 */ #define FLAG_IGNORE_DATA_EXCEPTION 5 /* bit number 5 */ -#define FLAG_INTERRUPT_EXCEPTION 6 /* bit number 6 */ -#define FLAG_ENABLING_FPU 7 /* bit number 7 */ -#define FLAG_FROM_KERNEL 8 /* bit number 8 */ -#define FLAG_187 8 /* bit number 9 */ -#define FLAG_188 9 /* bit number 10 */ -#define FLAG_197 10 /* bit number 11 */ +#define FLAG_INTERRUPT_EXCEPTION 6 /* bit number 6 */ +#define FLAG_ENABLING_FPU 7 /* bit number 7 */ +#define FLAG_FROM_KERNEL 8 /* bit number 8 */ +#define FLAG_187 9 /* bit number 9 */ +#define FLAG_188 10 /* bit number 10 */ +#define FLAG_197 11 /* bit number 11 */ /* REGister OFFset into the E.F. (exception frame) */ #define REG_OFF(reg_num) ((reg_num) * 4) /* (num * sizeof(register int)) */ #define GENREG_OFF(num) (REG_OFF(EF_R0 + (num))) /* GENeral REGister OFFset */ - #define GENERAL_BREATHING_ROOM /* arbitrarily */ 200 #define KERNEL_STACK_BREATHING_ROOM \ (GENERAL_BREATHING_ROOM + SIZEOF_STRUCT_PCB + SIZEOF_STRUCT_UTHREAD) |