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

1992/0805/gnot/clock.c (diff list | history)

1992/0711/sys/src/9/gnot/clock.c:24,311992/0805/sys/src/9/gnot/clock.c:24,33 (short | long | prev | next)
1991/1113    
	int user, nrun = 0; 
1990/03091    
 
1991/1112    
	user = (ur->sr&SUPER) == 0; 
	if(user) 
1992/0805    
	if(user){ 
1991/1112    
		u->dbgreg = ur; 
1992/0805    
		u->p->pc = ur->pc; 
	} 
1991/1112    
 
1990/03091    
	SYNCREG[1] = 0x5F;	/* clear interrupt */ 
	m->ticks++; 


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