Source-Changes archive

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

CVS commit: src/sys/arch/arm/xscale



Module Name:    src
Committed By:   scw
Date:           Wed Nov  8 23:45:41 UTC 2006

Modified Files:
        src/sys/arch/arm/xscale: i80321_icu.c i80321_intr.h

Log Message:
If I80321_HPI_ENABLED is defined, add support for handling interrupts from
devices hooked up to the HPI pin.

HPIs cannot be masked at the interrupt controller; they can only be masked
by disabling IRQs in the XScale core. To deal with this, we tweak the
interrupt frame so that IRQs are disabled when the interrupt dispatcher
returns due to a masked HPI interrupt. IRQs will be re-enabled by a
subsequent splx(9).

Fortunately the only instance where HPI is used is for the console UART
on a couple of boards, so this hack does not adversely affect performance.

Contributed by Wasabi Systems.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/arch/arm/xscale/i80321_icu.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/arm/xscale/i80321_intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index