2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
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
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.
23 * @APPLE_LICENSE_HEADER_END@
31 * Revision 1.1.1.1 1998/09/22 21:05:45 wsanchez
32 * Import of Mac OS X kernel (~semeria)
34 * Revision 1.1.1.1 1998/03/07 02:26:17 wsanchez
35 * Import of OSF Mach kernel (~mburg)
37 * Revision 1.2.13.2 1995/01/06 19:52:40 devrcs
38 * mk6 CR668 - 1.3b26 merge
40 * [1994/10/14 03:43:35 dwm]
42 * Revision 1.2.13.1 1994/09/23 02:45:18 ezf
43 * change marker to not FREE
44 * [1994/09/22 21:44:05 ezf]
46 * Revision 1.2.3.3 1993/09/09 16:07:52 jeffc
47 * CR9745 - Delete message accepted notifications
48 * [1993/09/03 20:45:48 jeffc]
50 * Revision 1.2.3.2 1993/06/09 02:44:43 gm
51 * Added to OSF/1 R1.3 from NMK15.0.
52 * [1993/06/02 21:19:04 jeffc]
54 * Revision 1.2 1993/04/19 16:41:20 devrcs
55 * ansi C conformance changes
56 * [1993/02/02 18:56:50 david]
58 * Revision 1.1 1992/09/30 02:32:34 robert
65 * Revision 2.5.4.2 92/04/08 15:45:00 jeffreyh
66 * Back out Mainline changes. Revert back to revision 2.5.
67 * [92/04/07 10:29:40 jeffreyh]
69 * Revision 2.5 91/05/14 17:03:28 mrt
70 * Correcting copyright
72 * Revision 2.4 91/02/05 17:37:50 mrt
73 * Changed to new Mach copyright
74 * [91/02/01 17:28:30 mrt]
76 * Revision 2.3 91/01/08 15:19:05 rpd
77 * Moved ipc_info_bucket_t to mach_debug/hash_info.h.
80 * Revision 2.2 90/06/02 15:00:28 rpd
81 * Created for new IPC.
82 * [90/03/26 23:45:14 rpd]
87 * Mach Operating System
88 * Copyright (c) 1991,1990 Carnegie Mellon University
89 * All Rights Reserved.
91 * Permission to use, copy, modify and distribute this software and its
92 * documentation is hereby granted, provided that both the copyright
93 * notice and this permission notice appear in all copies of the
94 * software, derivative works or modified versions, and any portions
95 * thereof, and that both notices appear in supporting documentation.
97 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
98 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
99 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
101 * Carnegie Mellon requests users of this software to return to
103 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
104 * School of Computer Science
105 * Carnegie Mellon University
106 * Pittsburgh PA 15213-3890
108 * any improvements or extensions that they make and grant Carnegie Mellon
109 * the rights to redistribute these changes.
114 * File: mach_debug/ipc_info.h
115 * Author: Rich Draves
118 * Definitions for the IPC debugging interface.
121 #ifndef _MACH_DEBUG_IPC_INFO_H_
122 #define _MACH_DEBUG_IPC_INFO_H_
124 #include <mach/boolean.h>
125 #include <mach/port.h>
126 #include <mach/machine/vm_types.h>
129 * Remember to update the mig type definitions
130 * in mach_debug_types.defs when adding/removing fields.
134 typedef struct ipc_info_space
{
135 natural_t iis_genno_mask
; /* generation number mask */
136 natural_t iis_table_size
; /* size of table */
137 natural_t iis_table_next
; /* next possible size of table */
138 natural_t iis_tree_size
; /* size of tree */
139 natural_t iis_tree_small
; /* # of small entries in tree */
140 natural_t iis_tree_hash
; /* # of hashed entries in tree */
144 typedef struct ipc_info_name
{
145 mach_port_name_t iin_name
; /* port name, including gen number */
146 /*boolean_t*/integer_t iin_collision
; /* collision at this entry? */
147 mach_port_type_t iin_type
; /* straight port type */
148 mach_port_urefs_t iin_urefs
; /* user-references */
149 vm_offset_t iin_object
; /* object pointer */
150 natural_t iin_next
; /* marequest/next in free list */
151 natural_t iin_hash
; /* hash index */
154 typedef ipc_info_name_t
*ipc_info_name_array_t
;
157 typedef struct ipc_info_tree_name
{
158 ipc_info_name_t iitn_name
;
159 mach_port_name_t iitn_lchild
; /* name of left child */
160 mach_port_name_t iitn_rchild
; /* name of right child */
161 } ipc_info_tree_name_t
;
163 typedef ipc_info_tree_name_t
*ipc_info_tree_name_array_t
;
165 #endif /* _MACH_DEBUG_IPC_INFO_H_ */