[coreboot-gerrit] Patch merged into coreboot/master: libpayload: x86/main - propagate return value of main()
gerrit at coreboot.org
gerrit at coreboot.org
Fri Feb 17 17:25:14 CET 2017
the following patch was just integrated into master:
commit 7b681c5926d3699b33c936e34a8176833a03eaf2
Author: Mathias Krause <minipli at googlemail.com>
Date: Tue Feb 7 19:03:29 2017 +0100
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 at googlemail.com>
Reviewed-on: https://review.coreboot.org/18334
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter at users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin at chromium.org>
See https://review.coreboot.org/18334 for details.
-gerrit
More information about the coreboot-gerrit
mailing list