git: ioapic/icu: Rework PIC selection code

看板DFBSD_commit作者時間15年前 (2011/01/30 16:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DHHh156 (DFBSD_commit)