]> git.saurik.com Git - apple/xnu.git/blob - osfmk/ipc/ipc_machdep.h
xnu-344.34.tar.gz
[apple/xnu.git] / osfmk / ipc / ipc_machdep.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
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.
11 *
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
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
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.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22 /*
23 * @OSF_COPYRIGHT@
24 */
25 /*
26 * HISTORY
27 *
28 * Revision 1.1.1.1 1998/09/22 21:05:29 wsanchez
29 * Import of Mac OS X kernel (~semeria)
30 *
31 * Revision 1.1.1.1 1998/03/07 02:26:16 wsanchez
32 * Import of OSF Mach kernel (~mburg)
33 *
34 * Revision 1.1.6.1 1995/01/06 19:45:43 devrcs
35 * mk6 CR668 - 1.3b26 merge
36 * new file for mk6
37 * [1994/10/12 22:19:20 dwm]
38 *
39 * Revision 1.1.3.1 1994/05/06 18:47:26 tmt
40 * Merge this file in from the osc1.3dec tree.
41 * [1994/03/30 21:33:42 berube]
42 * Created from mk80.
43 * [93/10/05 bruel]
44 *
45 * $EndLog$
46 */
47 /* CMU_HIST */
48 /*
49 * Revision 2.2 93/01/14 17:32:59 danner
50 * Created.
51 * [92/12/10 af]
52 */
53 /* CMU_END_HIST */
54 /*
55 * Mach Operating System
56 * Copyright (c) 1991,1990,1989 Carnegie Mellon University
57 * All Rights Reserved.
58 *
59 * Permission to use, copy, modify and distribute this software and its
60 * documentation is hereby granted, provided that both the copyright
61 * notice and this permission notice appear in all copies of the
62 * software, derivative works or modified versions, and any portions
63 * thereof, and that both notices appear in supporting documentation.
64 *
65 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
66 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
67 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
68 *
69 * Carnegie Mellon requests users of this software to return to
70 *
71 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
72 * School of Computer Science
73 * Carnegie Mellon University
74 * Pittsburgh PA 15213-3890
75 *
76 * any improvements or extensions that they make and grant Carnegie Mellon
77 * the rights to redistribute these changes.
78 */
79
80 /*
81 * At times, we need to know the size of a port in bits
82 */
83
84 /* 64 bit machines */
85 #if defined(__alpha)
86 #define PORT_T_SIZE_IN_BITS 64
87 #endif
88
89 /* default, 32 bit machines */
90 #if !defined(PORT_T_SIZE_IN_BITS)
91 #define PORT_T_SIZE_IN_BITS 32
92 #endif
93