1b4353b6dStorek /* 238fb30dbSbostic * Copyright (c) 1992, 1993 338fb30dbSbostic * The Regents of the University of California. All rights reserved. 4b4353b6dStorek * 5b4353b6dStorek * This software was developed by the Computer Systems Engineering group 6b4353b6dStorek * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and 7b4353b6dStorek * contributed to Berkeley. 8b4353b6dStorek * 938c33d08Sbostic * All advertising materials mentioning features or use of this software 1038c33d08Sbostic * must display the following acknowledgement: 1138c33d08Sbostic * This product includes software developed by the University of 1215621987Storek * California, Lawrence Berkeley Laboratory. 1338c33d08Sbostic * 14b4353b6dStorek * %sccs.include.redist.c% 15b4353b6dStorek * 16*477b1bcfSmckusick * @(#)types.h 8.4 (Berkeley) 04/02/95 17b4353b6dStorek * 1815621987Storek * from: $Header: types.h,v 1.5 92/11/26 02:00:07 torek Exp $ (LBL) 19b4353b6dStorek */ 20b4353b6dStorek 21b4353b6dStorek #ifndef _MACHTYPES_H_ 22b4353b6dStorek #define _MACHTYPES_H_ 23b4353b6dStorek 2423aa48e5Sbostic #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) 25b4353b6dStorek typedef struct _physadr { 26b4353b6dStorek short r[1]; 27b4353b6dStorek } *physadr; 28cd7b0043Sbostic 29b4353b6dStorek typedef struct label_t { 30b4353b6dStorek int val[2]; 31b4353b6dStorek } label_t; 3223aa48e5Sbostic #endif 33cd7b0043Sbostic 3425bc9abaSbostic typedef unsigned long vm_offset_t; 3525bc9abaSbostic typedef unsigned long vm_size_t; 36b4353b6dStorek 372eabd387Sbostic /* 382eabd387Sbostic * Basic integral types. Omit the typedef if 392eabd387Sbostic * not possible for a machine/compiler combination. 402eabd387Sbostic */ 410c2af0a1Sbostic typedef __signed char int8_t; 4223aa48e5Sbostic typedef unsigned char u_int8_t; 4323aa48e5Sbostic typedef short int16_t; 4423aa48e5Sbostic typedef unsigned short u_int16_t; 4523aa48e5Sbostic typedef int int32_t; 4623aa48e5Sbostic typedef unsigned int u_int32_t; 4723aa48e5Sbostic typedef long long int64_t; 4823aa48e5Sbostic typedef unsigned long long u_int64_t; 49cd7b0043Sbostic 50*477b1bcfSmckusick typedef int32_t register_t; 51*477b1bcfSmckusick 52b4353b6dStorek #endif /* _MACHTYPES_H_ */ 53