ref: f88a55e79b5bf656e7f9578d1318a955b9a4963a
dir: /sys/src/libc/riscv64/notejmp.c/
#include <u.h> #include <libc.h> #include <ureg.h> void notejmp(void *vr, jmp_buf j, int ret) { struct Ureg *r = vr; r->ret = ret; if(ret == 0) r->ret = 1; r->pc = j[JMPBUFPC]; r->sp = j[JMPBUFSP]; noted(NCONT); }