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