142003Sbostic /*- 263359Sbostic * Copyright (c) 1990, 1993 363359Sbostic * The Regents of the University of California. All rights reserved. 442003Sbostic * 542003Sbostic * %sccs.include.redist.c% 642003Sbostic * 7*65527Sbostic * @(#)types.h 8.3 (Berkeley) 01/05/94 842003Sbostic */ 942003Sbostic 1042159Sbostic #ifndef _MACHTYPES_H_ 1142159Sbostic #define _MACHTYPES_H_ 1242003Sbostic 1359589Sbostic #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) 1443870Sbostic typedef struct _physadr { 1543870Sbostic int r[1]; 1643870Sbostic } *physadr; 1747184Swilliam 1843870Sbostic typedef struct label_t { 1943870Sbostic int val[6]; 2042159Sbostic } label_t; 2159589Sbostic #endif 2247184Swilliam 2365411Sbostic typedef unsigned long vm_offset_t; 2465411Sbostic typedef unsigned long vm_size_t; 2547184Swilliam 2659567Sbostic /* 2759567Sbostic * Basic integral types. Omit the typedef if 2859567Sbostic * not possible for a machine/compiler combination. 2959567Sbostic */ 30*65527Sbostic typedef __signed char int8_t; 3159589Sbostic typedef unsigned char u_int8_t; 3259589Sbostic typedef short int16_t; 3359589Sbostic typedef unsigned short u_int16_t; 3459589Sbostic typedef int int32_t; 3559589Sbostic typedef unsigned int u_int32_t; 3659589Sbostic typedef long long int64_t; 3759589Sbostic typedef unsigned long long u_int64_t; 3855198Sbostic 3942159Sbostic #endif /* _MACHTYPES_H_ */ 40