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