diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-03 14:30:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-12-03 14:30:07 +0000 |
commit | adafd44db90a04c4df796b4e345001a39a835287 (patch) | |
tree | afd1335287af4838d4497cf55be1c065f245442c /sys/arch/m88k/include/asm.h | |
parent | 5652cf70d1907362b0d7f661c5edbbf19e021b8e (diff) |
Switch m88k ports to __HAVE_CPUINFO. Current cpu pointer is held in SR0
on all running processors.
Tested aoyama@ and I
Diffstat (limited to 'sys/arch/m88k/include/asm.h')
-rw-r--r-- | sys/arch/m88k/include/asm.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/m88k/include/asm.h b/sys/arch/m88k/include/asm.h index 20b21b078ca..536699246b4 100644 --- a/sys/arch/m88k/include/asm.h +++ b/sys/arch/m88k/include/asm.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asm.h,v 1.6 2005/10/13 19:47:12 miod Exp $ */ +/* $OpenBSD: asm.h,v 1.7 2005/12/03 14:30:05 miod Exp $ */ /* * Mach Operating System @@ -160,12 +160,6 @@ #define RTE NOP ; rte /* - * Fields in cr18. More bits are used privately in the exception handling - * code. - */ -#define FLAG_CPU_FIELD_WIDTH 2 /* must match cpu_number() */ - -/* * Info about the PSR */ #define PSR_SHADOW_FREEZE_BIT 0 @@ -184,6 +178,8 @@ #define VECTOR(x) \ word _C_LABEL(x) +#define CPU SR0 + #endif /* _LOCORE */ #define FLUSH_PIPELINE_STRING "tb1 0, r0, 0" |