git: intr: Further delay MachIntrABI.finalize()

看板DFBSD_commit作者時間15年前 (2011/02/03 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 7bf5fa56b57c6864fef14bc71b211a265244d886 Author: Sepherosa Ziehau <sephe@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
文章代碼(AID): #1DIPlhZI (DFBSD_commit)