On Sun, Jul 13, 2008 at 11:02:42PM +0800, Zhang Rui wrote:
> In LegacyBIOS(SeaBIOS), I inserted some code in post.c
[...]
>     "movl $" __stringify(BUILD_STACK_ADDR) ", %esp\n"
[...]

> I think the return address in the stack is wrong. I am trying to figure it 
> out.

You moved the stack (by assigning a new value to %esp).  So, the
return address is not on the stack - it's on the previous stack.

-Kevin

-- 
coreboot mailing list
[email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to