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

1993/1214/pc/dat.h (diff list | history)

1991/0612/sys/src/9/pc/dat.h:27,521991/0614/sys/src/9/pc/dat.h:27,32 (short | long)
1991/0612    
{ 
	ulong	sp; 
	ulong	pc; 
	ushort	sr; 
}; 
                 
/* 
 * floating point registers 
 */ 
enum 
{ 
	FPinit, 
	FPactive, 
	FPdirty, 
}; 
                 
struct	FPsave 
{ 
	uchar	type; 
	uchar	size; 
	short	reserved; 
	char	junk[212];	/* 68881: sizes 24, 180; 68882: 56, 212 */ 
	char	reg[3*4+8*12]; 
}; 
 
struct Conf 
1991/0614/sys/src/9/pc/dat.h:1,41991/0702/sys/src/9/pc/dat.h:1,5 (short | long)
1991/0612    
typedef struct Conf	Conf; 
1991/0702    
typedef struct FPsave	FPsave; 
1991/0612    
typedef struct Label	Label; 
typedef struct Lock	Lock; 
typedef struct MMU	MMU; 
1991/0614/sys/src/9/pc/dat.h:29,391991/0702/sys/src/9/pc/dat.h:30,45
1991/0612    
	ulong	pc; 
}; 
 
1991/0702    
struct	FPsave 
{ 
	int	type; 
}; 
 
1991/0612    
struct Conf 
{ 
	int	nmach;		/* processors */ 
	int	nproc;		/* processes */ 
	int	npgrp;		/* process groups */ 
1991/0702    
	ulong	nmach;		/* processors */ 
	ulong	nproc;		/* processes */ 
	ulong	npgrp;		/* process groups */ 
1991/0612    
	ulong	npage0;		/* total physical pages of memory, bank 0 */ 
	ulong	npage1;		/* total physical pages of memory, bank 1 */ 
	ulong	base0;		/* base of bank 0 */ 
1991/0614/sys/src/9/pc/dat.h:42,791991/0702/sys/src/9/pc/dat.h:48,81
1991/0612    
	ulong	norig;		/* origins */ 
	ulong	npte;		/* contiguous page table entries */ 
	ulong	nmod;		/* single (modifying) page table entries */ 
	int	nalarm;		/* alarms */ 
	int	nchan;		/* channels */ 
	int	nenv;		/* distinct environment values */ 
	int	nenvchar;	/* environment text storage */ 
	int	npgenv;		/* environment files per process group */ 
	int	nmtab;		/* mounted-upon channels per process group */ 
	int	nmount;		/* mounts */ 
	int	nmntdev;	/* mounted devices (devmnt.c) */ 
	int	nmntbuf;	/* buffers for devmnt.c messages */ 
	int	nmnthdr;	/* headers for devmnt.c messages */ 
	int	nstream;	/* streams */ 
	int	nqueue;		/* stream queues */ 
	int	nblock;		/* stream blocks */ 
	int	nsrv;		/* public servers (devsrv.c) */ 
	int	nbitmap;	/* bitmap structs (devbit.c) */ 
	int	nbitbyte;	/* bytes of bitmap data (devbit.c) */ 
	int	nfont;		/* font structs (devbit.c) */ 
	int	nurp;		/* max urp conversations */ 
	int	nasync;		/* number of async protocol modules */ 
	int	npipe;		/* number of pipes */ 
	int	nservice;	/* number of services */ 
	int	nfsyschan;	/* number of filsys open channels */ 
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	nbitmap;	/* bitmap structs (devbit.c) */ 
	ulong	nbitbyte;	/* bytes of bitmap data (devbit.c) */ 
	ulong	nfont;		/* font structs (devbit.c) */ 
	ulong	nurp;		/* max urp conversations */ 
	ulong	nasync;		/* number of async protocol modules */ 
	ulong	npipe;		/* number of pipes */ 
	ulong	nservice;	/* number of services */ 
	ulong	nfsyschan;	/* number of filsys open channels */ 
1991/0612    
	ulong	maxialloc;	/* maximum bytes used by ialloc */ 
	int	copymode;	/* 0 is copy on write, 1 is copy on reference */ 
	int	portispaged;	/* ??? */ 
	int	nnoifc; 
	int	nnoconv; 
	ulong	ipif;		/* Ip protocol interfaces */ 
	ulong	ip;		/* Ip conversations per interface */ 
	ulong	arp;		/* Arp table size */ 
	ulong	frag;		/* Ip fragment assemble queue size */ 
	int	cntrlp;		/* panic on ^P */ 
1991/0702    
	ulong	copymode;	/* 0 is copy on write, 1 is copy on reference */ 
	ulong	portispaged;	/* ??? */ 
	ulong	nnoifc; 
	ulong	nnoconv; 
	ulong	cntrlp;		/* panic on ^P */ 
1991/0612    
}; 
 
