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

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

1991/0709/sys/src/9/pc/mem.h:96,1031991/0710/sys/src/9/pc/mem.h:96,114 (short | long | prev | next)
1991/0627    
#define SEGD	(1<<22)		/* default 1==32bit (for code) */ 
1991/0706    
 
/* 
 *  virtual MMU entries 
1991/0710    
 *  virtual MMU 
1991/0706    
 */ 
#define PTEMAPMEM	(1024*1024)	/* ??? */	 
#define SEGMAPSIZE	16		/* ??? */ 
#define	PTEPERTAB	(PTEMAPMEM/BY2PG)	/* ??? */ 
1991/0710    
 
/* 
 *  physical MMU 
 */ 
#define PPN(x)		((x)&~(BY2PG-1)) 
#define	PTEVALID	(1<<0) 
#define	PTEUNCACHED	0		/* everything is uncached */ 
#define PTEWRITE	(1<<1) 
#define	PTERONLY	(0<<1) 
#define	PTEKERNEL	(0<<2) 
#define	PTEUSER		(1<<2) 


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