ref: afab68305b44a6ab50d9112e8e3a37e7518c04b7
dir: /sys/src/libc/mips/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->r1 = ret;
if(ret == 0)
r->r1 = 1;
r->pc = j[JMPBUFPC];
r->sp = j[JMPBUFSP];
noted(NCONT);
}