git: i386/lapic: Handle the case that the CPU does not have LAPIC for SMP kernel
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Fri May 13 01:41:17 PDT 2011
commit ac032dadbf456a0ee28a33d6cacf9eea96eea158
Author: Sepherosa Ziehau <sephe at 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
More information about the Commits
mailing list