switch-coreboot/payloads
Mathias Krause 6b19c3fe38 UPSTREAM: libpayload: x86/exec - fix return value passing
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.

BUG=none
BRANCH=none
TEST=none

Change-Id: I92d9ceec19d236e756c4eaf2ecf9c0534a3ad482
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Original-Commit-Id: 901efea8ab
Original-Change-Id: I82df27ae89a9e3d25f479ebdda2b50ea57565459
Original-Signed-off-by: Mathias Krause <minipli@googlemail.com>
Original-Reviewed-on: https://review.coreboot.org/18332
Original-Tested-by: build bot (Jenkins)
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/443927
2017-02-17 04:09:23 -08:00
..
bayou UPSTREAM: bayou: delete pbuilder utility 2016-08-04 23:36:49 -07:00
coreinfo UPSTREAM: build system: don't run xcompile or git for %clean/%config targets 2017-01-26 18:43:51 -08:00
external UPSTREAM: payloads/depthcharge: Allow generic libpayload config 2017-02-03 09:08:54 -08:00
libpayload UPSTREAM: libpayload: x86/exec - fix return value passing 2017-02-17 04:09:23 -08:00
nvramcui UPSTREAM: nvramcui: Declare variable outside for loop 2017-01-27 07:48:58 -08:00
Kconfig UPSTREAM: payloads: add Kconfig option for bayou 2016-08-14 15:11:13 -07:00
Makefile.inc UPSTREAM: tint: Fix tint and add Kconfig option 2016-06-28 17:17:08 -07:00