]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/ddb/db_output.h
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
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
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.
23 * @APPLE_LICENSE_HEADER_END@
31 * Revision 1.1.1.1 1998/09/22 21:05:48 wsanchez
32 * Import of Mac OS X kernel (~semeria)
34 * Revision 1.1.1.1 1998/03/07 02:26:09 wsanchez
35 * Import of OSF Mach kernel (~mburg)
37 * Revision 1.2.12.2 1994/09/23 01:20:43 ezf
38 * change marker to not FREE
39 * [1994/09/22 21:10:36 ezf]
41 * Revision 1.2.12.1 1994/06/11 21:12:00 bolinger
42 * Merge up to NMK17.2.
43 * [1994/06/11 20:03:58 bolinger]
45 * Revision 1.2.10.2 1994/03/07 16:37:44 paire
46 * Added definition of indent.
49 * Revision 1.2.10.1 1994/02/08 10:58:14 bernadat
50 * Added db_reserve_output_position
55 * Revision 1.2.2.4 1993/08/11 22:12:12 elliston
56 * Add ANSI Prototypes. CR #9523.
57 * [1993/08/11 03:33:44 elliston]
59 * Revision 1.2.2.3 1993/07/27 18:27:52 elliston
60 * Add ANSI prototypes. CR #9523.
61 * [1993/07/27 18:12:35 elliston]
63 * Revision 1.2.2.2 1993/06/09 02:20:29 gm
64 * Added to OSF/1 R1.3 from NMK15.0.
65 * [1993/06/02 20:56:49 jeffc]
67 * Revision 1.2 1993/04/19 16:02:43 devrcs
73 * Revision 1.1 1992/09/30 02:24:18 robert
80 * Revision 2.4 91/05/14 15:35:07 mrt
81 * Correcting copyright
83 * Revision 2.3 91/02/05 17:06:49 mrt
84 * Changed to new Mach copyright
85 * [91/01/31 16:18:48 mrt]
87 * Revision 2.2 90/08/27 21:51:32 dbg
94 * Mach Operating System
95 * Copyright (c) 1991,1990 Carnegie Mellon University
96 * All Rights Reserved.
98 * Permission to use, copy, modify and distribute this software and its
99 * documentation is hereby granted, provided that both the copyright
100 * notice and this permission notice appear in all copies of the
101 * software, derivative works or modified versions, and any portions
102 * thereof, and that both notices appear in supporting documentation.
104 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
105 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
106 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
108 * Carnegie Mellon requests users of this software to return to
110 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
111 * School of Computer Science
112 * Carnegie Mellon University
113 * Pittsburgh PA 15213-3890
115 * any improvements or extensions that they make and grant Carnegie Mellon
116 * the rights to redistribute these changes.
121 * Author: David B. Golub, Carnegie Mellon University
126 * Printing routines for kernel debugger.
129 #ifndef _DDB_DB_OUTPUT_H_
130 #define _DDB_DB_OUTPUT_H_
132 #include <mach/boolean.h>
134 extern int db_indent
;
137 * Prototypes for functions exported by this module.
139 void db_force_whitespace(void);
140 void db_putchar(char c
);
141 int db_print_position(void);
142 void db_end_line(void);
143 void db_printf(char *fmt
, ...);
144 void kdbprintf(char *fmt
, ...);
145 void iprintf(char *fmt
, ...);
146 boolean_t
db_reserve_output_position(int len
);
147 void db_reset_more(void);
148 void db_output_prompt(void);
149 #endif /* !_DDB_DB_OUTPUT_H_ */