git: i386/lapic: Handle the case that the CPU does not have LAPI

看板DFBSD_commit作者時間14年前 (2011/05/17 07:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit ac032dadbf456a0ee28a33d6cacf9eea96eea158 Author: Sepherosa Ziehau <sephe@dragonflybsd.org> Date: Fri May 13 11:26:32 2011 +0800 i386/lapic: Handle the case that the CPU does not have LAPIC for SMP kernel If LAPIC does not exist: - Reset apic_io_enable and reinitialize ICU if necessary; mainly for ICU's auto EOI setting. - Setup minimum information for BSP's globaldata While I'm here, add hw.lapic_enable tunable to test this feature (just don't use it :). Summary of changes: sys/platform/pc32/apic/lapic.c | 18 ++++++++++++++---- sys/platform/pc32/apic/lapic.h | 2 +- sys/platform/pc32/i386/mp_machdep.c | 28 +++++++++++++++++++++++++++- sys/platform/pc32/icu/icu.c | 30 ++++++++++++++++++++++++++++++ sys/platform/pc32/icu/icu_var.h | 3 +++ 5 files changed, 75 insertions(+), 6 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ac032dadbf456a0ee28a33d6cacf9eea96eea158 -- DragonFly BSD source repository
文章代碼(AID): #1DqRHCYw (DFBSD_commit)