plan 9 kernel history: overview | file list | diff list

1995/0202/carrera/trap.c (diff list | history)

1995/0131/sys/src/9/carrera/trap.c:594,6141995/0202/sys/src/9/carrera/trap.c:594,613 (short | long | prev | next)
1993/0903    
	up->notified = 0; 
1994/0513    
 
	nur = up->ureg; 
1995/0115    
	if(!validstatus(kur->status, nur->status)) { 
1995/0202    
 
	oureg = (ulong)nur; 
	if(oureg>=USTKTOP || oureg<USTKTOP-USTKSIZE 
	|| (oureg & (BY2V-1)) 
	|| !okaddr((ulong)oureg-BY2WD, BY2WD+sizeof(Ureg), 0)){ 
		pprint("bad ureg in noted or call to noted() when not notified\n"); 
1994/0513    
		qunlock(&up->debug); 
		pprint("bad noted ureg status %lux\n", nur->status); 
		pexit("Suicide", 0); 
	} 
 
1995/0128    
	oureg = (ulong)nur; 
1995/0115    
	if(oureg){ 
		if(oureg>=USTKTOP || oureg<USTKTOP-USTKSIZE 
		|| (oureg & (BY2V-1)) 
		|| !okaddr((ulong)oureg-BY2WD, BY2WD+sizeof(Ureg), 0)){ 
			pprint("suicide: bad up->ureg in noted\n"); 
			qunlock(&up->debug); 
			pexit("Suicide", 0); 
		} 
1995/0202    
	if(!validstatus(kur->status, nur->status)) { 
		qunlock(&up->debug); 
		pprint("bad noted ureg status %lux\n", nur->status); 
		pexit("Suicide", 0); 
1995/0115    
	} 
 
1993/0903    
	memmove(*urp, up->ureg, sizeof(Ureg)); 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)