/* 
1991/0702/sys/src/9/pc/dat.h:5,101991/0703/sys/src/9/pc/dat.h:5,11 (short | long)
1991/0612    
typedef struct MMU	MMU; 
typedef struct Mach	Mach; 
typedef struct PMMU	PMMU; 
1991/0703    
typedef struct Segdesc	Segdesc; 
1991/0612    
typedef struct Ureg	Ureg; 
typedef struct User	User; 
 
1991/0702/sys/src/9/pc/dat.h:20,261991/0703/sys/src/9/pc/dat.h:21,27
1991/0612    
 
struct Lock 
{ 
	char	key; 
1991/0703    
	ulong	key; 
1991/0612    
	ulong	pc; 
}; 
 
1991/0702/sys/src/9/pc/dat.h:150,1551991/0703/sys/src/9/pc/dat.h:151,166
1991/0612    
	ushort	svvo; 
	ushort	svsr; 
}; 
1991/0703    
 
/* 
 *  segment descriptor/gate 
 */ 
struct Segdesc 
{ 
	ulong	d0; 
	ulong	d1; 
}; 
 
1991/0612    
 
struct 
{ 
1991/0703/sys/src/9/pc/dat.h:126,1321991/0706/sys/src/9/pc/dat.h:126,131 (short | long)
1991/0612    
 
#define	NERR	15 
#define	NNOTE	5 
#define	NFD	100 
struct User 
{ 
	Proc	*p; 
1991/0703/sys/src/9/pc/dat.h:137,1441991/0706/sys/src/9/pc/dat.h:136,141
1991/0612    
	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. 
1991/0706/sys/src/9/pc/dat.h:31,541991/0711/sys/src/9/pc/dat.h:31,65 (short | long)
1991/0612    
	ulong	pc; 
}; 
 
1991/0702    
struct	FPsave 
1991/0711    
 
/* 
 * FPsave.fpstatus 
 */ 
enum 
1991/0702    
{ 
	int	type; 
1991/0711    
	FPinit, 
	FPactive, 
	FPinactive, 
1991/0702    
}; 
 
1991/0711    
struct	FPsave	/* ??? needs to be fixed ??? */ 
{ 
	long	fpreg[32]; 
	long	fpstatus; 
}; 
 
1991/0612    
struct Conf 
{ 
1991/0702    
	ulong	nmach;		/* processors */ 
	ulong	nproc;		/* processes */ 
	ulong	npgrp;		/* process groups */ 
1991/0612    
	ulong	npage0;		/* total physical pages of memory, bank 0 */ 
	ulong	npage1;		/* total physical pages of memory, bank 1 */ 
	ulong	base0;		/* base of bank 0 */ 
	ulong	base1;		/* base of bank 1 */ 
1991/0711    
	ulong	npage0;		/* total physical pages in bank0 */ 
	ulong	npage1;		/* total physical pages in bank1 */ 
1991/0612    
	ulong	npage;		/* total physical pages of memory */ 
	ulong	norig;		/* origins */ 
	ulong	npte;		/* contiguous page table entries */ 
	ulong	nmod;		/* single (modifying) page table entries */ 
1991/0711    
	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 */ 
1991/0702    
	ulong	nalarm;		/* alarms */ 
	ulong	nchan;		/* channels */ 
	ulong	nenv;		/* distinct environment values */ 
1991/0706/sys/src/9/pc/dat.h:66,811991/0711/sys/src/9/pc/dat.h:77,95
1991/0702    
	ulong	nbitmap;	/* bitmap structs (devbit.c) */ 
	ulong	nbitbyte;	/* bytes of bitmap data (devbit.c) */ 
	ulong	nfont;		/* font structs (devbit.c) */ 
1991/0711    
	ulong	nnoifc;		/* number of nonet interfaces */ 
	ulong	nnoconv;	/* number of nonet conversations/ifc */ 
1991/0702    
	ulong	nurp;		/* max urp conversations */ 
	ulong	nasync;		/* number of async protocol modules */ 
	ulong	npipe;		/* number of pipes */ 
	ulong	nservice;	/* number of services */ 
	ulong	nfsyschan;	/* number of filsys open channels */ 
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 */ 
	ulong	portispaged;	/* ??? */ 
	ulong	nnoifc; 
	ulong	nnoconv; 
1991/0711    
	ulong	ipif;		/* Ip protocol interfaces */ 
	ulong	ip;		/* Ip conversations per interface */ 
	ulong	arp;		/* Arp table size */ 
	ulong	frag;		/* Ip fragment assemble queue size */ 
1991/0702    
	ulong	cntrlp;		/* panic on ^P */ 
1991/0612    
}; 
 
1991/0711/sys/src/9/pc/dat.h:33,391991/0716/sys/src/9/pc/dat.h:33,39 (short | long)
1991/0612    
 
1991/0711    
 
/* 
 * FPsave.fpstatus 
1991/0716    
 * FPsave.status 
1991/0711    
 */ 
enum 
1991/0702    
{ 
1991/0711/sys/src/9/pc/dat.h:44,511991/0716/sys/src/9/pc/dat.h:44,51
1991/0702    
 
1991/0711    
struct	FPsave	/* ??? needs to be fixed ??? */ 
{ 
	long	fpreg[32]; 
	long	fpstatus; 
1991/0716    
	long	status; 
	char	reg[66]; 
1991/0711    
}; 
 
1991/0612    
struct Conf 
1991/0716/sys/src/9/pc/dat.h:4,91991/0717/sys/src/9/pc/dat.h:4,10 (short | long)
1991/0612    
typedef struct Lock	Lock; 
typedef struct MMU	MMU; 
typedef struct Mach	Mach; 
1991/0717    
typedef struct Page	Page; 
1991/0612    
typedef struct PMMU	PMMU; 
1991/0703    
typedef struct Segdesc	Segdesc; 
1991/0612    
typedef struct Ureg	Ureg; 
1991/0716/sys/src/9/pc/dat.h:96,1041991/0717/sys/src/9/pc/dat.h:97,107
1991/0612    
/* 
 *  MMU stuff in proc 
 */ 
1991/0717    
#define MAXMMU	4 
1991/0612    
struct PMMU 
{ 
	MMU	*mmu; 
1991/0717    
	ulong	mmuent[MAXMMU];	/* a process' mmu entries */ 
	Page	*mmupg[MAXMMU];	/* mmu pages */ 
1991/0612    
}; 
 
#include "../port/portdat.h" 
1991/0716/sys/src/9/pc/dat.h:157,1621991/0717/sys/src/9/pc/dat.h:160,166
1991/0612    
	Note	note[NNOTE]; 
	short	nnote; 
	short	notified;		/* sysnoted is due */ 
1991/0717    
	Note	lastnote; 
1991/0612    
	int	(*notify)(void*, char*); 
	void	*ureg; 
	ushort	svvo; 
1991/0717/sys/src/9/pc/dat.h:98,1071991/0718/sys/src/9/pc/dat.h:98,109 (short | long)
1991/0612    
 *  MMU stuff in proc 
 */ 
1991/0717    
#define MAXMMU	4 
1991/0718    
#define MAXSMMU	1 
1991/0612    
struct PMMU 
{ 
1991/0717    
	ulong	mmuent[MAXMMU];	/* a process' mmu entries */ 
	Page	*mmupg[MAXMMU];	/* mmu pages */ 
1991/0718    
	int	mmuvalid; 
	Page	*mmu[MAXMMU+MAXSMMU];	/* bottom level page tables */ 
	ulong	mmue[MAXMMU+MAXSMMU];	/* top level pointers to mmup pages */ 
1991/0612    
}; 
 
#include "../port/portdat.h" 
1991/0717/sys/src/9/pc/dat.h:138,1441991/0718/sys/src/9/pc/dat.h:140,146
1991/0612    
 */ 
typedef void		KMap; 
#define	VA(k)		((ulong)(k)) 
#define	kmap(p)		(KMap*)(p->pa|KZERO) 
1991/0718    
#define	kmap(p)		(KMap*)((p)->pa|KZERO) 
1991/0612    
#define	kunmap(k) 
 
#define	NERR	15 
1991/0718/sys/src/9/pc/dat.h:165,1721991/0720/sys/src/9/pc/dat.h:165,173 (short | long)
1991/0717    
	Note	lastnote; 
1991/0612    
	int	(*notify)(void*, char*); 
	void	*ureg; 
	ushort	svvo; 
	ushort	svsr; 
1991/0720    
	ulong	svcs;		/* cs before a notify */ 
	ulong	svss;		/* ss before a notify */ 
	ulong	svflags;		/* flags before a notify */ 
1991/0612    
}; 
1991/0703    
 
/* 
1991/0720/sys/src/9/pc/dat.h:189,1911991/0801/sys/src/9/pc/dat.h:189,193 (short | long)
1991/0612    
 
extern Mach	*m; 
extern User	*u; 
1991/0801    
 
extern int	flipD[];	/* for flipping bitblt destination polarity */ 
1991/0801/sys/src/9/pc/dat.h:92,971991/0809/sys/src/9/pc/dat.h:92,99 (short | long)
1991/0711    
	ulong	arp;		/* Arp table size */ 
	ulong	frag;		/* Ip fragment assemble queue size */ 
1991/0702    
	ulong	cntrlp;		/* panic on ^P */ 
1991/0809    
	ulong	nfloppy;	/* number of floppy drives */ 
	ulong	nhard;		/* number of hard drives */ 
1991/0612    
}; 
 
