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

2001/1023/alphapc/dat.h (diff list | history)

2001/0731/sys/src/9/alphapc/dat.h:189,1942001/1023/sys/src/9/alphapc/dat.h:189,196 (short | long | prev | next)
1999/0415    
	void	*(*pcicfg)(int, int);		/* map and point to PCI cfg space */ 
	void	*(*pcimem)(int, int);		/* map and point to PCI memory space */ 
2000/0401    
	int	(*intrenable)(Vctl*); 
2001/1023    
	int	(*intrvecno)(int); 
	int	(*intrdisable)(int); 
1999/0415    
 
	int		(*_inb)(int); 
	ushort	(*_ins)(int); 
2001/0731/sys/src/9/alphapc/dat.h:229,2312001/1023/sys/src/9/alphapc/dat.h:231,249
1999/0415    
 
extern register Mach	*m; 
extern register Proc	*up; 
2001/1023    
 
/* 
 *  hardware info about a device 
 */ 
typedef struct { 
	ulong	port;	 
	int		size; 
} port_t; 
 
struct DevConf 
{ 
	ulong	interrupt;	/* interrupt number */ 
	char		*type;	/* card type, malloced */ 
	int		nports;	/* Number of ports */ 
	port_t	*ports;	/* The ports themselves */ 
}; 


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