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

1991/1108/gnot/trap.c (diff list | history)

1991/0926/sys/src/9/gnot/trap.c:99,1061991/1108/sys/src/9/gnot/trap.c:99,110 (short | long | prev | next)
1990/03091    
		exit(); 
	} 
1991/0705    
 
1990/03091    
	if(user && u->nnote) 
		notify(ur); 
1991/1108    
	if(user) { 
		if(u->p->procctl) 
			procctl(u->p); 
		if(u->nnote) 
			notify(ur); 
	} 
1990/03091    
} 
 
void 
1991/0926/sys/src/9/gnot/trap.c:271,2761991/1108/sys/src/9/gnot/trap.c:275,284
1990/08163    
		m->fpstate = FPinit; 
1990/03091    
	} 
1990/08163    
	spllo(); 
1991/1108    
 
	if(u->p->procctl) 
		procctl(u->p); 
 
1990/03091    
	r0 = ur->r0; 
	sp = ur->usp; 
 
1991/0926/sys/src/9/gnot/trap.c:297,3081991/1108/sys/src/9/gnot/trap.c:305,313
1991/0614    
		poperror(); 
1990/0511    
	} 
1991/0705    
 
1991/0614    
	if(u->nerrlab){ 
1991/0705    
		print("bad errstack [%d]: %d extra\n", r0, u->nerrlab); 
1991/0614    
		for(i = 0; i < NERR; i++) 
			print("sp=%lux pc=%lux\n", u->errlab[i].sp, u->errlab[i].pc); 
1991/0709    
		panic("error stack"); 
1991/0614    
	} 
1991/1108    
	u->nerrlab = 0; 
	if(u->p->procctl) 
		procctl(u->p); 
1991/0705    
 
1990/03091    
	u->p->insyscall = 0; 
1991/0926    
	u->p->psstate = 0; 


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