fxlibc/src/libc/setjmp/target/sh-generic
Lephenixnoir 73d6b2eb7c
setjmp: do not disable interrupts (#1) (DONE)
SR.BL=1 could cause problems if setjmp or longjmp is loader over a page
boundary and the second page is not loaded when interrupts are masked.

SR.IMASK=15 is another option, but it seems unnecessary per #1.

Blocking interrupts in longjmp did not make too much sense because the
blocked SR was immediately replaced by the restored one.
2021-05-29 11:18:02 +02:00
..
longjmp.S setjmp: do not disable interrupts (#1) (DONE) 2021-05-29 11:18:02 +02:00
setjmp.S setjmp: do not disable interrupts (#1) (DONE) 2021-05-29 11:18:02 +02:00