Hi Alex, On 18 June 2018 at 09:23, Alexander Graf <[email protected]> wrote: > In sandbox, longjmp returns to itself in an endless loop. Cut this through > by calling the real OS function. > > Setjmp on the other hand must not return. So here we have to call the OS > setjmp function straight from the code where the setjmp call happens. > > Signed-off-by: Alexander Graf <[email protected]> > --- > arch/sandbox/cpu/cpu.c | 5 ----- > arch/sandbox/cpu/os.c | 20 ++------------------ > arch/sandbox/include/asm/setjmp.h | 4 +++- > 3 files changed, 5 insertions(+), 24 deletions(-) >
I think we do need to do something like this. But I cannot find the man page for _longjmp(). Are you sure this is a valid function on all systems? Or is it Linux only? Regards. Simon _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

