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

1991/0725/pc/trap.c (diff list | history)

1991/0724/sys/src/9/pc/trap.c:256,2651991/0725/sys/src/9/pc/trap.c:256,264 (short | long | prev | next)
1991/0720    
		panic("error stack"); 
	} 
	u->p->insyscall = 0; 
	if(ax == NOTED){ 
1991/0725    
	if(ax == NOTED) 
1991/0720    
		noted(ur, *(ulong*)(sp+BY2WD)); 
		ret = -1; 
1991/0724    
	} else if(u->nnote && ax!=FORK){ 
1991/0725    
	else if(u->nnote && ax!=FORK){ 
1991/0720    
		ur->ax = ret; 
		notify(ur); 
	} 
1991/0724/sys/src/9/pc/trap.c:346,3521991/0725/sys/src/9/pc/trap.c:345,351
1991/0720    
	u->notified = 0; 
	nur->flags = (u->svflags&0xffffff00) | (ur->flags&0xff); 
	memmove(ur, u->ureg, sizeof(Ureg)); 
1991/0724    
	ur->ax = -1;	/* return error from the interrupted syscall */ 
1991/0725    
/*	ur->ax = -1;	/* return error from the interrupted syscall */ 
1991/0720    
	switch(arg0){ 
	case NCONT: 
		splhi(); 


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