Re: [U-Boot] [PATCH 08/16] sandbox: Add a setjmp() implementation

2017-09-24 Thread Simon Glass
Hi, On 18 September 2017 at 13:10, Rob Clark wrote: > On Mon, Sep 18, 2017 at 2:01 AM, Heinrich Schuchardt > wrote: >> On 09/18/2017 12:59 AM, Simon Glass wrote: >>> Add an implementation of setjmp() and longjmp() which rely on the >>> underlying host C library. Since we cannot know how large t

Re: [U-Boot] [PATCH 08/16] sandbox: Add a setjmp() implementation

2017-09-18 Thread Rob Clark
On Mon, Sep 18, 2017 at 2:01 AM, Heinrich Schuchardt wrote: > On 09/18/2017 12:59 AM, Simon Glass wrote: >> 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 s

Re: [U-Boot] [PATCH 08/16] sandbox: Add a setjmp() implementation

2017-09-17 Thread Heinrich Schuchardt
On 09/18/2017 12:59 AM, Simon Glass wrote: > 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 th

[U-Boot] [PATCH 08/16] sandbox: Add a setjmp() implementation

2017-09-17 Thread Simon Glass
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