coreboot-kgpe-d16/payloads/libpayload/arch/x86
Hung-Te Lin 6f98fc30fd libpayload: Provide selfboot function.
The calling convention of payload entry function is different by architecture.
For example, X86 takes no arguments and ARM needs first param to be a
cb_header_ptr*.

To help payloads load and execute other payloads easily and correctly, we should
provide the selfboot() function in libpayload, using same prototype as defined
in coreboot environment.

BUG=none
TEST=emerge-nyan libpayload # pass
BRANCH=none

Original-Change-Id: I8f1cb2c0df788794b2f6f7f5500a3910328a4f84
Original-Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/199503
Original-Reviewed-by: Stefan Reinauer <reinauer@chromium.org>
(cherry picked from commit 1e916cf021ce68886eb9668982c392eadedc7b7e)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I7279ef27f49ef581d25a455dd8f1f2f7f1ba58cb
Reviewed-on: http://review.coreboot.org/7907
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
2014-12-30 19:41:40 +01:00
..
Config.in libpayload: Make whether or not there's an IO address space configurable 2013-03-13 23:02:05 +01:00
coreboot.c coreboot_tables: reduce redundant data structures 2014-08-10 22:23:19 +02:00
exception.c libpayload: Make it possible to install callbacks for particular exceptions. 2014-12-09 18:39:06 +01:00
exception_asm.S libpayload: Make it possible to install callbacks for particular exceptions. 2014-12-09 18:39:06 +01:00
exec.S libpayload: rename i386 to x86 2012-12-14 22:29:17 +01:00
head.S libpayload: rename i386 to x86 2012-12-14 22:29:17 +01:00
libpayload.ldscript libpayload; put the ldscript into an arch-dependent directory path 2013-02-14 21:32:02 +01:00
main.c libpayload: x86: Add support for catching processor exceptions. 2014-09-15 19:02:05 +02:00
Makefile.inc libpayload: Provide selfboot function. 2014-12-30 19:41:40 +01:00
multiboot.c libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2014-08-05 18:44:08 +02:00
rom_media.c libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2014-08-05 18:44:08 +02:00
selfboot.c libpayload: Provide selfboot function. 2014-12-30 19:41:40 +01:00
string.c libpayload: rename i386 to x86 2012-12-14 22:29:17 +01:00
sysinfo.c libpayload: Change CONFIG_* to CONFIG_LP_* in the kconfig. 2014-08-05 18:44:08 +02:00
timer.c libpayload: timer: Move the timer drivers from depthcharge to libpayload. 2014-11-13 06:23:07 +01:00
util.S libpayload: rename i386 to x86 2012-12-14 22:29:17 +01:00
virtual.c libpayload: rename i386 to x86 2012-12-14 22:29:17 +01:00