]> git.saurik.com Git - apple/xnu.git/blame - osfmk/ipc/ipc_machdep.h
xnu-7195.101.1.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 *
2d21ac55 4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
0a7de745 5 *
2d21ac55
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 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.
0a7de745 14 *
2d21ac55
A
15 * Please obtain a copy of the License at
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
0a7de745 17 *
2d21ac55
A
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
8f6c56a5
A
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2d21ac55
A
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.
0a7de745 25 *
2d21ac55 26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1c79356b
A
27 */
28/*
29 * @OSF_COPYRIGHT@
30 */
31/*
32 * HISTORY
0a7de745 33 *
1c79356b
A
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
0a7de745
A
41 * mk6 CR668 - 1.3b26 merge
42 * new file for mk6
43 * [1994/10/12 22:19:20 dwm]
1c79356b
A
44 *
45 * Revision 1.1.3.1 1994/05/06 18:47:26 tmt
0a7de745
A
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 *
1c79356b
A
51 * $EndLog$
52 */
53/* CMU_HIST */
54/*
55 * Revision 2.2 93/01/14 17:32:59 danner
0a7de745
A
56 * Created.
57 * [92/12/10 af]
1c79356b
A
58 */
59/* CMU_END_HIST */
0a7de745 60/*
1c79356b
A
61 * Mach Operating System
62 * Copyright (c) 1991,1990,1989 Carnegie Mellon University
63 * All Rights Reserved.
0a7de745 64 *
1c79356b
A
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.
0a7de745 70 *
1c79356b
A
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.
0a7de745 74 *
1c79356b 75 * Carnegie Mellon requests users of this software to return to
0a7de745 76 *
1c79356b
A
77 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
78 * School of Computer Science
79 * Carnegie Mellon University
80 * Pittsburgh PA 15213-3890
0a7de745 81 *
1c79356b
A
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 */
0a7de745
A
91#if defined(__alpha)
92#define PORT_T_SIZE_IN_BITS 64
1c79356b
A
93#endif
94
95/* default, 32 bit machines */
0a7de745
A
96#if !defined(PORT_T_SIZE_IN_BITS)
97#define PORT_T_SIZE_IN_BITS 32
1c79356b 98#endif