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

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

2002/0404/sys/src/9/pc/trap.c:439,4482002/0412/sys/src/9/pc/trap.c:439,453 (short | long | prev | next)
1992/0804    
 
1999/0721    
	print("ktrace /kernel/path %.8lux %.8lux\n", ureg->pc, ureg->sp); 
1992/0804    
	i = 0; 
2002/0404    
	if(up) 
2002/0412    
	if(up 
	&& (ulong)&l >= (ulong)up->kstack 
	&& (ulong)&l <= (ulong)up->kstack+KSTACK) 
2002/0404    
		estack = (ulong)up->kstack+KSTACK; 
	else 
2002/0412    
	else if((ulong)&l >= (ulong)m->stack 
	&& (ulong)&l <= (ulong)m+BY2PG) 
2002/0404    
		estack = (ulong)m+MACHSIZE; 
2002/0412    
	else 
		return; 
2002/0404    
 
	for(l=(ulong)&l; l<estack; l+=4){ 
1992/0804    
		v = *(ulong*)l; 


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