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

1990/06111/gnot/mem.h (diff list | history)

1990/0611/sys/src/9/gnot/mem.h:12,201990/06111/sys/src/9/gnot/mem.h:12,27 (short | long | prev | next)
1990/03091    
#define	BY2PG		8192			/* bytes per page */ 
#define	WD2PG		(BY2PG/BY2WD)		/* words per page */ 
#define	PGSHIFT		13			/* log(BY2PG) */ 
1990/0611    
#define	MS2HZ		(1000/60)		/* millisec per clock tick */ 
1990/03091    
 
#define	MAXMACH		1			/* max # cpus system can run */ 
1990/06111    
 
/* 
 * Time 
 */ 
#define	MS2HZ		(1000/60)		/* millisec per clock tick */ 
#define	TK2SEC(t)	((t)/60)		/* ticks to seconds */ 
#define	TK2MS(t)	(((t)*1000)/60)		/* ticks to milliseconds */ 
#define	MS2TK(t)	(((t)*60)/1000)		/* milliseconds to ticks */ 
1990/03091    
 
/* 
 * SR bits 


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