Fix stack base for Atom CPUs, the resume mechanism (cbmem etc) expects this.
This unifies the base with Core and Core 2 CPUs. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5013 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
ba8b21c376
commit
f0ec230280
|
@ -87,10 +87,10 @@ cpu_reset_x:
|
|||
}
|
||||
|
||||
__asm__ volatile (
|
||||
/* set new esp */ /* before _RAMBASE */
|
||||
"subl %0, %%ebp\n\t"
|
||||
"subl %0, %%esp\n\t"
|
||||
::"a"( (CONFIG_DCACHE_RAM_BASE + CONFIG_DCACHE_RAM_SIZE)- CONFIG_RAMBASE )
|
||||
/* set new esp */
|
||||
"movl %0, %%ebp\n\t"
|
||||
"movl %0, %%esp\n\t"
|
||||
::"a"( CONFIG_RAMBASE + (1024-64)*1024 )
|
||||
);
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue