DragonFly BSD
DragonFly commits List (threaded) for 2011-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 22 May 2011 04:28:48 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]