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

2003/0301/alphapc/trap.c (diff list | history)

2002/0824/sys/src/9/alphapc/trap.c:238,2602003/0301/sys/src/9/alphapc/trap.c:238,245 (short | long | prev)
2000/0401    
		if(ctl->eoi) 
			ctl->eoi(vno); 
 
		/*  
		 *  preemptive scheduling.  to limit stack depth, 
		 *  make sure process has a chance to return from 
		 *  the current interrupt before being preempted a 
		 *  second time. 
		 */ 
		if(ctl->isintr) 
		if(up && up->state == Running) 
		if(anyhigher()) 
		if(up->preempted == 0) 
		if(!active.exiting){ 
			up->preempted = 1; 
			sched(); 
			splhi(); 
			up->preempted = 0; 
			return; 
		} 
2003/0301    
			preempted(); 
2000/0401    
	} 
	else if(vno >= VectorPIC && vno <= MaxVectorPIC){ 
		/* 


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