]> git.saurik.com Git - apple/xnu.git/blob - osfmk/ppc/db_low_trace.h
518bfdc6be246d16c392e2dd1537193236f6858e
[apple/xnu.git] / osfmk / ppc / db_low_trace.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
7 *
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
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.
22 *
23 * @APPLE_LICENSE_HEADER_END@
24 */
25 /*
26 * @OSF_FREE_COPYRIGHT@
27 */
28 /*
29 * @APPLE_FREE_COPYRIGHT@
30 */
31
32 #ifndef _DDB_DB_LTR_H_
33 #define _DDB_DB_LTR_H_
34
35 #include <machine/db_machdep.h>
36 #include <kern/task.h>
37
38 /* Prototypes for functions exported by this module.
39 */
40
41 void db_list_pmap(
42 db_expr_t addr,
43 int have_addr,
44 db_expr_t count,
45 char *modif
46 );
47
48 void db_low_trace(
49 db_expr_t addr,
50 int have_addr,
51 db_expr_t count,
52 char *modif
53 );
54
55 void db_display_long(
56 db_expr_t addr,
57 int have_addr,
58 db_expr_t count,
59 char *modif
60 );
61
62 void db_display_real(
63 db_expr_t addr,
64 int have_addr,
65 db_expr_t count,
66 char *modif
67 );
68
69 void db_display_virtual(db_expr_t addr, int have_addr, db_expr_t count, char * modif);
70 void db_display_mappings(db_expr_t addr, int have_addr, db_expr_t count, char * modif);
71 void db_display_pmap(db_expr_t addr, int have_addr, db_expr_t count, char * modif);
72 void db_display_save(db_expr_t addr, int have_addr, db_expr_t count, char * modif);
73 void db_display_xregs(db_expr_t addr, int have_addr, db_expr_t count, char * modif);
74 void db_display_kmod(db_expr_t addr, int have_addr, db_expr_t count, char * modif);
75 void db_gsnoop(db_expr_t addr, int have_addr, db_expr_t count, char * modif);
76
77 #endif /* !_DDB_DB_LTR_H_ */