/* 
1991/0809/sys/src/9/pc/dat.h:43,521991/0905/sys/src/9/pc/dat.h:43,52 (short | long)
1991/0711    
	FPinactive, 
1991/0702    
}; 
 
1991/0711    
struct	FPsave	/* ??? needs to be fixed ??? */ 
1991/0905    
struct	FPsave 
1991/0711    
{ 
1991/0716    
	long	status; 
	char	reg[66]; 
1991/0905    
	uchar	reg[94]; 
1991/0711    
}; 
 
1991/0612    
struct Conf 
1991/0905/sys/src/9/pc/dat.h:45,521991/0906/sys/src/9/pc/dat.h:45,51 (short | long)
1991/0702    
 
1991/0905    
struct	FPsave 
1991/0711    
{ 
1991/0716    
	long	status; 
1991/0905    
	uchar	reg[94]; 
1991/0906    
	uchar	regs[108]; 
1991/0711    
}; 
 
1991/0612    
struct Conf 
1991/0905/sys/src/9/pc/dat.h:124,1301991/0906/sys/src/9/pc/dat.h:123,128
1991/0612    
	Label	sched;			/* scheduler wakeup */ 
	Lock	alarmlock;		/* access to alarm list */ 
	void	*alarm;			/* alarms bound to this clock */ 
	int	fpstate;		/* state of fp registers on machine */ 
 
	int	tlbfault; 
	int	tlbpurge; 
