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

git: intr: Further delay MachIntrABI.finalize()


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 2 Feb 2011 08:09:17 -0800 (PST)

commit 7bf5fa56b57c6864fef14bc71b211a265244d886
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed Feb 2 23:55:43 2011 +0800

    intr: Further delay MachIntrABI.finalize()
    
    It only affects SMP case.  For ICU, it will be better if finalize()
    is called after IMCR detection is done, though on most modern systems
    IMCR does not exist.  For I/O APIC, finalize() _should_ be called
    after BSP's LAPIC is initialized, since it alters BSP LAPIC's LINT0
    and LINT1 configuration.
    
    Add stabilize() ABI to MachIntrABI which is only implemented by ICU
    currently and this ABI is called in the place where finalize() used
    to be called.

Summary of changes:
 sys/kern/init_main.c                       |    2 +-
 sys/platform/pc32/apic/ioapic_abi.c        |   40 +++++++++++++----
 sys/platform/pc32/i386/machdep.c           |    2 +
 sys/platform/pc32/i386/mp_machdep.c        |    3 +
 sys/platform/pc32/icu/icu_abi.c            |   67 +++++++++++++++++++--------
 sys/platform/pc64/apic/ioapic_abi.c        |   42 +++++++++++++----
 sys/platform/pc64/icu/icu_abi.c            |   67 +++++++++++++++++++--------
 sys/platform/pc64/x86_64/machdep.c         |    2 +
 sys/platform/pc64/x86_64/mp_machdep.c      |    3 +
 sys/platform/vkernel/platform/machintr.c   |    9 +++-
 sys/platform/vkernel64/platform/machintr.c |    9 +++-
 sys/sys/machintr.h                         |    1 +
 12 files changed, 185 insertions(+), 62 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7bf5fa56b57c6864fef14bc71b211a265244d886


-- 
DragonFly BSD source repository



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