Files
u-boot/arch/arm/lib
Jerome Forissier 0245d2ab7d arm: add initjmp()
Implement initjmp() for Arm. a non-standard extension to setjmp()/
longjmp() allowing to initialize a jump buffer with a function pointer
and a stack pointer. This will be useful to later introduce threads.
With this new function it becomes possible to longjmp() to a particular
function pointer (rather than to a point previously reached during
program execution as is the case with setjmp()), and with a custom stack.
Both things are needed to spin off a new thread. Then the usual
setjmp()/longjmp() pair is enough to save and restore a context, i.e.,
switch thread.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
2025-04-23 13:19:44 -06:00
..
2023-08-17 16:39:20 -04:00
2023-02-07 14:33:48 -05:00
2024-10-27 17:24:13 -06:00
2025-04-08 16:23:27 -06:00
2023-04-06 19:10:08 -04:00
2025-04-23 13:19:44 -06:00
2025-04-23 13:19:44 -06:00