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

1992/0622/pc/dat.h (diff list | history)

1992/0622/sys/src/9/pc/dat.h:52,831992/0625/sys/src/9/pc/dat.h:52,64 (short | long | prev | next)
1991/0612    
{ 
1991/0702    
	ulong	nmach;		/* processors */ 
	ulong	nproc;		/* processes */ 
	ulong	npgrp;		/* process groups */ 
1991/0711    
	ulong	npage0;		/* total physical pages in bank0 */ 
	ulong	npage1;		/* total physical pages in bank1 */ 
1992/0625    
	ulong	npage0;		/* total physical pages of memory */ 
	ulong	npage1;		/* total physical pages of memory */ 
	ulong	topofmem;	/* highest physical address + 1 */ 
1991/0612    
	ulong	npage;		/* total physical pages of memory */ 
1991/0711    
	ulong	nseg;		/* number of segments */ 
1992/0625    
	ulong	upages;		/* user page pool */ 
1991/0711    
	ulong	nimage;		/* number of page cache image headers */ 
	ulong 	npagetab;	/* number of pte tables */ 
	ulong	nswap;		/* number of swap pages */ 
1991/0702    
	ulong	nalarm;		/* alarms */ 
	ulong	nchan;		/* channels */ 
	ulong	nenv;		/* distinct environment values */ 
	ulong	nenvchar;	/* environment text storage */ 
	ulong	npgenv;		/* environment files per process group */ 
	ulong	nmtab;		/* mounted-upon channels per process group */ 
	ulong	nmount;		/* mounts */ 
	ulong	nmntdev;	/* mounted devices (devmnt.c) */ 
	ulong	nmntbuf;	/* buffers for devmnt.c messages */ 
	ulong	nmnthdr;	/* headers for devmnt.c messages */ 
	ulong	nstream;	/* streams */ 
	ulong	nqueue;		/* stream queues */ 
	ulong	nblock;		/* stream blocks */ 
	ulong	nsrv;		/* public servers (devsrv.c) */ 
	ulong	nurp;		/* max urp conversations */ 
	ulong	nasync;		/* number of async protocol modules */ 
	ulong	npipe;		/* number of pipes */ 
1991/0612    
	ulong	maxialloc;	/* maximum bytes used by ialloc */ 
1991/0711    
	ulong	base0;		/* base of bank 0 */ 
	ulong	base1;		/* base of bank 1 */ 
1991/0702    
	ulong	copymode;	/* 0 is copy on write, 1 is copy on reference */ 
1992/0622/sys/src/9/pc/dat.h:88,941992/0625/sys/src/9/pc/dat.h:69,74
1991/0702    
	ulong	cntrlp;		/* panic on ^P */ 
1991/0809    
	ulong	nfloppy;	/* number of floppy drives */ 
	ulong	nhard;		/* number of hard drives */ 
1991/1107    
	int	dkif;		/* number of datakit interfaces */ 
1991/0612    
}; 
 
/* 
1992/0622/sys/src/9/pc/dat.h:151,1561992/0625/sys/src/9/pc/dat.h:131,137
1991/0612    
	char	elem[NAMELEN];		/* last name element from namec */ 
	Chan	*slash; 
	Chan	*dot; 
1992/0625    
	Sargs	s; 
1991/0612    
	/* 
	 * 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)