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

1994/0322/carrera/mem.h (diff list | history)

1994/0306/sys/src/9/carrera/mem.h:13,191994/0322/sys/src/9/carrera/mem.h:13,20 (short | long | prev | next)
1993/0903    
#define	BY2PG		4096			/* bytes per page */ 
#define	WD2PG		(BY2PG/BY2WD)		/* words per page */ 
#define	PGSHIFT		12			/* log(BY2PG) */ 
1994/0209    
#define	PGROUND(s)	(((s)+(BY2PG-1))&~(BY2PG-1)) 
1994/0322    
#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)