Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Clarification on enable_interrupts

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

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

Home | Main Index | Thread Index | Old Index