]> git.lizzy.rs Git - plan9front.git/blob - sys/src/libc/amd64/notejmp.c
audiohda: fix syntax error
[plan9front.git] / sys / src / libc / amd64 / notejmp.c
1 #include <u.h>
2 #include <libc.h>
3 #include <ureg.h>
4
5 void
6 notejmp(void *vr, jmp_buf j, int ret)
7 {
8         struct Ureg *r = vr;
9
10         r->ax = ret;
11         if(ret == 0)
12                 r->ax = 1;
13         r->pc = j[JMPBUFPC];
14         r->sp = j[JMPBUFSP] + 8;
15         noted(NCONT);
16 }