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

1991/0705/power/mem.h (diff list | history)

1991/0607/sys/src/9/power/mem.h:13,181991/0705/sys/src/9/power/mem.h:13,19 (short | long | prev | next)
1990/0227    
#define	WD2PG		(BY2PG/BY2WD)		/* words per page */ 
#define	PGSHIFT		12			/* log(BY2PG) */ 
1991/0606    
#define PGROUND(s)	(((s)+(BY2PG-1))&~(BY2PG-1)) 
1991/0705    
#define ICACHESIZE	(64*1024)		/* Power series */ 
1990/0227    
 
#define	MAXMACH		4			/* max # cpus system can run */ 
1990/0614    
 
1991/0607/sys/src/9/power/mem.h:100,1091991/0705/sys/src/9/power/mem.h:101,113
1990/1212    
#define PTERONLY	0 
1990/0227    
#define	PTEPID(n)	((n)<<6) 
1991/0425    
#define TLBPID(n)	(((n)>>6)&0x3F) 
                 
1991/0705    
#define PTEMAPMEM	(1024*1024)	 
#define	PTEPERTAB	(PTEMAPMEM/BY2PG) 
1991/0501    
#define STLBLOG		11 
1991/0425    
#define STLBSIZE	(1<<STLBLOG) 
1990/0227    
 
1991/0705    
#define SEGMAPSIZE	64 
 
1990/0227    
#define	NTLBPID	64	/* number of pids */ 
#define	NTLB	64	/* number of entries */ 
#define	TLBROFF	8	/* offset of first randomly indexed entry */ 
1991/0607/sys/src/9/power/mem.h:115,1211991/0705/sys/src/9/power/mem.h:119,125
1991/0605    
#define	UZERO		KUSEG			/* base of user address space */ 
#define	UTZERO		(UZERO+BY2PG)		/* first address in user text */ 
#define	USTKTOP		KZERO			/* byte just beyond user stack */ 
#define	TSTKTOP		(USERADDR+TSTKSIZ*BY2PG)/* top of temporary stack */ 
1991/0705    
#define	TSTKTOP		(USERADDR+USTKSIZE)	/* top of temporary stack */ 
1991/0605    
#define TSTKSIZ 	100 
#define	KZERO		KSEG0			/* base of kernel address space */ 
#define	KTZERO		(KZERO+0x20000)		/* first address in kernel text */ 


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