On Fri, Oct 23, 2009 at 1:52 PM, Myles Watson <[email protected]> wrote:
> Add options to the debugging menu to disable logical processors and SMP. > > They both depend on EXPERT, and MAX_CPUS depends on disabling logical > processors so that no one tries to run a quad core CPU with only one stack. > > Signed-off-by: Myles Watson <[email protected]> > I decided that it makes more sense to directly change SMP, not MAX_CPUS. I made SMP depend on MAX_PHYSICAL_CPUS so that you are not prompted to disable SMP unless you have multiple sockets. Thanks, Myles
Index: svn/src/Kconfig =================================================================== --- svn.orig/src/Kconfig +++ svn/src/Kconfig @@ -404,6 +404,19 @@ config GDB_STUB If enabled, you will be able to set breakpoints for gdb debugging. See src/arch/i386/lib/c_start.S for details. +config LOGICAL_CPUS + bool "Enable all cores on multicore CPUs" + depends on EXPERT + help + This should always be y except if you are debugging race conditions. + +config SMP + bool "Enable SMP" + depends on EXPERT && MAX_PHYSICAL_CPUS != 1 + depends on !LOGICAL_CPUS + help + This should always be y except if you are debugging race conditions. + endmenu config LIFT_BSP_APIC_ID
-- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

