看板 DFBSD_commit 關於我們 聯絡資訊
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