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:
Stefan Reinauer 2010-01-16 13:48:20 +00:00 committed by Stefan Reinauer
parent ba8b21c376
commit f0ec230280
1 changed files with 4 additions and 4 deletions

View File

@ -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 )
);
{