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

1991/0719/pc/mem.h (diff list | history)

1991/0718/sys/src/9/pc/mem.h:48,541991/0719/sys/src/9/pc/mem.h:48,54 (short | long | prev | next)
1991/0625    
#define TSTKSIZ 10 
1991/0718    
#define	USTKTOP		(TSTKTOP-TSTKSIZ*BY2PG)	/* byte just beyond user stack */ 
#define	USTKSIZE	(4*1024*1024 - TSTKSIZ*BY2PG)	/* size of user stack */ 
#define USTKBTM		USTKTOP - USTKSIZE 
1991/0719    
#define USTKBTM		(USTKTOP - USTKSIZE) 
1991/0625    
 
#define	MACHSIZE	4096 
 
1991/0718/sys/src/9/pc/mem.h:63,711991/0719/sys/src/9/pc/mem.h:63,69
1991/0703    
#define	UDSEG	3	/* user data/stack */ 
#define	UESEG	4	/* user executable */ 
1991/0625    
#define	SYSGATE	5	/* system call gate */ 
1991/0706    
#define	RDSEG	6	/* reboot data/stack */ 
1991/0717    
#define	RESEG	7	/* reboot executable */ 
#define TSSSEG	8	/* task segment */ 
1991/0719    
#define TSSSEG	6	/* task segment */ 
1991/0625    
 
#define SELGDT	(0<<3)	/* selector is in gdt */ 
#define	SELLDT	(1<<3)	/* selector is in ldt */ 
1991/0718/sys/src/9/pc/mem.h:77,841991/0719/sys/src/9/pc/mem.h:75,80
1991/0613    
#define KDSEL	SELECTOR(KDSEG, SELGDT, 0) 
#define UESEL	SELECTOR(UESEG, SELGDT, 3) 
#define UDSEL	SELECTOR(UDSEG, SELGDT, 3) 
1991/0706    
#define RDSEL	SELECTOR(RDSEG, SELGDT, 0) 
#define RESEL	SELECTOR(RESEG, SELGDT, 0) 
1991/0717    
#define TSSSEL	SELECTOR(TSSSEG, SELGDT, 0) 
1991/0613    
 
1991/0627    
/* 


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