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