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]>

Thanks,
Myles
Index: svn/src/Kconfig
===================================================================
--- svn.orig/src/Kconfig
+++ svn/src/Kconfig
@@ -404,6 +404,17 @@ 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 cores other than 0 for multicore CPUs"
+	depends on EXPERT
+	help
+	  This should always be y except if you are debugging race conditions.
+
+config MAX_CPUS
+	int "Maximum CPUs: Set to 0 to disable SMP"
+	depends on EXPERT
+	depends on !LOGICAL_CPUS
+
 endmenu
 
 config LIFT_BSP_APIC_ID
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to