coreboot-kgpe-d16/payloads/libpayload/arch/arm
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: arm: Pass the coreboot table location to the payload. 2014-12-09 18:38:48 +01:00
Makefile.inc libpayload: Provide selfboot function. 2014-12-30 19:41:40 +01:00
asmlib.h arm: Update mem* functions to newer versions 2014-09-22 18:47:42 +02:00
cache.c arm: Redesign, clarify and clean up cache related code 2014-11-10 21:34:49 +01:00
coreboot.c libpayload: arm: Pass the coreboot table location to the payload. 2014-12-09 18:38:48 +01:00
cpu.S arm: Fix minor mistake in cache maintenance assembly 2014-12-15 23:27:41 +01:00
dummy_media.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
eabi_compat.c libpayload: arm: Add EABI compatible utility functions. 2014-12-30 19:04:54 +01:00
exception.c libpayload: ARM: Keep track of the CPSR when exceptions happen. 2014-12-09 18:39:14 +01:00
exception_asm.S libpayload: ARM: Keep track of the CPSR when exceptions happen. 2014-12-09 18:39:14 +01:00
head.S libpayload: arm: Pass the coreboot table location to the payload. 2014-12-09 18:38:48 +01:00
libpayload.ldscript ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
main.c libpayload: Make it possible to install callbacks for particular exceptions. 2014-12-09 18:39:06 +01:00
memcpy.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
memmove.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
memset.S arm: Put assembly functions into separate sections 2014-11-13 06:49:41 +01:00
selfboot.c libpayload: Provide selfboot function. 2014-12-30 19:41:40 +01:00
sysinfo.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
timer.c ARM: Generalize armv7 as arm. 2014-09-08 18:59:23 +02:00
util.S arm: Move libgcc assembly macros to arch/asm.h 2014-09-22 18:46:57 +02:00
virtual.c ARM: API to Map Physical Address to Wipe Memory above 4GB 2014-12-09 18:39:34 +01:00