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

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

1991/0723/sys/src/9/pc/trap.c:259,2651991/0724/sys/src/9/pc/trap.c:259,265 (short | long | prev | next)
1991/0720    
	if(ax == NOTED){ 
		noted(ur, *(ulong*)(sp+BY2WD)); 
		ret = -1; 
	} else if(u->nnote){ 
1991/0724    
	} else if(u->nnote && ax!=FORK){ 
1991/0720    
		ur->ax = ret; 
		notify(ur); 
	} 
1991/0723/sys/src/9/pc/trap.c:346,3521991/0724/sys/src/9/pc/trap.c:346,352
1991/0720    
	u->notified = 0; 
	nur->flags = (u->svflags&0xffffff00) | (ur->flags&0xff); 
	memmove(ur, u->ureg, sizeof(Ureg)); 
	ur->ax = -1;	/* return error from the interrupted call */ 
1991/0724    
	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)