git: i386/lapic: Allow vmware with single CPU to boot SMP kernel

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