git: i386/lapic: Allow vmware with single CPU to boot SMP kernel
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Sun May 22 04:34:35 PDT 2011
commit 6f0abb1e12ab81f12a880b6cff8c32b9c51e41d7
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Sun May 22 19:10:10 2011 +0800
i386/lapic: Allow vmware with single CPU to boot SMP kernel
It looks like that if only one CPU is configured in vmware, then
LAPIC will not work at all, so LAPIC will not be enabled if this
kind of configuration is detected.
Currently we detect vmware using cpu_feature2's CPUID2_VMM bit.
Thank swildner@ for providing necessary information on this.
Summary of changes:
sys/cpu/i386/include/specialreg.h | 1 +
sys/platform/pc32/apic/lapic.c | 13 +++++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6f0abb1e12ab81f12a880b6cff8c32b9c51e41d7
--
DragonFly BSD source repository
More information about the Commits
mailing list