freebsd-nq/sys/i386
John Baldwin c7362ff7fb Change the x86 code to allocate IDT vectors on-demand when an interrupt
source is first enabled similar to how intr_event's now allocate ithreads
on-demand.  Previously, we would map IDT vectors 1:1 to IRQs.  Since we
only have 191 available IDT vectors for I/O interrupts, this limited us
to only supporting IRQs 0-190 corresponding to the first 190 I/O APIC
intpins.  On many machines, however, each PCI-X bus has its own APIC even
though it only has 1 or 2 devices, thus, we were reserving between 24 and
32 IRQs just for 1 or 2 devices and thus 24 or 32 IDT vectors.  With this
change, a machine with 100 IRQs but only 5 in use will only use up 5 IDT
vectors.  Also, this change provides an API (apic_alloc_vector() and
apic_free_vector()) that will allow a future MSI interrupt source driver to
request IDT vectors for use by MSI interrupts on x86 machines.

Tested on:	amd64, i386
2005-11-02 20:11:47 +00:00
..
acpica Catch up with ACPI-CA 20051021 import 2005-11-01 22:44:08 +00:00
bios Fix build (including both asm.h and asmacros.h is evil). 2005-07-22 15:01:07 +00:00
compile
conf Throw the switch and turn on STOP_NMI on in GENERIC for amd64 and i386. 2005-11-01 22:59:03 +00:00
cpufreq Like acpi_throttle, set frequency to 100% in attach. Some BIOSen may set 2005-10-23 19:38:06 +00:00
i386 Change the x86 code to allocate IDT vectors on-demand when an interrupt 2005-11-02 20:11:47 +00:00
ibcs2 Add missing dependencies on the SYSVIPC modules. 2005-07-29 19:41:04 +00:00
include Change the x86 code to allocate IDT vectors on-demand when an interrupt 2005-11-02 20:11:47 +00:00
isa Finally complete some work on generalizing the PCF8584-based I2C 2005-10-28 15:58:19 +00:00
linux The signal code is now an int rather than a long, so update debug printfs. 2005-10-14 20:22:57 +00:00
pci Undo the change to pci_cfgdisable() on i386 for now. It seems to fix 2005-10-25 05:32:44 +00:00
svr4 Use svr4_si_{addr,code,errno,signo,trap} in preference to si_{...}. 2005-10-19 14:59:54 +00:00
Makefile