/* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This software was developed by the Computer Systems Engineering group * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and * contributed to Berkeley. * * All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Lawrence Berkeley Laboratory. * * %sccs.include.redist.c% * * @(#)types.h 8.3 (Berkeley) 01/05/94 * * from: $Header: types.h,v 1.5 92/11/26 02:00:07 torek Exp $ (LBL) */ #ifndef _MACHTYPES_H_ #define _MACHTYPES_H_ #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) typedef struct _physadr { short r[1]; } *physadr; typedef struct label_t { int val[2]; } label_t; #endif typedef unsigned long vm_offset_t; typedef unsigned long vm_size_t; /* * Basic integral types. Omit the typedef if * not possible for a machine/compiler combination. */ typedef __signed char int8_t; typedef unsigned char u_int8_t; typedef short int16_t; typedef unsigned short u_int16_t; typedef int int32_t; typedef unsigned int u_int32_t; typedef long long int64_t; typedef unsigned long long u_int64_t; #endif /* _MACHTYPES_H_ */