cvs commit: src/sys/sparc64/fhc fhc.c src/sys/sparc64/include
bus_common.h intr_machdep.h src/sys/sparc64/pci psycho.c
src/sys/sparc64/sbus sbus.c src/sys/sparc64/sparc64 intr_machdep.c
mp_machdep.c nexus.c upa.c
Marius Strobl
marius at FreeBSD.org
Wed Apr 23 20:04:39 UTC 2008
marius 2008-04-23 20:04:39 UTC
FreeBSD src repository
Modified files:
sys/sparc64/fhc fhc.c
sys/sparc64/include bus_common.h intr_machdep.h
sys/sparc64/pci psycho.c
sys/sparc64/sbus sbus.c
sys/sparc64/sparc64 intr_machdep.c mp_machdep.c nexus.c upa.c
Log:
o Rename ic_eoi to ic_clear to emphasize the functions it points
don't send and EOI which works like on amd64/i386 and blocks all
interrupts on the relevant interrupt controller.
o Replace the post_filter and post_inthread hooks registered when
creating the interrupt events with just ic_clear as on sparc64 we
don't need to do any disable->EOI->enable dance to unblock all but
the relevant interrupt while running the filter or handler; just
not clearing the interrupt already has the same effect.
o Merge from amd64/i386:
- Split the intr_table_lock into an sx lock used for most things,
and a spin lock to protect intrcnt_index.
- Add support for binding interrupts to CPUs, including for the
bus_bind_intr(9) interface, a assign_cpu hook and initially
shuffling interrupts arround in a round-robin fashion.
Reviewed by: jhb
MFC after: 1 month
Revision Changes Path
1.19 +16 -3 src/sys/sparc64/fhc/fhc.c
1.8 +7 -4 src/sys/sparc64/include/bus_common.h
1.19 +6 -1 src/sys/sparc64/include/intr_machdep.h
1.75 +15 -3 src/sys/sparc64/pci/psycho.c
1.47 +16 -3 src/sys/sparc64/sbus/sbus.c
1.34 +170 -49 src/sys/sparc64/sparc64/intr_machdep.c
1.40 +3 -2 src/sys/sparc64/sparc64/mp_machdep.c
1.21 +15 -0 src/sys/sparc64/sparc64/nexus.c
1.10 +13 -0 src/sys/sparc64/sparc64/upa.c
More information about the cvs-src
mailing list