diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2005-08-14 10:58:37 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2005-08-14 10:58:37 +0000 |
commit | aa90e1774f220cac512a167a80241a994474f8e9 (patch) | |
tree | b0b1d0116d130ebc9fdfdad4d8fd5003440348f1 /sys/gnu/arch/i386 | |
parent | 7e00142ff0e7ff8241ff33647552b669d0dbbe08 (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')
0 files changed, 0 insertions, 0 deletions