xref: /csrg-svn/sys/sparc/include/types.h (revision 59569)
1 /*
2  * Copyright (c) 1992 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * This software was developed by the Computer Systems Engineering group
6  * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
7  * contributed to Berkeley.
8  *
9  * All advertising materials mentioning features or use of this software
10  * must display the following acknowledgement:
11  *	This product includes software developed by the University of
12  *	California, Lawrence Berkeley Laboratory.
13  *
14  * %sccs.include.redist.c%
15  *
16  *	@(#)types.h	7.6 (Berkeley) 04/30/93
17  *
18  * from: $Header: types.h,v 1.5 92/11/26 02:00:07 torek Exp $ (LBL)
19  */
20 
21 #ifndef	_MACHTYPES_H_
22 #define	_MACHTYPES_H_
23 
24 typedef struct _physadr {
25 	short r[1];
26 } *physadr;
27 
28 typedef struct label_t {
29 	int val[2];
30 } label_t;
31 
32 typedef	u_long	vm_offset_t;
33 typedef	u_long	vm_size_t;
34 
35 /*
36  * Basic integral types.  Omit the typedef if
37  * not possible for a machine/compiler combination.
38  */
39 typedef	signed char		   int8;
40 typedef	unsigned char		 u_int8;
41 typedef	short			  int16;
42 typedef	unsigned short		u_int16;
43 typedef	int			  int32;
44 typedef	unsigned int		u_int32;
45 typedef	long long		  int64;
46 typedef	unsigned long long	u_int64;
47 
48 #endif	/* _MACHTYPES_H_ */
49