Module Name: src Committed By: khorben Date: Fri May 10 00:57:56 UTC 2013
Modified Files: src/sys/arch/arm/pic [khorben-n900]: pic.c picvar.h Log Message: Allow interrupt handlers to be temporarily disabled or enabled again, including from within interrupt context: returning non-zero keeps the handler enabled (as previously), while returning zero disables the interrupt until a call to intr_enable(). This is necessary with the TPS65950 companion chip because: - it interrupts on the main code (via IRQ_SYS_nIRQ0) - interrupt handling requires I2C traffic (to access registers) - interrupt-based interaction is necessary with this chip (keypad, GPIO...) XXX Affects other ARM devices using the ARM PIC code, additional code review is required to address them. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.15.6.1 src/sys/arch/arm/pic/pic.c cvs rdiff -u -r1.7 -r1.7.8.1 src/sys/arch/arm/pic/picvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.