]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | /* |
2 | * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. | |
3 | * | |
4 | * @APPLE_LICENSE_HEADER_START@ | |
5 | * | |
37839358 A |
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. | |
e5568f75 | 11 | * |
37839358 A |
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 | |
1c79356b A |
14 | * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
15 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
37839358 A |
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. | |
1c79356b A |
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:48 wsanchez | |
29 | * Import of Mac OS X kernel (~semeria) | |
30 | * | |
31 | * Revision 1.1.1.1 1998/03/07 02:26:09 wsanchez | |
32 | * Import of OSF Mach kernel (~mburg) | |
33 | * | |
34 | * Revision 1.1.31.1 1997/03/27 18:46:44 barbou | |
35 | * ri-osc CR1566: Add db_show_one_thread() prototype. [dwm] | |
36 | * [1995/08/28 15:47:07 bolinger] | |
37 | * [97/02/25 barbou] | |
38 | * | |
39 | * Revision 1.1.16.6 1995/02/23 21:43:39 alanl | |
40 | * Merge with DIPC2_SHARED. | |
41 | * [1995/01/05 13:30:16 alanl] | |
42 | * | |
43 | * Revision 1.1.21.2 1994/12/09 22:11:02 dwm | |
44 | * mk6 CR801 - merge up from nmk18b4 to nmk18b7 | |
45 | * * Rev 1.1.16.4 1994/10/11 16:36:02 emcmanus | |
46 | * Added db_show_shuttle() and db_show_runq() prototypes. | |
47 | * [1994/12/09 20:36:53 dwm] | |
48 | * | |
49 | * Revision 1.1.21.1 1994/11/10 06:06:47 dwm | |
50 | * mk6 CR764 - s/spinlock/simple_lock/ (name change only) | |
51 | * [1994/11/10 05:24:14 dwm] | |
52 | * | |
53 | * Revision 1.1.16.3 1994/09/23 01:21:01 ezf | |
54 | * change marker to not FREE | |
55 | * [1994/09/22 21:10:46 ezf] | |
56 | * | |
57 | * Revision 1.1.16.2 1994/09/16 15:30:07 emcmanus | |
58 | * Add prototype for db_show_subsystem. | |
59 | * [1994/09/16 15:29:05 emcmanus] | |
60 | * | |
61 | * Revision 1.1.16.1 1994/06/11 21:12:10 bolinger | |
62 | * Merge up to NMK17.2. | |
63 | * [1994/06/11 20:04:06 bolinger] | |
64 | * | |
65 | * Revision 1.1.18.2 1994/12/06 19:43:09 alanl | |
66 | * Intel merge, Oct 94 code drop. | |
67 | * Added prototypes for db_show_{one,all}_task_vm | |
68 | * [94/11/28 mmp] | |
69 | * | |
70 | * Revision 1.1.18.1 1994/08/05 19:35:57 mmp | |
71 | * Remove duplicate prototype for db_show_port_id. | |
72 | * [1994/08/05 19:31:44 mmp] | |
73 | * | |
74 | * Revision 1.1.10.3 1994/04/15 18:41:54 paire | |
75 | * Changed db_task_from_space prototype. | |
76 | * [94/03/31 paire] | |
77 | * | |
78 | * Revision 1.1.10.2 1994/03/07 16:37:54 paire | |
79 | * Added ANSI prototype for db_port_kmsg_count routine. | |
80 | * [94/02/15 paire] | |
81 | * | |
82 | * Revision 1.1.10.1 1994/02/08 10:58:27 bernadat | |
83 | * Added db_show_one_space | |
84 | * db_show_all_spaces | |
85 | * db_sys | |
86 | * prototypes | |
87 | * [94/02/07 bernadat] | |
88 | * | |
89 | * Revision 1.1.2.3 1993/09/17 21:34:40 robert | |
90 | * change marker to OSF_FREE_COPYRIGHT | |
91 | * [1993/09/17 21:27:24 robert] | |
92 | * | |
93 | * Revision 1.1.2.2 1993/07/27 18:28:01 elliston | |
94 | * Add ANSI prototypes. CR #9523. | |
95 | * [1993/07/27 18:12:43 elliston] | |
96 | * | |
97 | * $EndLog$ | |
98 | */ | |
99 | ||
100 | #ifndef _DDB_DB_PRINT_H_ | |
101 | #define _DDB_DB_PRINT_H_ | |
102 | ||
103 | #include <mach/boolean.h> | |
104 | #include <machine/db_machdep.h> | |
105 | ||
106 | /* Prototypes for functions exported by this module. | |
107 | */ | |
108 | void db_show_regs( | |
109 | db_expr_t addr, | |
110 | boolean_t have_addr, | |
111 | db_expr_t count, | |
112 | char *modif); | |
113 | ||
114 | void db_show_all_acts( | |
115 | db_expr_t addr, | |
116 | boolean_t have_addr, | |
117 | db_expr_t count, | |
118 | char * modif); | |
119 | ||
120 | void db_show_one_act( | |
121 | db_expr_t addr, | |
122 | boolean_t have_addr, | |
123 | db_expr_t count, | |
124 | char * modif); | |
125 | ||
126 | void db_show_one_thread( | |
127 | db_expr_t addr, | |
128 | boolean_t have_addr, | |
129 | db_expr_t count, | |
130 | char * modif); | |
131 | ||
132 | void db_show_one_task( | |
133 | db_expr_t addr, | |
134 | boolean_t have_addr, | |
135 | db_expr_t count, | |
136 | char * modif); | |
137 | ||
138 | void db_show_shuttle( | |
139 | db_expr_t addr, | |
140 | boolean_t have_addr, | |
141 | db_expr_t count, | |
142 | char * modif); | |
143 | ||
144 | void db_show_port_id( | |
145 | db_expr_t addr, | |
146 | boolean_t have_addr, | |
147 | db_expr_t count, | |
148 | char * modif); | |
149 | ||
150 | void db_show_one_task_vm( | |
151 | db_expr_t addr, | |
152 | boolean_t have_addr, | |
153 | db_expr_t count, | |
154 | char *modif); | |
155 | ||
156 | void db_show_all_task_vm( | |
157 | db_expr_t addr, | |
158 | boolean_t have_addr, | |
159 | db_expr_t count, | |
160 | char *modif); | |
161 | ||
162 | void db_show_one_space( | |
163 | db_expr_t addr, | |
164 | boolean_t have_addr, | |
165 | db_expr_t count, | |
166 | char * modif); | |
167 | ||
168 | void db_show_all_spaces( | |
169 | db_expr_t addr, | |
170 | boolean_t have_addr, | |
171 | db_expr_t count, | |
172 | char * modif); | |
173 | ||
174 | void db_sys(void); | |
175 | ||
176 | int db_port_kmsg_count( | |
177 | ipc_port_t port); | |
178 | ||
179 | db_addr_t db_task_from_space( | |
180 | ipc_space_t space, | |
181 | int *task_id); | |
182 | ||
183 | void db_show_one_simple_lock( | |
184 | db_expr_t addr, | |
185 | boolean_t have_addr, | |
186 | db_expr_t count, | |
187 | char * modif); | |
188 | ||
189 | void db_show_one_mutex( | |
190 | db_expr_t addr, | |
191 | boolean_t have_addr, | |
192 | db_expr_t count, | |
193 | char * modif); | |
194 | ||
1c79356b A |
195 | void db_show_runq( |
196 | db_expr_t addr, | |
197 | boolean_t have_addr, | |
198 | db_expr_t count, | |
199 | char * modif); | |
200 | ||
201 | #endif /* !_DDB_DB_PRINT_H_ */ |