Print a failure message if a sibling CPU fails to start.
authorSteven J. Magnani <steve@digidescorp.com>
Wed, 14 Sep 2005 13:52:06 +0000 (13:52 +0000)
committerSteven J. Magnani <steve@digidescorp.com>
Wed, 14 Sep 2005 13:52:06 +0000 (13:52 +0000)
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2031 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/cpu/intel/hyperthreading/intel_sibling.c

index 001fea81b2639a61f0fd4c8e50852f5ded2502c3..5e63dfffbb2102a7ecf0d42cf684162694009430 100644 (file)
@@ -67,7 +67,11 @@ void intel_sibling_init(device_t cpu)
                        new->path.u.apic.apic_id);
 #endif
                /* Start the new cpu */
-               start_cpu(new);
+               if (!start_cpu(new)) {
+                       /* Record the error in cpu? */
+                       printk_err("CPU %u would not start!\n",
+                               new->path.u.apic.apic_id);
+               }
        }
        
 }