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

git: ioapic/icu: Rework PIC selection code


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 29 Jan 2011 23:56:58 -0800 (PST)

commit 10db3cc6642ceef0ebeba467ff8834eb194f15d6
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sun Jan 30 14:33:52 2011 +0800

    ioapic/icu: Rework PIC selection code
    
    - In the early stage, before I/O APIC is detected and setup, ICU controls
      interrupts, so all IDT entries should be set to ICU's intr code.
    - Switch to I/O APIC only after ICU is completely disconnected, i.e. after
      IMCR is set and LINT0 is masked.

Summary of changes:
 sys/platform/pc32/apic/apic_abi.c    |   46 +++++++++++++++++++-----------
 sys/platform/pc32/i386/machdep.c     |    5 +---
 sys/platform/pc32/icu/icu_abi.c      |   50 +++++++++++++++++++++++++--------
 sys/platform/pc32/isa/intr_machdep.c |   17 +++++++++---
 sys/platform/pc64/apic/apic_abi.c    |   45 +++++++++++++++++++-----------
 sys/platform/pc64/icu/icu_abi.c      |   50 +++++++++++++++++++++++++--------
 sys/platform/pc64/isa/intr_machdep.c |   17 +++++++++---
 sys/platform/pc64/x86_64/machdep.c   |    5 +---
 sys/sys/machintr.h                   |    4 +--
 9 files changed, 163 insertions(+), 76 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/10db3cc6642ceef0ebeba467ff8834eb194f15d6


-- 
DragonFly BSD source repository



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