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

1997/1103/carrera/mem.h (diff list | history)

1995/0117/sys/src/9/carrera/mem.h:9,201997/1103/sys/src/9/carrera/mem.h:9,20 (short | long | prev | next)
Whitespace edit.
rsc Fri Mar 4 12:44:25 2005
1993/0903    
#define	BI2BY		8			/* bits per byte */ 
1994/0209    
#define	BI2WD		32			/* bits per word */ 
1993/0903    
#define	BY2WD		4			/* bytes per word */ 
1994/0306    
#define BY2V		8			/* bytes per vlong */ 
1997/1103    
#define 	BY2V		8			/* bytes per vlong */ 
1993/0903    
#define	BY2PG		4096			/* bytes per page */ 
#define	WD2PG		(BY2PG/BY2WD)		/* words per page */ 
#define	PGSHIFT		12			/* log(BY2PG) */ 
1994/0322    
#define ROUND(s, sz)	(((s)+(sz-1))&~(sz-1)) 
#define PGROUND(s)	ROUND(s, BY2PG) 
1997/1103    
#define 	ROUND(s, sz)	(((s)+(sz-1))&~(sz-1)) 
#define 	PGROUND(s)	ROUND(s, BY2PG) 
1993/0903    
 
1993/1211    
#define	MAXMACH		1			/* max # cpus system can run */ 
1994/0209    
#define	KSTACK		4096			/* Size of kernel stack */ 


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