29 Mar 2012 07:01
Clarification on enable_interrupts
Linu Cherian <linucherian <at> gmail.com>
2012-03-29 05:01:53 GMT
2012-03-29 05:01:53 GMT
Hi, While trying to understand the arm interrupt controller driver code, got into some confusions. Older interrupt controller drivers which didnt use the pic interface(arch/arm/pic), calls "enable_interrupts" in their attach functions. eg. arm/arm/omap/omap_intr.c. This looks very straightforward since interrupts are expected to be enabled, when the autoconf gets completed and also after the interrupt controller is initialized. But at the same time, the newer interrupt controller drivers which uses the pic interface doesnt call enable_interrupts in their attach function. Couldnt really figure out how and where the processor interrupt is getting enabled(by clearing the I bit in CPSR). Appreciate your help in understanding this. -- -- Linu cherian
RSS Feed