ioapic: Fix destination setting.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 21 May 2009 10:59:24 +0000 (18:59 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 21 May 2009 12:02:50 +0000 (20:02 +0800)
commit0c8fbc51d221ee2b9019302cdcef4c4c5029c56d
tree7c486f861088f92104657d67d85539a5b072b514
parent12b657fcb112462e6905f4fe2df9b24c15c0a417
ioapic: Fix destination setting.

Since the "destination mode" is physical, the "destination" should be
APIC ID instead of mask (set of processors).  Currently all interrupts
are delivered to CPU0 (BSP).
sys/platform/pc32/apic/apicreg.h
sys/platform/pc32/apic/mpapic.c