]> git.saurik.com Git - apple/xnu.git/blame - osfmk/libsa/i386/types.h
xnu-792.10.96.tar.gz
[apple/xnu.git] / osfmk / libsa / i386 / types.h
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
37839358
A
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
1c79356b 11 *
37839358
A
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1c79356b
A
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
37839358
A
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
1c79356b
A
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22/*
23 * @OSF_COPYRIGHT@
24 */
25/*
26 * HISTORY
27 *
28 * Revision 1.2 1998/09/30 21:21:00 wsanchez
29 * Merged in IntelMerge1 (mburg: Intel support)
30 *
31 * Revision 1.1.2.1 1998/09/30 18:19:50 mburg
32 * Changes for Intel port
33 *
34 * Revision 1.1.1.1 1998/03/07 02:25:36 wsanchez
35 * Import of OSF Mach kernel (~mburg)
36 *
37 * Revision 1.1.2.1 1996/09/17 16:56:28 bruel
38 * created from standalone mach servers
39 * [1996/09/17 16:18:08 bruel]
40 *
41 * Revision 1.1.7.1 1996/04/11 13:46:28 barbou
42 * Self-Contained Mach Distribution:
43 * created.
44 * [95/12/28 barbou]
45 * [96/03/28 barbou]
46 *
47 * $EndLog$
48 */
49
50#ifndef _MACH_MACHINE_TYPES_H_
51#define _MACH_MACHINE_TYPES_H_ 1
52
53typedef long dev_t; /* device number (major+minor) */
54
55typedef signed char bit8_t; /* signed 8-bit quantity */
56typedef unsigned char u_bit8_t; /* unsigned 8-bit quantity */
57
58typedef short bit16_t; /* signed 16-bit quantity */
59typedef unsigned short u_bit16_t; /* unsigned 16-bit quantity */
60
61typedef int bit32_t; /* signed 32-bit quantity */
62typedef unsigned int u_bit32_t; /* unsigned 32-bit quantity */
63
64/* Only 32 bits of the "bit64_t" are significant on this 32-bit machine */
65typedef struct { int __val[2]; } bit64_t; /* signed 64-bit quantity */
66typedef struct { unsigned int __val[2]; } u_bit64_t;/* unsigned 64-bit quantity */
67#define _SIG64_BITS __val[0] /* bits of interest (32) */
68
69#endif /* _MACH_MACHINE_TYPES_H_ */
70