diff options
author | marcel <marcel@FreeBSD.org> | 2007-08-11 19:25:32 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2007-08-11 19:25:32 +0000 |
commit | b031fef0fe7eeba046a2b3d41301aceb44002829 (patch) | |
tree | 5173256f6143a83fb0650d3f3d3b059f81b0c1b3 /lib/libcalendar | |
parent | 3a4b5d55d8c4fb5dafe3d58b83572ed5575bc2d6 (diff) | |
download | FreeBSD-src-b031fef0fe7eeba046a2b3d41301aceb44002829.zip FreeBSD-src-b031fef0fe7eeba046a2b3d41301aceb44002829.tar.gz |
Revamp the interrupt handling in support of INTR_FILTER. This includes:
o Revamp the PIC I/F to only abstract the PIC hardware. The
resource handling has been moved to nexus, where it belongs.
o Include EOI and MASK+EOI methods to the PIC I/F in support of
INTR_FILTER.
o With the allocation of interrupt resources and setup of
interrupt handlers in the common platform code we can delay
talking to the PIC hardware after enumeration of all devices.
Introduce a call to powerpc_intr_enable() in configure_final()
to achieve that and have powerpc_setup_intr() only program the
PIC when !cold.
o As a consequence of the above, remove all early_attach() glue
from the OpenPIC and Heathrow PIC drivers and have them
register themselves when they're found during enumeration.
o Decouple the interrupt vector from the interrupt request line.
Allocate vectors increasingly so that they can be used for
the intrcnt index as well. Extend the Heathrow PIC driver to
translate between IRQ and vector. The OpenPIC driver already
has the support for vectors in hardware.
Approved by: re (blanket)
Diffstat (limited to 'lib/libcalendar')
0 files changed, 0 insertions, 0 deletions