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

1999/0522/alphapc/mem.h (diff list | history)

1999/0415/sys/src/9/alphapc/mem.h:15,201999/0522/sys/src/9/alphapc/mem.h:15,21 (short | long | prev | next)
1999/0415    
#define	PGSHIFT		13			/* log(BY2PG) */ 
#define 	ROUND(s, sz)	(((s)+(sz-1))&~(sz-1)) 
#define 	PGROUND(s)	ROUND(s, BY2PG) 
1999/0522    
#define BLOCKALIGN	8 
1999/0415    
 
#define	BY2PTE		8			/* bytes per pte entry */ 
#define	PTE2PG		(BY2PG/BY2PTE)	/* pte entries per page */ 


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