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

1990/0731/power/trap.c (diff list | history)

1990/0722/sys/src/9/power/trap.c:101,1111990/0731/sys/src/9/power/trap.c:101,112 (short | long | prev | next)
1990/0227    
			} 
			m->intr = intr; 
			m->cause = ur->cause; 
1990/0731    
			m->pc = ur->pc; 
1990/0227    
			if(ur->cause & INTR2) 
				m->intrp = u->p; 
			sched(); 
		}else 
			intr(ur->cause); 
1990/0731    
			intr(ur->cause, ur->pc); 
1990/0227    
		break; 
 
	case CTLBM: 
1990/0722/sys/src/9/power/trap.c:179,1851990/0731/sys/src/9/power/trap.c:180,186
1990/0227    
} 
 
void 
intr(ulong cause) 
1990/0731    
intr(ulong cause, ulong pc) 
1990/0227    
{ 
	int i, pend; 
	long v; 
1990/0722/sys/src/9/power/trap.c:186,1921990/0731/sys/src/9/power/trap.c:187,193
1990/0227    
 
	cause &= INTR5|INTR4|INTR3|INTR2|INTR1; 
	if(cause & (INTR2|INTR4)){ 
		clock(cause); 
1990/0731    
		clock(cause, pc); 
1990/0227    
		cause &= ~(INTR2|INTR4); 
	} 
	if(cause & INTR1){ 


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