From adafd44db90a04c4df796b4e345001a39a835287 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 3 Dec 2005 14:30:07 +0000 Subject: Switch m88k ports to __HAVE_CPUINFO. Current cpu pointer is held in SR0 on all running processors. Tested aoyama@ and I --- sys/arch/luna88k/include/locore.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/arch/luna88k/include') diff --git a/sys/arch/luna88k/include/locore.h b/sys/arch/luna88k/include/locore.h index f31fd89595b..eeaacb50714 100644 --- a/sys/arch/luna88k/include/locore.h +++ b/sys/arch/luna88k/include/locore.h @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.h,v 1.5 2005/04/27 14:09:45 miod Exp $ */ +/* $OpenBSD: locore.h,v 1.6 2005/12/03 14:30:02 miod Exp $ */ #ifndef _MACHINE_LOCORE_H_ #define _MACHINE_LOCORE_H_ @@ -12,12 +12,12 @@ unsigned read_processor_identification_register(void); int badaddr(vaddr_t addr, int size); #define badwordaddr(x) badaddr(x, 4) -void set_cpu_number(unsigned number); void doboot(void); -/* locore_c_routines.c */ +/* machdep.c */ unsigned getipl(void); +void set_cpu_number(cpuid_t); /* eh.S */ -- cgit v1.2.3