coreboot-kgpe-d16/payloads
Mathias Krause 7b681c5926 libpayload: x86/main - propagate return value of main()
According to coreboot’s payload API [1], the called payload should be
able to return a value via %eax. Support this by changing the prototype
of start_main() and pass on the return value of main() to the caller
instead of discarding it.

[1] https://www.coreboot.org/Payload_API

Change-Id: I8442faea19cc8e04487092f8e61aa4e5cba3ba76
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Reviewed-on: https://review.coreboot.org/18334
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
2017-02-17 17:25:11 +01:00
..
bayou bayou: delete pbuilder utility 2016-07-30 19:34:36 +02:00
coreinfo build system: don't run xcompile or git for %clean/%config targets 2017-01-24 23:22:56 +01:00
external payloads/depthcharge: Allow generic libpayload config 2017-02-01 21:14:29 +01:00
libpayload libpayload: x86/main - propagate return value of main() 2017-02-17 17:25:11 +01:00
nvramcui nvramcui: Declare variable outside for loop 2017-01-25 10:05:54 +01:00
Kconfig payloads: add Kconfig option for bayou 2016-08-09 10:44:44 +02:00
Makefile.inc tint: Fix tint and add Kconfig option 2016-06-28 18:29:48 +02:00