git: intr: Further delay MachIntrABI.finalize()

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Feb 2 08:09:57 PST 2011


commit 7bf5fa56b57c6864fef14bc71b211a265244d886
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list