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

1994/0220/carrera/trap.c (diff list | history)

1994/0210/sys/src/9/carrera/trap.c:289,2941994/0220/sys/src/9/carrera/trap.c:289,295 (short | long | prev | next)
1993/0903    
{ 
1993/1219    
	static uchar devint; 
1993/0903    
	ulong cause = ur->cause; 
1994/0220    
	ulong isr; 
1993/0903    
 
	m->intr++; 
	cause &= INTR7|INTR6|INTR5|INTR4|INTR3|INTR2|INTR1|INTR0; 
1994/0210/sys/src/9/carrera/trap.c:317,3271994/0220/sys/src/9/carrera/trap.c:318,335
1993/0904    
		cause &= ~INTR3; 
	} 
1993/0908    
	if(cause & INTR2) { 
		iprint("R4030 Interrupt\n"); 
		iprint(" ISR #%lux\n", IO(ulong, R4030Isr)); 
		iprint(" ET  #%lux\n", IO(ulong, R4030Et)); 
		iprint(" RFA #%lux\n", IO(ulong, R4030Rfa)); 
		iprint(" MFA #%lux\n", IO(ulong, R4030Mfa)); 
1994/0220    
		isr = IO(ulong, R4030Isr); 
		if(isr & (1<<5)) { 
			audiointr(); 
			isr &= ~(1<<5); 
		} 
		if(isr) { 
			iprint("R4030 Interrupt\n"); 
			iprint(" ISR #%lux\n", IO(ulong, R4030Isr)); 
			iprint(" ET  #%lux\n", IO(ulong, R4030Et)); 
			iprint(" RFA #%lux\n", IO(ulong, R4030Rfa)); 
			iprint(" MFA #%lux\n", IO(ulong, R4030Mfa)); 
		} 
1993/0908    
		cause &= ~INTR2; 
	} 
1993/0904    
	if(cause & INTR4) { 


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