]> git.saurik.com Git - apple/xnu.git/blob - osfmk/mach_debug/hash_info.h
bb8b5e3a2006a0b962df963013dde66cb61b0c99
[apple/xnu.git] / osfmk / mach_debug / hash_info.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
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.
11 *
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
18 * under the License.
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22 /*
23 * @OSF_COPYRIGHT@
24 */
25 /*
26 * HISTORY
27 *
28 * Revision 1.1.1.1 1998/09/22 21:05:45 wsanchez
29 * Import of Mac OS X kernel (~semeria)
30 *
31 * Revision 1.1.1.1 1998/03/07 02:26:17 wsanchez
32 * Import of OSF Mach kernel (~mburg)
33 *
34 * Revision 1.2.10.2 1995/01/06 19:52:35 devrcs
35 * mk6 CR668 - 1.3b26 merge
36 * 64bit cleanup
37 * [1994/10/14 03:43:33 dwm]
38 *
39 * Revision 1.2.10.1 1994/09/23 02:45:09 ezf
40 * change marker to not FREE
41 * [1994/09/22 21:44:01 ezf]
42 *
43 * Revision 1.2.3.2 1993/06/09 02:44:38 gm
44 * Added to OSF/1 R1.3 from NMK15.0.
45 * [1993/06/02 21:19:01 jeffc]
46 *
47 * Revision 1.2 1993/04/19 16:41:12 devrcs
48 * ansi C conformance changes
49 * [1993/02/02 18:56:42 david]
50 *
51 * Revision 1.1 1992/09/30 02:32:32 robert
52 * Initial revision
53 *
54 * $EndLog$
55 */
56 /* CMU_HIST */
57 /*
58 * Revision 2.4 91/05/14 17:03:21 mrt
59 * Correcting copyright
60 *
61 * Revision 2.3 91/02/05 17:37:46 mrt
62 * Changed to new Mach copyright
63 * [91/02/01 17:28:22 mrt]
64 *
65 * Revision 2.2 91/01/08 15:18:59 rpd
66 * Created.
67 * [91/01/02 rpd]
68 *
69 */
70 /* CMU_ENDHIST */
71 /*
72 * Mach Operating System
73 * Copyright (c) 1991,1990 Carnegie Mellon University
74 * All Rights Reserved.
75 *
76 * Permission to use, copy, modify and distribute this software and its
77 * documentation is hereby granted, provided that both the copyright
78 * notice and this permission notice appear in all copies of the
79 * software, derivative works or modified versions, and any portions
80 * thereof, and that both notices appear in supporting documentation.
81 *
82 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
83 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
84 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
85 *
86 * Carnegie Mellon requests users of this software to return to
87 *
88 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
89 * School of Computer Science
90 * Carnegie Mellon University
91 * Pittsburgh PA 15213-3890
92 *
93 * any improvements or extensions that they make and grant Carnegie Mellon
94 * the rights to redistribute these changes.
95 */
96 /*
97 */
98
99 #ifndef _MACH_DEBUG_HASH_INFO_H_
100 #define _MACH_DEBUG_HASH_INFO_H_
101
102 /*
103 * Remember to update the mig type definitions
104 * in mach_debug_types.defs when adding/removing fields.
105 */
106
107 typedef struct hash_info_bucket {
108 natural_t hib_count; /* number of records in bucket */
109 } hash_info_bucket_t;
110
111 typedef hash_info_bucket_t *hash_info_bucket_array_t;
112
113 #endif /* _MACH_DEBUG_HASH_INFO_H_ */