the following patch was just integrated into master: commit c0da995d1c10799eddfc450436d35358eacb619c Author: Sven Schnelle svens@stackframe.org Date: Wed Jul 11 21:41:06 2012 +0200
Fix stack assignment during CPU initialization
There are two errors in the code. The first one is a missing $ sign in mov _stack, %esp. Thanks to Ronald G Minnich for catching that bug.
The second bug is the 'incl %eax', which shouldn't be there, as there's no secondary CPU with index 0. CPU0 uses always the stack below _estack.
Change-Id: Id267a654ba95b0e898eeaaafb2403b438250a563 Signed-off-by: Sven Schnelle svens@stackframe.org
Build-Tested: build bot (Jenkins) at Wed Jul 11 22:11:39 2012, giving +1 See http://review.coreboot.org/1212 for details.
-gerrit