]> git.saurik.com Git - apple/xnu.git/blob - osfmk/ipc/ipc_machdep.h
xnu-3789.70.16.tar.gz
[apple/xnu.git] / osfmk / ipc / ipc_machdep.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the License
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
14 *
15 * Please obtain a copy of the License at
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
17 *
18 * The Original Code and all software distributed under the License are
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
22 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23 * Please see the License for the specific language governing rights and
24 * limitations under the License.
25 *
26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
27 */
28 /*
29 * @OSF_COPYRIGHT@
30 */
31 /*
32 * HISTORY
33 *
34 * Revision 1.1.1.1 1998/09/22 21:05:29 wsanchez
35 * Import of Mac OS X kernel (~semeria)
36 *
37 * Revision 1.1.1.1 1998/03/07 02:26:16 wsanchez
38 * Import of OSF Mach kernel (~mburg)
39 *
40 * Revision 1.1.6.1 1995/01/06 19:45:43 devrcs
41 * mk6 CR668 - 1.3b26 merge
42 * new file for mk6
43 * [1994/10/12 22:19:20 dwm]
44 *
45 * Revision 1.1.3.1 1994/05/06 18:47:26 tmt
46 * Merge this file in from the osc1.3dec tree.
47 * [1994/03/30 21:33:42 berube]
48 * Created from mk80.
49 * [93/10/05 bruel]
50 *
51 * $EndLog$
52 */
53 /* CMU_HIST */
54 /*
55 * Revision 2.2 93/01/14 17:32:59 danner
56 * Created.
57 * [92/12/10 af]
58 */
59 /* CMU_END_HIST */
60 /*
61 * Mach Operating System
62 * Copyright (c) 1991,1990,1989 Carnegie Mellon University
63 * All Rights Reserved.
64 *
65 * Permission to use, copy, modify and distribute this software and its
66 * documentation is hereby granted, provided that both the copyright
67 * notice and this permission notice appear in all copies of the
68 * software, derivative works or modified versions, and any portions
69 * thereof, and that both notices appear in supporting documentation.
70 *
71 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
72 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
73 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
74 *
75 * Carnegie Mellon requests users of this software to return to
76 *
77 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
78 * School of Computer Science
79 * Carnegie Mellon University
80 * Pittsburgh PA 15213-3890
81 *
82 * any improvements or extensions that they make and grant Carnegie Mellon
83 * the rights to redistribute these changes.
84 */
85
86 /*
87 * At times, we need to know the size of a port in bits
88 */
89
90 /* 64 bit machines */
91 #if defined(__alpha)
92 #define PORT_T_SIZE_IN_BITS 64
93 #endif
94
95 /* default, 32 bit machines */
96 #if !defined(PORT_T_SIZE_IN_BITS)
97 #define PORT_T_SIZE_IN_BITS 32
98 #endif
99