xref: /original-bsd/sys/hp300/include/types.h (revision fac0c393)
1 /*-
2  * Copyright (c) 1990, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)types.h	8.4 (Berkeley) 01/09/95
8  */
9 
10 #ifndef	_MACHTYPES_H_
11 #define	_MACHTYPES_H_
12 
13 #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
14 typedef struct _physadr {
15 	short r[1];
16 } *physadr;
17 
18 typedef struct label_t {			/* Consistent with HP-UX. */
19 	int val[15];
20 } label_t;
21 #endif
22 
23 typedef	unsigned long	vm_offset_t;
24 typedef	unsigned long	vm_size_t;
25 
26 /*
27  * Basic integral types.  Omit the typedef if
28  * not possible for a machine/compiler combination.
29  */
30 typedef	__signed char		   int8_t;
31 typedef	unsigned char		 u_int8_t;
32 typedef	short			  int16_t;
33 typedef	unsigned short		u_int16_t;
34 typedef	int			  int32_t;
35 typedef	unsigned int		u_int32_t;
36 typedef	long long		  int64_t;
37 typedef	unsigned long long	u_int64_t;
38 
39 typedef	int32_t			register_t;
40 
41 #endif	/* _MACHTYPES_H_ */
42