diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-03-20 20:59:55 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-03-20 20:59:55 +0000 |
commit | edb06578c73fe05fb3c9ab52a47e1d0a34eca656 (patch) | |
tree | 0c292f80e38cc053d22638c7a85f354f2a842154 /sys/arch/macppc/include | |
parent | c0b399741b60996c0b30aaa0dc02061dc731634c (diff) |
Move macppc to __HAVE_CPUINFO, and make locore.S and trap.c suitable for
MULTIPROCESSOR. From now on sprg0 holds a pointer to struct cpuinfo, which
is used to spill registers to during trap instead of the globals we used to
use for that purpose. Bits and pieces from NetBSD. Help from drahn@ and art@.
Tested by xsa@, thib@, miod@, gwk@, deraadt@.
ok drahn@, gwk@
Diffstat (limited to 'sys/arch/macppc/include')
-rw-r--r-- | sys/arch/macppc/include/lock.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arch/macppc/include/lock.h b/sys/arch/macppc/include/lock.h new file mode 100644 index 00000000000..3d6062974ab --- /dev/null +++ b/sys/arch/macppc/include/lock.h @@ -0,0 +1,3 @@ +/* $OpenBSD: lock.h,v 1.1 2007/03/20 20:59:53 kettenis Exp $ */ + +#include <powerpc/lock.h> |