]> git.saurik.com Git - apple/xnu.git/blame - osfmk/ddb/db_examine.h
xnu-1456.1.26.tar.gz
[apple/xnu.git] / osfmk / ddb / db_examine.h
CommitLineData
1c79356b 1/*
2d21ac55 2 * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
1c79356b 3 *
2d21ac55 4 * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
8f6c56a5 5 *
2d21ac55
A
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the License
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
8f6c56a5 14 *
2d21ac55
A
15 * Please obtain a copy of the License at
16 * http://www.opensource.apple.com/apsl/ and read it before using this file.
17 *
18 * The Original Code and all software distributed under the License are
19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
8f6c56a5
A
20 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
21 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
2d21ac55
A
22 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
23 * Please see the License for the specific language governing rights and
24 * limitations under the License.
8f6c56a5 25 *
2d21ac55 26 * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
1c79356b
A
27 */
28/*
29 * @OSF_COPYRIGHT@
30 */
31/*
32 * HISTORY
33 *
34 * Revision 1.1.1.1 1998/09/22 21:05:48 wsanchez
35 * Import of Mac OS X kernel (~semeria)
36 *
37 * Revision 1.1.1.1 1998/03/07 02:26:09 wsanchez
38 * Import of OSF Mach kernel (~mburg)
39 *
40 * Revision 1.1.7.2 1996/01/09 19:15:43 devrcs
41 * Function prototypes for db_print_loc() & db_print_inst().
42 * [1995/12/01 21:42:06 jfraser]
43 *
44 * Merged '64-bit safe' changes from DEC alpha port.
45 * [1995/11/21 18:03:03 jfraser]
46 *
47 * Revision 1.1.7.1 1994/09/23 01:18:55 ezf
48 * change marker to not FREE
49 * [1994/09/22 21:09:49 ezf]
50 *
51 * Revision 1.1.2.4 1993/09/17 21:34:33 robert
52 * change marker to OSF_FREE_COPYRIGHT
53 * [1993/09/17 21:27:11 robert]
54 *
55 * Revision 1.1.2.3 1993/08/11 22:12:10 elliston
56 * Add ANSI Prototypes. CR #9523.
57 * [1993/08/11 03:33:11 elliston]
58 *
59 * Revision 1.1.2.2 1993/07/27 18:27:12 elliston
60 * Add ANSI prototypes. CR #9523.
61 * [1993/07/27 18:11:28 elliston]
62 *
63 * $EndLog$
64 */
65
66#ifndef _DDB_DB_EXAMINE_H_
67#define _DDB_DB_EXAMINE_H_
68
69#include <machine/db_machdep.h>
70#include <kern/task.h>
71
72/* Prototypes for functions exported by this module.
73 */
74
2d21ac55 75void db_examine_cmd(db_expr_t, boolean_t, db_expr_t, char *);
1c79356b 76
2d21ac55 77void db_examine_forward(db_expr_t, boolean_t, db_expr_t, char *);
1c79356b 78
2d21ac55 79void db_examine_backward(db_expr_t, boolean_t, db_expr_t, char *);
1c79356b
A
80
81void db_examine(
82 db_addr_t addr,
83 char * fmt, /* format string */
84 int count, /* repeat count */
85 task_t task);
86
87void db_print_cmd(void);
88
89void db_print_loc(
90 db_addr_t loc,
91 task_t task);
92
93void
94db_print_inst(
95 db_addr_t loc,
96 task_t task);
97
98void db_print_loc_and_inst(
99 db_addr_t loc,
100 task_t task);
101
102void db_search_cmd(void);
103
104void db_search(
105 db_addr_t addr,
106 int size,
107 db_expr_t value,
108 db_expr_t mask,
109 unsigned int count,
110 task_t task);
111
112#endif /* !_DDB_DB_EXAMINE_H_ */