| 1 | /* @title: setjmp */ |
|---|---|
| 2 | #pragma once |
| 3 | #include <compiler.h> |
| 4 | #include <thread/thread.h> |
| 5 | |
| 6 | typedef uint64_t jmp_buf[8]; |
| 7 | __naked int setjmp(jmp_buf env); |
| 8 | __naked void longjmp(jmp_buf env, int val); |
| 9 |
| 1 | /* @title: setjmp */ |
|---|---|
| 2 | #pragma once |
| 3 | #include <compiler.h> |
| 4 | #include <thread/thread.h> |
| 5 | |
| 6 | typedef uint64_t jmp_buf[8]; |
| 7 | __naked int setjmp(jmp_buf env); |
| 8 | __naked void longjmp(jmp_buf env, int val); |
| 9 |