[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [khorben-n900] src/sys/arch/arm/pic
Module Name: src
Committed By: khorben
Date: Fri May 10 00:57:56 UTC 2013
src/sys/arch/arm/pic [khorben-n900]: pic.c picvar.h
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 -r18.104.22.168 src/sys/arch/arm/pic/pic.c
cvs rdiff -u -r1.7 -r22.214.171.124 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.
Main Index |
Thread Index |