diff options
author | jhb <jhb@FreeBSD.org> | 2006-11-13 22:23:34 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-11-13 22:23:34 +0000 |
commit | fa70d013974c2fa6347ccc628becfdfcdbddc617 (patch) | |
tree | 73f5aafc03e3a710fa43be47c1b42fa68959a2bb /sys/conf/files.amd64 | |
parent | d055bdf0ca2fa4ba26cc9a2bf7648eff24fb1cdd (diff) | |
download | FreeBSD-src-fa70d013974c2fa6347ccc628becfdfcdbddc617.zip FreeBSD-src-fa70d013974c2fa6347ccc628becfdfcdbddc617.tar.gz |
MD support for PCI Message Signalled Interrupts on amd64 and i386:
- Add a new apic_alloc_vectors() method to the local APIC support code
to allocate N contiguous IDT vectors (aligned on a M >= N boundary).
This function is used to allocate IDT vectors for a group of MSI
messages.
- Add MSI and MSI-X PICs. The PIC code here provides methods to manage
edge-triggered MSI messages as x86 interrupt sources. In addition to
the PIC methods, msi.c also includes methods to allocate and release
MSI and MSI-X messages. For x86, we allow for up to 128 different
MSI IRQs starting at IRQ 256 (IRQs 0-15 are reserved for ISA IRQs,
16-254 for APIC PCI IRQs, and IRQ 255 is reserved).
- Add pcib_(alloc|release)_msi[x]() methods to the MD x86 PCI bridge
drivers to bubble the request up to the nexus driver.
- Add pcib_(alloc|release)_msi[x]() methods to the x86 nexus drivers that
ask the MSI PIC code to allocate resources and IDT vectors.
MFC after: 2 months
Diffstat (limited to 'sys/conf/files.amd64')
-rw-r--r-- | sys/conf/files.amd64 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files.amd64 b/sys/conf/files.amd64 index 3d3bc8c..b961ab7 100644 --- a/sys/conf/files.amd64 +++ b/sys/conf/files.amd64 @@ -114,6 +114,7 @@ amd64/amd64/mp_watchdog.c optional mp_watchdog smp amd64/amd64/mpboot.S optional smp amd64/amd64/mptable.c optional mptable amd64/amd64/mptable_pci.c optional mptable pci +amd64/amd64/msi.c optional pci amd64/amd64/nexus.c standard amd64/amd64/pmap.c standard amd64/amd64/prof_machdep.c optional profiling-routine |