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

1990/0731/port/proc.c (diff list | history)

1990/0728/sys/src/9/port/proc.c:77,831990/0731/sys/src/9/port/proc.c:77,83 (short | long | prev | next)
Add pc argument to m->intr function.
rsc Mon Mar 20 17:14:05 2006
1990/0227    
{ 
	Proc *p; 
	ulong tlbvirt, tlbphys; 
	void (*f)(ulong); 
1990/0731    
	void (*f)(ulong, ulong); 
1990/0227    
 
	if(u){ 
		splhi(); 
1990/0728/sys/src/9/port/proc.c:93,991990/0731/sys/src/9/port/proc.c:93,99
1990/0227    
	} 
	if(f = m->intr){			/* assign = */ 
		m->intr = 0; 
		(*f)(m->cause); 
1990/0731    
		(*f)(m->cause, m->pc); 
1990/0227    
	} 
	spllo(); 
	p = runproc(); 


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