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

2000/1011/bitsy/dat.h (diff list | history)

2000/1007/sys/src/9/bitsy/dat.h:72,812000/1011/sys/src/9/bitsy/dat.h:72,87 (short | long | prev | next)
2000/0831    
/* 
 *  MMU stuff in proc 
 */ 
#define NCOLOR 1 
2000/1011    
enum 
{ 
	NCOLOR=	1,	/* 1 level cache, don't worry about VCE's */ 
	Nmeg=	32,	/* maximum size of user space */ 
}; 
 
2000/0831    
struct PMMU 
{ 
	int dummy; 
2000/1011    
	ulong	pid;		/* current pid (0 if none) */ 
	Page	*l1[Nmeg];	/* this's process' level 1 entries */ 
2000/0831    
}; 
 
/* 
2000/1007/sys/src/9/bitsy/dat.h:159,1692000/1011/sys/src/9/bitsy/dat.h:165,175
2000/0831    
}; 
 
/* 
 * Fake kmap 
2000/1011    
 * Fake kmap since we direct map dram 
2000/0831    
 */ 
typedef void		KMap; 
#define	VA(k)		((ulong)(k)) 
#define	kmap(p)		(KMap*)((p)->pa|KZERO) 
2000/1011    
#define	kmap(p)		(KMap*)((p)->pa) 
2000/0831    
#define	kunmap(k) 
 
struct 


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