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

1999/0701/alphapc/trap.c (diff list | history)

1999/0701/sys/src/9/alphapc/trap.c:280,2852000/0108/sys/src/9/alphapc/trap.c:280,294 (short | long | prev | next)
1999/0415    
} 
 
void 
2000/0108    
callwithureg(void (*fn)(Ureg*)) 
{ 
	Ureg ureg; 
	ureg.pc = getcallerpc(&fn); 
	ureg.sp = (ulong)&fn; 
	fn(&ureg); 
} 
 
void 
1999/0415    
dumpregs(Ureg *ur) 
{ 
	int i, col; 


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