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

1991/0705/power/dat.h (diff list | history)

1991/0608/sys/src/9/power/dat.h:41,491991/0705/sys/src/9/power/dat.h:41,50 (short | long | prev | next)
1990/0504    
	ulong	npgrp;		/* process groups */ 
1990/0614    
	ulong	npage0;		/* total physical pages of memory */ 
1990/0227    
	ulong	npage;		/* total physical pages of memory */ 
	ulong	norig;		/* origins */ 
	ulong	npte;		/* contiguous page table entries */ 
	ulong	nmod;		/* single (modifying) page table entries */ 
1991/0705    
	ulong	nseg;		/* number of segments */ 
	ulong	nimage;		/* number of page cache image headers */ 
	ulong 	npagetab;	/* number of pte tables */ 
	ulong	nswap;		/* number of swap pages */ 
1990/0504    
	ulong	nalarm;		/* alarms */ 
	ulong	nchan;		/* channels */ 
	ulong	nenv;		/* distinct environment values */ 
1991/0608/sys/src/9/power/dat.h:133,1381991/0705/sys/src/9/power/dat.h:134,140
1990/0227    
	char	pidhere[NTLBPID];	/* is this pid possibly in this mmu? */ 
	int	lastpid;		/* last pid allocated on this machine */ 
	Proc	*pidproc[NTLBPID];	/* process that owns this tlbpid on this mach */ 
1991/0705    
	Page	*ufreeme;		/* address of upage of exited process */ 
1991/0425    
 
	int	tlbfault; 
	int	tlbpurge; 
1991/0608/sys/src/9/power/dat.h:159,1651991/0705/sys/src/9/power/dat.h:161,167
1990/0614    
 */ 
typedef void		KMap; 
#define	VA(k)		((ulong)(k)) 
#define	kmap(p)		(KMap*)(p->pa|KZERO) 
1991/0705    
#define	kmap(p)		(KMap*)((p)->pa|KZERO) 
1990/0614    
#define	kunmap(k) 
1990/1212    
#define PPN(x)		x 
1990/0227    
 
1991/0608/sys/src/9/power/dat.h:205,2111991/0705/sys/src/9/power/dat.h:207,212
1990/0227    
 
1991/0428    
#define	NERR	15 
#define	NNOTE	5 
#define	NFD	100 
struct User 
1990/0227    
{ 
1991/0428    
	Proc	*p; 
1991/0608/sys/src/9/power/dat.h:216,2231991/0705/sys/src/9/power/dat.h:217,222
1991/0428    
	char	elem[NAMELEN];		/* last name element from namec */ 
	Chan	*slash; 
	Chan	*dot; 
	Chan	*fd[NFD]; 
	int	maxfd;			/* highest fd in use */ 
	/* 
	 * Rest of structure controlled by devproc.c and friends. 
	 * lock(&p->debug) to modify. 


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