901efea8ab
The pointer to write the return value to is in %ecx, not %eax. Writing to (%eax) leads to memory corruptions as %eax holds the return value, e.g. would write zero to address zero for a "successful" returning payload. Change-Id: I82df27ae89a9e3d25f479ebdda2b50ea57565459 Signed-off-by: Mathias Krause <minipli@googlemail.com> Reviewed-on: https://review.coreboot.org/18332 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> |
||
---|---|---|
.. | ||
coreboot.c | ||
exception.c | ||
exception_asm.S | ||
exec.S | ||
gdb.c | ||
head.S | ||
Kconfig | ||
libpayload.ldscript | ||
main.c | ||
Makefile.inc | ||
multiboot.c | ||
rom_media.c | ||
selfboot.c | ||
string.c | ||
sysinfo.c | ||
timer.c | ||
util.S | ||
virtual.c |