]> git.sur5r.net Git - u-boot/commitdiff
sandbox: Add a setjmp() implementation
authorSimon Glass <sjg@chromium.org>
Wed, 16 May 2018 15:42:22 +0000 (09:42 -0600)
committerAlexander Graf <agraf@suse.de>
Sun, 3 Jun 2018 13:27:21 +0000 (15:27 +0200)
Add an implementation of setjmp() and longjmp() which rely on the
underlying host C library. Since we cannot know how large the jump buffer
needs to be, pick something that should be suitable and check it at
runtime. At present we need access to the underlying struct as well.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>

No differences found