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

2002/0402/pc/trap.c (diff list | history)

2002/0329/sys/src/9/pc/trap.c:303,3102002/0402/sys/src/9/pc/trap.c:303,308 (short | long | prev | next)
1997/0327    
		postnote(up, 1, buf, NDebug); 
	} 
1998/0910    
	else if(vno >= VectorPIC && vno != VectorSYSCALL){ 
2002/0329    
		i8259isr(vno); 
2002/0327    
			                 
1997/0327    
		/* 
		 * An unknown interrupt. 
		 * Check for a default IRQ7. This can happen when 
2002/0329/sys/src/9/pc/trap.c:313,3182002/0402/sys/src/9/pc/trap.c:311,336
1997/0327    
		 * the corresponding bit in the ISR isn't set. 
		 * In fact, just ignore all such interrupts. 
		 */ 
2002/0402    
 
		/* call all interrupt routines, just in case */ 
		for(i = VectorPIC; i <= MaxIrqLAPIC; i++){ 
			ctl = vctl[i]; 
			if(ctl == nil) 
				continue; 
			if(!ctl->isintr) 
				continue; 
			for(v = ctl; v != nil; v = v->next){ 
				if(v->f) 
					v->f(ureg, v->a); 
			} 
			/* should we do this? */ 
			if(ctl->eoi) 
				ctl->eoi(i); 
		} 
 
		/* clear the interrupt */ 
		i8259isr(vno); 
			 
1998/0115    
		print("cpu%d: spurious interrupt %d, last %d", 
1998/0910    
			m->machno, vno, m->lastintr); 
2001/0527    
		for(i = 0; i < 32; i++){ 


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