/*	Convergent Technologies - System V - May 1983	*/
/*	"@(#)types.h	1.2"	*/

#ifndef types_h
#define types_h

typedef	struct { int r[1]; } *	physadr;
typedef	long		daddr_t;
typedef	char *		caddr_t;
typedef	unsigned int	uint;
typedef	unsigned short	ushort;
typedef	ushort		ino_t;
typedef short		cnt_t;
typedef	long		time_t;
typedef	int		label_t[13];	/* regs d2-d7, a2-a7, pc */
typedef	short		dev_t;
typedef	long		off_t;
typedef	long		paddr_t;
typedef	long		key_t;
typedef int		swblk_t;
typedef int		size_t;
typedef unsigned char	port_t;		/* local TP/CP port numbers */
typedef unsigned char	mdev_t;		/* minor device type */
typedef unsigned char	wndw_t;		/* windows */

/*
 * ICC related types
 */
typedef unsigned char	slot_t;			/* slot number (id) */
typedef unsigned char	cputy_t;		/* slot type: AP, FP, ... */
typedef ushort		rqcode_t;		/* request codes */
typedef ushort		unum_t;			/* user numbers */
typedef ushort		erc_t;			/* ercRet error codes */
typedef ushort		reqdes_t;		/* request descriptors */
typedef ushort		uexchdes_t;		/* user exchange descriptor */
typedef ushort		kexchdes_t;		/* krnl exchange descriptor */
#endif types_h
