cvs commit: src/sys/arm/arm intr.c nexus.c src/sys/arm/include
raj at FreeBSD.org
Thu Sep 11 12:36:26 UTC 2008
raj 2008-09-11 12:36:13 UTC
FreeBSD src repository
sys/arm/arm intr.c nexus.c
SVN rev 182933 on 2008-09-11 12:36:13Z by raj
ARM interrupts improvements.
- Fix nexus_setup_intr() abuse of setting up multiple IRQs in one go. Calling
arm_setup_irqhandler() in loop is bogus, as there's just one cookie given
from the caller and it is overwritten in each iteration so that only the
last handler's cookie value prevails.
- Proper intr masking/unmasking handling: the IRQ source is masked at PIC level
only after the last handler has been removed from the list.
Reviewed by: cognet, imp, sam, stass
Obtained from: Grzegorz Bernacki gjb ! semihalf dot com
Revision Changes Path
1.24 +12 -2 src/sys/arm/arm/intr.c
1.13 +3 -11 src/sys/arm/arm/nexus.c
1.10 +1 -1 src/sys/arm/include/intr.h
More information about the cvs-all