DragonFly BSD
DragonFly commits List (threaded) for 2011-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: mptable: Assign index for each IOAPIC


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Mar 2011 06:44:47 -0800 (PST)

commit 6b881b58c506886dea35c08ea7162676f639b86f
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Thu Mar 3 22:14:40 2011 +0800

    mptable: Assign index for each IOAPIC
    
    IOAPIC information is saved into list ordered by ascending order
    of IOAPIC's APIC ID and each IOAPIC is assigned an index according
    to the order.
    
    In this way we could use IOAPIC information extracted from ACPI
    MADT and MPTABLE in the same fashion when routing PCI interrupts,
    i.e. using index instead of APIC ID.  It has been observed that on
    some machines, the APIC ID of IOAPIC in ACPI MADT is different from
    the one in MPTABLE, but the order (index) is same.
    
    PCI interrupt routing information now saves IOAPIC's index instead
    of IOAPIC's APIC ID.

Summary of changes:
 sys/platform/pc32/i386/mp_machdep.c   |  247 +++++++++++++++++++++++----------
 sys/platform/pc64/x86_64/mp_machdep.c |  247 +++++++++++++++++++++++----------
 2 files changed, 352 insertions(+), 142 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6b881b58c506886dea35c08ea7162676f639b86f


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]