xref: /csrg-svn/sys/pmax/include/types.h (revision 59568)
1 /*-
2  * Copyright (c) 1992 Regents of the University of California.
3  * All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Ralph Campbell.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)types.h	7.4 (Berkeley) 04/30/93
11  */
12 
13 #ifndef	_MACHTYPES_H_
14 #define	_MACHTYPES_H_
15 
16 typedef struct _physadr {
17 	int r[1];
18 } *physadr;
19 
20 typedef struct label_t {
21 	int val[12];
22 } label_t;
23 
24 typedef	u_long	vm_offset_t;
25 typedef	u_long	vm_size_t;
26 
27 /*
28  * Basic integral types.  Omit the typedef if
29  * not possible for a machine/compiler combination.
30  */
31 typedef	signed char		   int8;
32 typedef	unsigned char		 u_int8;
33 typedef	short			  int16;
34 typedef	unsigned short		u_int16;
35 typedef	int			  int32;
36 typedef	unsigned int		u_int32;
37 typedef	long long		  int64;
38 typedef	unsigned long long	u_int64;
39 
40 #endif	/* _MACHTYPES_H_ */
41