summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include/cpu.h
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1997-10-13 10:53:50 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1997-10-13 10:53:50 +0000
commitef834a87737378e1dc26e0e3e32e5d1445167855 (patch)
tree6d0361ba13d27d2dc1e4f8dac57eebd57defdded /sys/arch/powerpc/include/cpu.h
parent3741f00a6b332fa2e185b942e237df76267d52b8 (diff)
Monolithic PowerPC kernel, new include
Diffstat (limited to 'sys/arch/powerpc/include/cpu.h')
-rw-r--r--sys/arch/powerpc/include/cpu.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/powerpc/include/cpu.h b/sys/arch/powerpc/include/cpu.h
index 6c947c0c26e..964844e92ee 100644
--- a/sys/arch/powerpc/include/cpu.h
+++ b/sys/arch/powerpc/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.2 1996/12/28 06:25:03 rahnds Exp $ */
+/* $OpenBSD: cpu.h,v 1.3 1997/10/13 10:53:42 pefo Exp $ */
/* $NetBSD: cpu.h,v 1.1 1996/09/30 16:34:21 ws Exp $ */
/*
@@ -36,17 +36,8 @@
#include <machine/frame.h>
-struct machvec {
- void (*splx) __P((int));
- void (*irq_establish) __P((int, int, void (*)(void *), void *));
-};
-extern struct machvec machine_interface;
-
#include <machine/psl.h>
-#define irq_establish(irq, level, handler, arg) \
- ((*machine_interface.irq_establish)((irq), (level), (handler), (arg)))
-
#define CLKF_USERMODE(frame) (((frame)->srr1 & PSL_PR) != 0)
#define CLKF_BASEPRI(frame) ((frame)->pri == 0)
#define CLKF_PC(frame) ((frame)->srr0)