diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-01 17:43:26 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-01 17:43:26 +0000 |
commit | cec7dc19b3324cb403321874029d652f4a378a2d (patch) | |
tree | 9fcc9b89a72891f2ee5dddd9e3e6a75dfff77e81 /sys/arch/m88k/include | |
parent | 8f54fb6926d4725e4d6342aa5abe1e249a028cf8 (diff) |
Files forgotten during last commit:
Rework nmi handling to handle ``complex'' NMI faster, and return as fast as
possible from the exception, without doing the AST and softintr dance.
This should avoid too much stack usage under load.
ok deraadt@
Diffstat (limited to 'sys/arch/m88k/include')
-rw-r--r-- | sys/arch/m88k/include/trap.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/m88k/include/trap.h b/sys/arch/m88k/include/trap.h index 6c65ba34f4a..642b447d1b6 100644 --- a/sys/arch/m88k/include/trap.h +++ b/sys/arch/m88k/include/trap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.h,v 1.8 2009/02/16 22:55:03 miod Exp $ */ +/* $OpenBSD: trap.h,v 1.9 2009/03/01 17:43:23 miod Exp $ */ /* * Mach Operating System * Copyright (c) 1992 Carnegie Mellon University @@ -57,10 +57,11 @@ #ifndef _LOCORE -void cache_flush(struct trapframe *); void ast(struct trapframe *); -void nmi(struct trapframe *); +void cache_flush(struct trapframe *); void interrupt(struct trapframe *); +int nmi(struct trapframe *); +void nmi_wrapup(struct trapframe *); void m88100_syscall(register_t, struct trapframe *); void m88100_trap(u_int, struct trapframe *); |