xref: /csrg-svn/sys/pmax/include/types.h (revision 69797)
152131Smckusick /*-
263217Sbostic  * Copyright (c) 1992, 1993
363217Sbostic  *	The Regents of the University of California.  All rights reserved.
452131Smckusick  *
552131Smckusick  * This code is derived from software contributed to Berkeley by
652131Smckusick  * Ralph Campbell.
752131Smckusick  *
852131Smckusick  * %sccs.include.redist.c%
952131Smckusick  *
10*69797Sralph  *	@(#)types.h	8.4 (Berkeley) 06/02/95
1152131Smckusick  */
1252131Smckusick 
1352131Smckusick #ifndef	_MACHTYPES_H_
1452131Smckusick #define	_MACHTYPES_H_
1552131Smckusick 
1659591Sbostic #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
1752131Smckusick typedef struct _physadr {
1852131Smckusick 	int r[1];
1952131Smckusick } *physadr;
2052131Smckusick 
2152131Smckusick typedef struct label_t {
2252131Smckusick 	int val[12];
2352131Smckusick } label_t;
2459591Sbostic #endif
2552131Smckusick 
2665412Sbostic typedef	unsigned long	vm_offset_t;
2765412Sbostic typedef	unsigned long	vm_size_t;
2852131Smckusick 
2959568Sbostic /*
3059568Sbostic  * Basic integral types.  Omit the typedef if
3159568Sbostic  * not possible for a machine/compiler combination.
3259568Sbostic  */
3365528Sbostic typedef	__signed char		   int8_t;
3459591Sbostic typedef	unsigned char		 u_int8_t;
3559591Sbostic typedef	short			  int16_t;
3659591Sbostic typedef	unsigned short		u_int16_t;
3759591Sbostic typedef	int			  int32_t;
3859591Sbostic typedef	unsigned int		u_int32_t;
3959591Sbostic typedef	long long		  int64_t;
4059591Sbostic typedef	unsigned long long	u_int64_t;
4155199Sbostic 
42*69797Sralph typedef	int32_t			register_t;
43*69797Sralph 
4452131Smckusick #endif	/* _MACHTYPES_H_ */
45