142003Sbostic /*- 263160Sbostic * Copyright (c) 1990, 1993 363160Sbostic * The Regents of the University of California. All rights reserved. 442003Sbostic * 542003Sbostic * %sccs.include.redist.c% 642003Sbostic * 7*68175Scgd * @(#)types.h 8.4 (Berkeley) 01/09/95 842003Sbostic */ 942003Sbostic 1042158Sbostic #ifndef _MACHTYPES_H_ 1142158Sbostic #define _MACHTYPES_H_ 1242003Sbostic 1359590Sbostic #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) 1443869Sbostic typedef struct _physadr { 1543869Sbostic short r[1]; 1643869Sbostic } *physadr; 1747183Sbostic 1855196Sbostic typedef struct label_t { /* Consistent with HP-UX. */ 1943869Sbostic int val[15]; 2042158Sbostic } label_t; 2159590Sbostic #endif 2247183Sbostic 2365410Sbostic typedef unsigned long vm_offset_t; 2465410Sbostic typedef unsigned long vm_size_t; 2547183Sbostic 2659566Sbostic /* 2759566Sbostic * Basic integral types. Omit the typedef if 2859566Sbostic * not possible for a machine/compiler combination. 2959566Sbostic */ 3065526Sbostic typedef __signed char int8_t; 3159590Sbostic typedef unsigned char u_int8_t; 3259590Sbostic typedef short int16_t; 3359590Sbostic typedef unsigned short u_int16_t; 3459590Sbostic typedef int int32_t; 3559590Sbostic typedef unsigned int u_int32_t; 3659590Sbostic typedef long long int64_t; 3759590Sbostic typedef unsigned long long u_int64_t; 3855196Sbostic 39*68175Scgd typedef int32_t register_t; 40*68175Scgd 4142158Sbostic #endif /* _MACHTYPES_H_ */ 42