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

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

1994/0209/sys/src/9/carrera/mem.h:96,1021994/0210/sys/src/9/carrera/mem.h:96,103 (short | long | prev | next)
1993/0903    
 * Fundamental addresses 
 */ 
1993/1211    
#define	MACHADDR	(KTZERO-MAXMACH*BY2PG)	/* warning: rdbg is near here */ 
1994/0209    
#define	UREGSIZE	0xC0		/* Sizeof(Ureg)+R5,R6+16 bytes slop+retpc & ur */ 
1994/0210    
/* Sizeof(Ureg)+R5,R6+16 bytes slop+retpc & ur */ 
#define	UREGSIZE	0xC0		 
1993/0903    
#define	MACHP(n)	((Mach *)(MACHADDR+(n)*BY2PG)) 
 
/* 
1994/0209/sys/src/9/carrera/mem.h:106,1121994/0210/sys/src/9/carrera/mem.h:107,114
1994/0209    
#define	PGSZ64K		(0x0F<<13) 
#define	PGSZ256K	(0x3F<<13) 
#define	PGSZ1M		(0xFF<<13) 
1993/0903    
	                 
1994/0210    
#define	PGSZ4M		(0x3FF<<13) 
 
1993/0903    
#define	KUSEG	0x00000000 
1994/0209    
#define	KSEG0	0x80000000 
#define	KSEG1	0xA0000000 
1994/0209/sys/src/9/carrera/mem.h:116,1221994/0210/sys/src/9/carrera/mem.h:118,124
1993/0903    
 
1994/0209    
#define	PIDXSHFT	12 
#define	PIDX		(0x7<<PIDXSHFT) 
1993/1218    
#define	KMAPADDR	0xE2000000 
1994/0210    
#define	KMAPADDR	0xE4000000 
1994/0209    
#define	KMAPMASK	0xFF000000 
#define	KMAPSHIFT	15 
#define	NCOLOR		8 
1994/0209/sys/src/9/carrera/mem.h:146,1521994/0210/sys/src/9/carrera/mem.h:148,154
1993/0903    
 
#define	NTLBPID	256	/* number of pids */ 
#define	NTLB	48	/* number of entries */ 
#define	TLBROFF	4	/* offset of first randomly indexed entry */ 
1994/0210    
#define	TLBROFF	5	/* offset of first randomly indexed entry */ 
1993/0903    
 
/* 
 * Address spaces 


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