add basic data types
[unix-history] / usr / src / sys / vax / include / types.h
CommitLineData
f0122e7f
KB
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * %sccs.include.redist.c%
6 *
28bde4f9 7 * @(#)types.h 7.6 (Berkeley) %G%
f0122e7f
KB
8 */
9
f43b7ac0
KB
10#ifndef _MACHTYPES_H_
11#define _MACHTYPES_H_
f0122e7f 12
cddaf703
KB
13typedef struct _physadr {
14 int r[1];
15} *physadr;
09c9730d 16
cddaf703
KB
17typedef struct label_t {
18 int val[14];
f43b7ac0 19} label_t;
09c9730d 20
28bde4f9
KB
21#ifdef __GNUC__
22typedef char s1byte_t; /* Basic data types. */
23typedef unsigned char u1byte_t;
24typedef short s2byte_t;
25typedef unsigned short u2byte_t;
26typedef long s4byte_t;
27typedef unsigned long u4byte_t;
28typedef long long s8byte_t;
29typedef unsigned long long u8byte_t;
30typedef float f4byte_t;
31typedef double f8byte_t;
32#endif
33
f43b7ac0 34#endif /* _MACHTYPES_H_ */