summaryrefslogtreecommitdiff
path: root/sys/gnu/arch/i386/fpemul/errors.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-08-14 10:58:37 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-08-14 10:58:37 +0000
commitaa90e1774f220cac512a167a80241a994474f8e9 (patch)
treeb0b1d0116d130ebc9fdfdad4d8fd5003440348f1 /sys/gnu/arch/i386/fpemul/errors.c
parent7e00142ff0e7ff8241ff33647552b669d0dbbe08 (diff)
Add more flexibility to the fast trap handlers mechanism:
- add the ability to deregister a fast trap handler. - when registering a fast trap, provide an optional callback which will be invoked if we try to register a regular trap handler later; the callback will be responsible to replace the fast trap handler with a regular trap handler (and is allowed to fail). Alter audioamd(4) to take advantage of this, so that it can share its interrupt with stp(4) on SPARCclassic machines. Problem found the hard way and fix tested by Jason George; discussed and ok deraadt@
Diffstat (limited to 'sys/gnu/arch/i386/fpemul/errors.c')
0 files changed, 0 insertions, 0 deletions