diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2009-12-11 03:08:07 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2009-12-11 03:08:07 +0000 |
commit | 57467e59336cecb6278637ab741895d0844e1956 (patch) | |
tree | 3d02fafe38705864703f4d2fdb83077d4de636df /lib/libtacplus/taclib_private.h | |
parent | ae6de8d67af370f9a7d1d1cfcb843fa565390945 (diff) |
Fix interrupt handling. It started off broken and grew worse over time.
The rewrite of the interrupt handler includes:
o loop until all pending interrupts are handled. This closes a
race condition.
o count the number of interrupt sources we handled so that we can
properly return FILTER_HANDLED or FILTER_STRAY when we break out
of the loop.
o When matching the interrupt source to the devices that have that
source pending, check only from the set of devices we found to
have a pending interrupt.
PR: kern/140947
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=200397
Diffstat (limited to 'lib/libtacplus/taclib_private.h')
0 files changed, 0 insertions, 0 deletions