fix prototypes for printf & halt
[unix-history] / usr / src / sys / sparc / include / types.h
CommitLineData
bdc5e0ad
CT
1/*
2 * Copyright (c) 1992 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This software was developed by the Computer Systems Engineering group
6 * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
7 * contributed to Berkeley.
8 *
b480239a
KB
9 * All advertising materials mentioning features or use of this software
10 * must display the following acknowledgement:
11 * This product includes software developed by the University of
12 * California, Lawrence Berkeley Laboratories.
13 *
bdc5e0ad
CT
14 * %sccs.include.redist.c%
15 *
b480239a 16 * @(#)types.h 7.3 (Berkeley) %G%
bdc5e0ad
CT
17 *
18 * from: $Header: types.h,v 1.4 92/06/17 06:10:30 torek Exp $ (LBL)
19 */
20
21#ifndef _MACHTYPES_H_
22#define _MACHTYPES_H_
23
24typedef struct _physadr {
25 short r[1];
26} *physadr;
28bde4f9 27
bdc5e0ad
CT
28typedef struct label_t {
29 int val[2];
30} label_t;
28bde4f9 31
bdc5e0ad
CT
32typedef u_long vm_offset_t;
33typedef u_long vm_size_t;
34
28bde4f9
KB
35#ifdef __GNUC__
36typedef char s1byte_t; /* Basic data types. */
37typedef unsigned char u1byte_t;
38typedef short s2byte_t;
39typedef unsigned short u2byte_t;
40typedef long s4byte_t;
41typedef unsigned long u4byte_t;
42typedef long long s8byte_t;
43typedef unsigned long long u8byte_t;
44typedef float f4byte_t;
45typedef double f8byte_t;
46#endif
47
bdc5e0ad 48#endif /* _MACHTYPES_H_ */