git: x86_64: Handle I/O APIC probing failure

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun May 15 00:17:43 PDT 2011


commit 944562df8d40fa1b6949f95af19ef90cc4e8227b
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun May 15 14:50:30 2011 +0800

    x86_64: Handle I/O APIC probing failure
    
    If I/O APIC does not exist:
    - Reset apic_io_enable and reinitialize ICU if necessary; mainly for
      ICU's auto EOI setting.
    - Enable LAPIC LINT0 and disable LAPIC LINT1
    
    While I'm here, add hw.ioapic_probe tunable to test this feature (again,
    just don't it :)

Summary of changes:
 sys/platform/pc64/apic/ioapic.c       |   21 +++++++++++++--------
 sys/platform/pc64/apic/ioapic.h       |    2 +-
 sys/platform/pc64/apic/lapic.c        |   18 ++++++++++++++++++
 sys/platform/pc64/apic/lapic.h        |    1 +
 sys/platform/pc64/x86_64/mp_machdep.c |   10 ++++++++--
 5 files changed, 41 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/944562df8d40fa1b6949f95af19ef90cc4e8227b


-- 
DragonFly BSD source repository





More information about the Commits mailing list