x86_64/ioapic: Allow GSI's target CPU to be configured
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 29 Oct 2011 13:13:43 +0000 (21:13 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 29 Oct 2011 14:43:23 +0000 (22:43 +0800)
commit95874ffdec65823430464b7869d8f0acf75cc226
tree0836c9614da16fd030c683fec48866ec97fd30ff
parente5e63c204af3f7f4e4bc83d132314762b45ef78e
x86_64/ioapic: Allow GSI's target CPU to be configured

- Tuneable hw.ioapic.gsi.X.cpu is added, which could be used to specify
  the GSI X's target CPU id
- If hw.ioapic.gsi.X is not set, then GSI X will be target to CPU Y,
  Y = X % ncpus
sys/dev/acpica5/acpi_sci_var.h
sys/platform/pc64/acpica5/acpi_fadt.c
sys/platform/pc64/apic/ioapic.c
sys/platform/pc64/apic/ioapic.h
sys/platform/pc64/apic/ioapic_abi.c