2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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.
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
20 * @APPLE_LICENSE_HEADER_END@
26 * Mach Operating System
27 * Copyright (c) 1991,1990,1989,1988 Carnegie Mellon University
28 * All Rights Reserved.
30 * Permission to use, copy, modify and distribute this software and its
31 * documentation is hereby granted, provided that both the copyright
32 * notice and this permission notice appear in all copies of the
33 * software, derivative works or modified versions, and any portions
34 * thereof, and that both notices appear in supporting documentation.
36 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
37 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
38 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
40 * Carnegie Mellon requests users of this software to return to
42 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
43 * School of Computer Science
44 * Carnegie Mellon University
45 * Pittsburgh PA 15213-3890
47 * any improvements or extensions that they make and grant Carnegie Mellon
48 * the rights to redistribute these changes.
53 * Mach kernel standard interface type declarations
56 #ifndef _MACH_STD_TYPES_DEFS_
57 #define _MACH_STD_TYPES_DEFS_
59 type char = MACH_MSG_TYPE_CHAR;
60 type short = MACH_MSG_TYPE_INTEGER_16;
61 type int = MACH_MSG_TYPE_INTEGER_32;
62 type int32 = MACH_MSG_TYPE_INTEGER_32;
63 type boolean_t = MACH_MSG_TYPE_BOOLEAN;
64 type unsigned = MACH_MSG_TYPE_INTEGER_32;
65 type unsigned32 = MACH_MSG_TYPE_INTEGER_32;
66 type int64 = MACH_MSG_TYPE_INTEGER_64;
67 type unsigned64 = MACH_MSG_TYPE_INTEGER_64;
68 #include <mach/machine/machine_types.defs>
70 type kern_return_t = int;
72 type pointer_t = ^array[] of MACH_MSG_TYPE_BYTE
76 type mach_port_t = MACH_MSG_TYPE_COPY_SEND;
77 type mach_port_array_t = array[] of mach_port_t;
79 type mach_port_name_t = MACH_MSG_TYPE_PORT_NAME
80 ctype: mach_port_name_t;
81 type mach_port_name_array_t = array[] of mach_port_name_t
82 ctype: mach_port_name_array_t;
84 type mach_port_right_t = natural_t;
86 type mach_port_type_t = natural_t;
87 type mach_port_type_array_t = array[] of mach_port_type_t;
89 type mach_port_urefs_t = natural_t;
90 type mach_port_delta_t = integer_t;
91 type mach_port_seqno_t = natural_t;
92 type mach_port_mscount_t = unsigned;
93 type mach_port_msgcount_t = unsigned;
94 type mach_port_rights_t = unsigned;
95 type mach_msg_id_t = integer_t;
96 type mach_msg_type_name_t = unsigned;
97 type mach_msg_options_t = integer_t;
99 type mach_port_move_receive_t = MACH_MSG_TYPE_MOVE_RECEIVE
101 type mach_port_copy_send_t = MACH_MSG_TYPE_COPY_SEND
103 type mach_port_make_send_t = MACH_MSG_TYPE_MAKE_SEND
105 type mach_port_move_send_t = MACH_MSG_TYPE_MOVE_SEND
107 type mach_port_make_send_once_t = MACH_MSG_TYPE_MAKE_SEND_ONCE
109 type mach_port_move_send_once_t = MACH_MSG_TYPE_MOVE_SEND_ONCE
112 type mach_port_receive_t = MACH_MSG_TYPE_PORT_RECEIVE
114 type mach_port_send_t = MACH_MSG_TYPE_PORT_SEND
116 type mach_port_send_once_t = MACH_MSG_TYPE_PORT_SEND_ONCE
119 type mach_port_poly_t = polymorphic
122 import <mach/std_types.h>;
124 #endif _MACH_STD_TYPES_DEFS_