Annotation of XNU/osfmk/ddb/db_output.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
        !             3:  *
        !             4:  * @APPLE_LICENSE_HEADER_START@
        !             5:  * 
        !             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.
        !            11:  * 
        !            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
        !            14:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
        !            15:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
        !            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.
        !            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.2.12.2  1994/09/23  01:20:43  ezf
        !            35:  *     change marker to not FREE
        !            36:  *     [1994/09/22  21:10:36  ezf]
        !            37:  *
        !            38:  * Revision 1.2.12.1  1994/06/11  21:12:00  bolinger
        !            39:  *     Merge up to NMK17.2.
        !            40:  *     [1994/06/11  20:03:58  bolinger]
        !            41:  * 
        !            42:  * Revision 1.2.10.2  1994/03/07  16:37:44  paire
        !            43:  *     Added definition of indent.
        !            44:  *     [94/02/17            paire]
        !            45:  * 
        !            46:  * Revision 1.2.10.1  1994/02/08  10:58:14  bernadat
        !            47:  *     Added   db_reserve_output_position
        !            48:  *             db_reset_more
        !            49:  *     prototypes
        !            50:  *     [94/02/07            bernadat]
        !            51:  * 
        !            52:  * Revision 1.2.2.4  1993/08/11  22:12:12  elliston
        !            53:  *     Add ANSI Prototypes.  CR #9523.
        !            54:  *     [1993/08/11  03:33:44  elliston]
        !            55:  * 
        !            56:  * Revision 1.2.2.3  1993/07/27  18:27:52  elliston
        !            57:  *     Add ANSI prototypes.  CR #9523.
        !            58:  *     [1993/07/27  18:12:35  elliston]
        !            59:  * 
        !            60:  * Revision 1.2.2.2  1993/06/09  02:20:29  gm
        !            61:  *     Added to OSF/1 R1.3 from NMK15.0.
        !            62:  *     [1993/06/02  20:56:49  jeffc]
        !            63:  * 
        !            64:  * Revision 1.2  1993/04/19  16:02:43  devrcs
        !            65:  *     Changes from mk78:
        !            66:  *     db_printf is void.
        !            67:  *     [92/05/18            jfriedl]
        !            68:  *     [93/02/03            bruel]
        !            69:  * 
        !            70:  * Revision 1.1  1992/09/30  02:24:18  robert
        !            71:  *     Initial revision
        !            72:  * 
        !            73:  * $EndLog$
        !            74:  */
        !            75: /* CMU_HIST */
        !            76: /*
        !            77:  * Revision 2.4  91/05/14  15:35:07  mrt
        !            78:  *     Correcting copyright
        !            79:  * 
        !            80:  * Revision 2.3  91/02/05  17:06:49  mrt
        !            81:  *     Changed to new Mach copyright
        !            82:  *     [91/01/31  16:18:48  mrt]
        !            83:  * 
        !            84:  * Revision 2.2  90/08/27  21:51:32  dbg
        !            85:  *     Created.
        !            86:  *     [90/08/07            dbg]
        !            87:  * 
        !            88:  */
        !            89: /* CMU_ENDHIST */
        !            90: /* 
        !            91:  * Mach Operating System
        !            92:  * Copyright (c) 1991,1990 Carnegie Mellon University
        !            93:  * All Rights Reserved.
        !            94:  * 
        !            95:  * Permission to use, copy, modify and distribute this software and its
        !            96:  * documentation is hereby granted, provided that both the copyright
        !            97:  * notice and this permission notice appear in all copies of the
        !            98:  * software, derivative works or modified versions, and any portions
        !            99:  * thereof, and that both notices appear in supporting documentation.
        !           100:  * 
        !           101:  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
        !           102:  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
        !           103:  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
        !           104:  * 
        !           105:  * Carnegie Mellon requests users of this software to return to
        !           106:  * 
        !           107:  *  Software Distribution Coordinator  or  [email protected]
        !           108:  *  School of Computer Science
        !           109:  *  Carnegie Mellon University
        !           110:  *  Pittsburgh PA 15213-3890
        !           111:  * 
        !           112:  * any improvements or extensions that they make and grant Carnegie Mellon
        !           113:  * the rights to redistribute these changes.
        !           114:  */
        !           115: /*
        !           116:  */
        !           117: /*
        !           118:  *     Author: David B. Golub, Carnegie Mellon University
        !           119:  *     Date:   8/90
        !           120:  */
        !           121: 
        !           122: /*
        !           123:  * Printing routines for kernel debugger.
        !           124:  */
        !           125: 
        !           126: #ifndef        _DDB_DB_OUTPUT_H_
        !           127: #define        _DDB_DB_OUTPUT_H_
        !           128: 
        !           129: #include <mach/boolean.h>
        !           130: 
        !           131: extern int db_indent;
        !           132: 
        !           133: /*
        !           134:  * Prototypes for functions exported by this module.
        !           135:  */
        !           136: void db_force_whitespace(void);
        !           137: void db_putchar(char c);
        !           138: int db_print_position(void);
        !           139: void db_end_line(void);
        !           140: void db_printf(char *fmt, ...);
        !           141: void kdbprintf(char *fmt, ...);
        !           142: void iprintf(char *fmt, ...);
        !           143: boolean_t db_reserve_output_position(int len);
        !           144: void db_reset_more(void);
        !           145: void db_output_prompt(void);
        !           146: #endif /* !_DDB_DB_OUTPUT_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.