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

1993/1211/carrera/mem.h (diff list | history)

1993/1209/sys/src/9/carrera/mem.h:14,201993/1211/sys/src/9/carrera/mem.h:14,20 (short | long | prev | next)
1993/0903    
#define	PGSHIFT		12			/* log(BY2PG) */ 
#define PGROUND(s)	(((s)+(BY2PG-1))&~(BY2PG-1)) 
 
#define	MAXMACH		4			/* max # cpus system can run */ 
1993/1211    
#define	MAXMACH		1			/* max # cpus system can run */ 
1993/0903    
#define KSTACK		4096			/* Size of kernel stack */ 
 
/* 
1993/1209/sys/src/9/carrera/mem.h:95,1011993/1211/sys/src/9/carrera/mem.h:95,101
1993/0903    
/* 
 * Fundamental addresses 
 */ 
1993/1209    
#define	MACHADDR	0x8008e000	/* Mach structures */ 
1993/1211    
#define	MACHADDR	(KTZERO-MAXMACH*BY2PG)	/* warning: rdbg is near here */ 
1993/0906    
#define UREGSIZE	0xA0		/* Sizeof(Ureg)+retpc & ur */ 
1993/0903    
#define	MACHP(n)	((Mach *)(MACHADDR+(n)*BY2PG)) 
 
1993/1209/sys/src/9/carrera/mem.h:140,1461993/1211/sys/src/9/carrera/mem.h:140,146
1993/0903    
#define	PTEPERTAB	(PTEMAPMEM/BY2PG) 
#define STLBLOG		13 
#define STLBSIZE	(1<<STLBLOG) 
#define KPTELOG		8 
1993/1211    
#define KPTELOG		6 
1993/0903    
#define KPTESIZE	(1<<KPTELOG) 
#define SEGMAPSIZE	512 
 


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