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

1990/0306/power/dat.h (diff list | history)

1990/0303/sys/src/9/power/dat.h:1,41990/0306/sys/src/9/power/dat.h:1,5 (short | long | prev | next)
1990/0227    
typedef struct Alarm	Alarm; 
1990/0306    
typedef struct Bitmsg	Bitmsg; 
1990/0227    
typedef struct Blist	Blist; 
typedef struct Block	Block; 
typedef struct Chan	Chan; 
1990/0303/sys/src/9/power/dat.h:75,801990/0306/sys/src/9/power/dat.h:76,88
1990/0227    
	void	*arg; 
}; 
 
1990/0306    
struct Bitmsg 
{ 
	ulong	cmd; 
	ulong	addr; 
	ulong	count; 
}; 
 
1990/0227    
#define	CHDIR	0x80000000L 
#define	QPATH	0x0000FFFFL 
struct Chan 
1990/0303/sys/src/9/power/dat.h:327,3321990/0306/sys/src/9/power/dat.h:335,345
1990/0227    
	Chan	*dot; 
	Chan	*fd[NFD]; 
	int	maxfd;			/* highest fd in use */ 
1990/0306    
	/* 
	 * I/O point for bit interface.  This is the easiest way to allocate 
	 * them, but not the prettiest or most general. 
	 */ 
	Bitmsg	bit; 
1990/0227    
	/* 
	 * 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)