arm-trusted-firmware/bl31
Jeenu Viswambharan e7b9473e15 BL31: Introduce jump primitives
This patch introduces setjmp() and ongjmp() primitives to enable
standard setjmp/longjmp style execution. Both APIs parameters take a
pointer to struct jmpbuf type, which hosts CPU registers saved/restored
during jump.

As per the standard usage:

  - setjmp() return 0 when a jump is setup; and a non-zero value when
    returning from jump.

  - The caller of setjmp() must not return, or otherwise update stack
    pointer since.

Change-Id: I4af1d32e490cfa547979631b762b4cba188d0551
Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
2018-06-21 16:15:23 +01:00
..
aarch64 AArch64: Introduce RAS handling 2018-05-04 08:33:17 +01:00
bl31.ld.S SPM: Treat SP xlat tables the same as others 2018-06-13 09:19:41 +01:00
bl31.mk BL31: Introduce jump primitives 2018-06-21 16:15:23 +01:00
bl31_context_mgmt.c Suppress spurious deprecated declaration warnings 2018-03-01 16:14:29 +00:00
bl31_main.c Fix MISRA rule 8.4 in common code 2018-02-28 17:18:46 +00:00
ehf.c EHF: Introduce preempted return code parameter to ehf_allow_ns_preemption() 2018-02-27 13:46:33 +00:00
interrupt_mgmt.c Use SPDX license identifiers 2017-05-03 09:39:28 +01:00