xref: /original-bsd/sys/pmax/include/types.h (revision 5cdf6a78)
1 /*-
2  * Copyright (c) 1992, 1993
3  *	The Regents of the University of California.  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	8.2 (Berkeley) 01/04/94
11  */
12 
13 #ifndef	_MACHTYPES_H_
14 #define	_MACHTYPES_H_
15 
16 #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
17 typedef struct _physadr {
18 	int r[1];
19 } *physadr;
20 
21 typedef struct label_t {
22 	int val[12];
23 } label_t;
24 #endif
25 
26 typedef	unsigned long	vm_offset_t;
27 typedef	unsigned long	vm_size_t;
28 
29 /*
30  * Basic integral types.  Omit the typedef if
31  * not possible for a machine/compiler combination.
32  */
33 typedef	signed char		   int8_t;
34 typedef	unsigned char		 u_int8_t;
35 typedef	short			  int16_t;
36 typedef	unsigned short		u_int16_t;
37 typedef	int			  int32_t;
38 typedef	unsigned int		u_int32_t;
39 typedef	long long		  int64_t;
40 typedef	unsigned long long	u_int64_t;
41 
42 #endif	/* _MACHTYPES_H_ */
43