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