diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-13 23:33:52 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-02-13 23:33:52 +0000 |
commit | 2dc2042bb25ae7948f3114b475b6b30dca9a4a5f (patch) | |
tree | 377bf31d5e3f16c6e50dbad393fddd929f1a0990 /sys/arch/mvme88k/include/cpu.h | |
parent | 1d0447febbaba751d981f87487a78f0b97db5386 (diff) |
Use a different dispatcher for the NMI traps on 88110, these are too
different from regular hardware interrupts to be worth handling the
same way.
Disable IPI reception while we are handling pending IPIs. And do not
reenable them by mistake if we need to send an IPI in return.
This lets GENERIC.MP boot single user on a MVME197DP. There are still
many bugs to fix.
Diffstat (limited to 'sys/arch/mvme88k/include/cpu.h')
-rw-r--r-- | sys/arch/mvme88k/include/cpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/include/cpu.h b/sys/arch/mvme88k/include/cpu.h index a1c53d3aa8d..ea9cdff7d44 100644 --- a/sys/arch/mvme88k/include/cpu.h +++ b/sys/arch/mvme88k/include/cpu.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.h,v 1.38 2009/02/13 23:26:51 miod Exp $ */ +/* $OpenBSD: cpu.h,v 1.39 2009/02/13 23:33:51 miod Exp $ */ /* * Copyright (c) 1996 Nivas Madhur * Copyright (c) 1992, 1993 @@ -48,6 +48,8 @@ /* board dependent pointers */ extern void (*md_interrupt_func_ptr)(u_int, struct trapframe *); #define md_interrupt_func (*md_interrupt_func_ptr) +extern void (*md_nmi_func_ptr)(struct trapframe *); +#define md_nmi_func (*md_nmi_func_ptr) extern u_int (*md_getipl)(void); extern u_int (*md_setipl)(u_int); extern u_int (*md_raiseipl)(u_int); |