1991/0906/sys/src/9/pc/dat.h:104,1101991/0916/sys/src/9/pc/dat.h:104,110 (short | long)
1991/0612    
{ 
1991/0718    
	int	mmuvalid; 
	Page	*mmu[MAXMMU+MAXSMMU];	/* bottom level page tables */ 
	ulong	mmue[MAXMMU+MAXSMMU];	/* top level pointers to mmup pages */ 
1991/0916    
	ulong	mmue[MAXMMU+MAXSMMU];	/* top level pointers to mmu pages */ 
1991/0612    
}; 
 
#include "../port/portdat.h" 
1991/0916/sys/src/9/pc/dat.h:102,1101991/1004/sys/src/9/pc/dat.h:102,110 (short | long)
1991/0718    
#define MAXSMMU	1 
1991/0612    
struct PMMU 
{ 
1991/0718    
	int	mmuvalid; 
	Page	*mmu[MAXMMU+MAXSMMU];	/* bottom level page tables */ 
1991/0916    
	ulong	mmue[MAXMMU+MAXSMMU];	/* top level pointers to mmu pages */ 
1991/1004    
	Page	*mmutop;	/* 1st level table */ 
	Page	*mmufree;	/* unused page table pages */ 
	Page	*mmuused;	/* used page table pages */ 
1991/0612    
}; 
 
