DragonFly commits List (threaded) for 2011-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: i386/lapic: Handle the case that the CPU does not have LAPIC for SMP kernel
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]