142003Sbostic /*- 242003Sbostic * Copyright (c) 1990 The Regents of the University of California. 342003Sbostic * All rights reserved. 442003Sbostic * 542003Sbostic * %sccs.include.redist.c% 642003Sbostic * 7*65530Sbostic * @(#)types.h 7.10 (Berkeley) 01/05/94 842003Sbostic */ 942003Sbostic 1042157Sbostic #ifndef _MACHTYPES_H_ 1142157Sbostic #define _MACHTYPES_H_ 1242003Sbostic 1359593Sbostic #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) 1443868Sbostic typedef struct _physadr { 1543868Sbostic int r[1]; 1643868Sbostic } *physadr; 1747185Sbostic 1843868Sbostic typedef struct label_t { 1943868Sbostic int val[14]; 2042157Sbostic } label_t; 2159593Sbostic #endif 2247185Sbostic 2359570Sbostic /* 2459570Sbostic * Basic integral types. Omit the typedef if 2559570Sbostic * not possible for a machine/compiler combination. 2659570Sbostic */ 27*65530Sbostic typedef __signed char int8_t; 2859593Sbostic typedef unsigned char u_int8_t; 2959593Sbostic typedef short int16_t; 3059593Sbostic typedef unsigned short u_int16_t; 3159593Sbostic typedef int int32_t; 3259593Sbostic typedef unsigned int u_int32_t; 3359593Sbostic typedef long long int64_t; 3459593Sbostic typedef unsigned long long u_int64_t; 3555197Sbostic 3642157Sbostic #endif /* _MACHTYPES_H_ */ 37