Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/planix-v0/sys/src/libc/arm/notejmp.c – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 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->r0 = ret;
11
	if(ret == 0)
12
		r->r0 = 1;
13
	r->pc = j[JMPBUFPC];
14
	r->r13 = j[JMPBUFSP];
15
	noted(NCONT);
16
}