Home
last modified time | relevance | path

Searched hist:e7b9473e1591d4ab375a95ebbb9256adfe9d4670 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/bl31/
H A Dbl31.mke7b9473e1591d4ab375a95ebbb9256adfe9d4670 Fri Feb 16 11:54:24 UTC 2018 Jeenu Viswambharan <jeenu.viswambharan@arm.com> 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>