#include "../port/portdat.h" 
1991/1004/sys/src/9/pc/dat.h:93,981991/1107/sys/src/9/pc/dat.h:93,99 (short | long)
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    
}; 
 
/* 
1991/1107/sys/src/9/pc/dat.h:130,1361991/1112/sys/src/9/pc/dat.h:130,136 (short | long)
1991/0612    
	int	pfault; 
	int	cs; 
	int	syscall; 
	int	spinlock; 
1991/1112    
	int	load; 
1991/0612    
	int	intr; 
 
	int	stack[1]; 
1991/1107/sys/src/9/pc/dat.h:149,1581991/1112/sys/src/9/pc/dat.h:149,158
1991/0612    
struct User 
{ 
	Proc	*p; 
1991/1112    
	FPsave	fpsave;			/* address of this is known by vdb */ 
1991/0612    
	int	nerrlab; 
	Label	errlab[NERR]; 
	char	error[ERRLEN]; 
	FPsave	fpsave;			/* address of this is known by vdb */ 
	char	elem[NAMELEN];		/* last name element from namec */ 
	Chan	*slash; 
	Chan	*dot; 
1991/1107/sys/src/9/pc/dat.h:166,1711991/1112/sys/src/9/pc/dat.h:166,172
1991/0717    
	Note	lastnote; 
1991/0612    
	int	(*notify)(void*, char*); 
	void	*ureg; 
1991/1112    
	void	*dbgreg;		/* User registers for debugging in proc */ 
1991/0720    
	ulong	svcs;		/* cs before a notify */ 
	ulong	svss;		/* ss before a notify */ 
	ulong	svflags;		/* flags before a notify */ 
1991/1112/sys/src/9/pc/dat.h:193,1951991/1210/sys/src/9/pc/dat.h:193,202 (short | long)
1991/0612    
extern User	*u; 
1991/0801    
 
extern int	flipD[];	/* for flipping bitblt destination polarity */ 
1991/1210    
 
enum 
{ 
	At=		0, 
	Attnsx=		1, 
}; 
extern int machtype; 
1991/1210/sys/src/9/pc/dat.h:181,1871991/1211/sys/src/9/pc/dat.h:181,186 (short | long)
1991/0703    
	ulong	d1; 
}; 
 
1991/0612    
                 
struct 
{ 
	Lock; 
1991/1211/sys/src/9/pc/dat.h:76,821992/0208/sys/src/9/pc/dat.h:76,82 (short | long)
1991/0702    
	ulong	nsrv;		/* public servers (devsrv.c) */ 
	ulong	nbitmap;	/* bitmap structs (devbit.c) */ 
	ulong	nbitbyte;	/* bytes of bitmap data (devbit.c) */ 
	ulong	nfont;		/* font structs (devbit.c) */ 
1992/0208    
	ulong	nsubfont;	/* Gsubfont structs (devbit.c) */ 
1991/0711    
	ulong	nnoifc;		/* number of nonet interfaces */ 
	ulong	nnoconv;	/* number of nonet conversations/ifc */ 
1991/0702    
	ulong	nurp;		/* max urp conversations */ 
1992/0208/sys/src/9/pc/dat.h:76,811992/0209/sys/src/9/pc/dat.h:76,82 (short | long)
1991/0702    
	ulong	nsrv;		/* public servers (devsrv.c) */ 
	ulong	nbitmap;	/* bitmap structs (devbit.c) */ 
	ulong	nbitbyte;	/* bytes of bitmap data (devbit.c) */ 
1992/0209    
	int	nfont;		/* GFont structs (devbit.c) */ 
1992/0208    
	ulong	nsubfont;	/* Gsubfont structs (devbit.c) */ 
1991/0711    
	ulong	nnoifc;		/* number of nonet interfaces */ 
	ulong	nnoconv;	/* number of nonet conversations/ifc */ 
1992/0209/sys/src/9/pc/dat.h:78,851992/0228/sys/src/9/pc/dat.h:78,83 (short | long)
1991/0702    
	ulong	nbitbyte;	/* bytes of bitmap data (devbit.c) */ 
1992/0209    
	int	nfont;		/* GFont structs (devbit.c) */ 
1992/0208    
	ulong	nsubfont;	/* Gsubfont structs (devbit.c) */ 
1991/0711    
	ulong	nnoifc;		/* number of nonet interfaces */ 
	ulong	nnoconv;	/* number of nonet conversations/ifc */ 
1991/0702    
	ulong	nurp;		/* max urp conversations */ 
	ulong	nasync;		/* number of async protocol modules */ 
	ulong	npipe;		/* number of pipes */ 
1992/0228/sys/src/9/pc/dat.h:74,831992/0622/sys/src/9/pc/dat.h:74,79 (short | long)
1991/0702    
	ulong	nqueue;		/* stream queues */ 
	ulong	nblock;		/* stream blocks */ 
	ulong	nsrv;		/* public servers (devsrv.c) */ 
	ulong	nbitmap;	/* bitmap structs (devbit.c) */ 
	ulong	nbitbyte;	/* bytes of bitmap data (devbit.c) */ 
1992/0209    
	int	nfont;		/* GFont structs (devbit.c) */ 
1992/0208    
	ulong	nsubfont;	/* Gsubfont structs (devbit.c) */ 
1991/0702    
	ulong	nurp;		/* max urp conversations */ 
	ulong	nasync;		/* number of async protocol modules */ 
	ulong	npipe;		/* number of pipes */ 
1992/0622/sys/src/9/pc/dat.h:52,831992/0625/sys/src/9/pc/dat.h:52,64 (short | long)
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. 
1992/0625/sys/src/9/pc/dat.h:125,1301992/06271/sys/src/9/pc/dat.h:125,132 (short | long)
1991/0612    
{ 
	Proc	*p; 
1991/1112    
	FPsave	fpsave;			/* address of this is known by vdb */ 
1992/06271    
	int	scallnr;		/* sys call number - known by db */ 
	Sargs	s;			/* address of this is known by db */ 
1991/0612    
	int	nerrlab; 
	Label	errlab[NERR]; 
	char	error[ERRLEN]; 
1992/0625/sys/src/9/pc/dat.h:131,1371992/06271/sys/src/9/pc/dat.h:133,138
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. 
Too many diffs (26 > 25). Stopping.


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