Annotation of XNU/osfmk/ddb/db_examine.h, revision 1.1.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.1.7.2  1996/01/09  19:15:43  devrcs
                     35:  *     Function prototypes for db_print_loc() & db_print_inst().
                     36:  *     [1995/12/01  21:42:06  jfraser]
                     37:  *
                     38:  *     Merged '64-bit safe' changes from DEC alpha port.
                     39:  *     [1995/11/21  18:03:03  jfraser]
                     40:  *
                     41:  * Revision 1.1.7.1  1994/09/23  01:18:55  ezf
                     42:  *     change marker to not FREE
                     43:  *     [1994/09/22  21:09:49  ezf]
                     44:  * 
                     45:  * Revision 1.1.2.4  1993/09/17  21:34:33  robert
                     46:  *     change marker to OSF_FREE_COPYRIGHT
                     47:  *     [1993/09/17  21:27:11  robert]
                     48:  * 
                     49:  * Revision 1.1.2.3  1993/08/11  22:12:10  elliston
                     50:  *     Add ANSI Prototypes.  CR #9523.
                     51:  *     [1993/08/11  03:33:11  elliston]
                     52:  * 
                     53:  * Revision 1.1.2.2  1993/07/27  18:27:12  elliston
                     54:  *     Add ANSI prototypes.  CR #9523.
                     55:  *     [1993/07/27  18:11:28  elliston]
                     56:  * 
                     57:  * $EndLog$
                     58:  */
                     59: 
                     60: #ifndef        _DDB_DB_EXAMINE_H_
                     61: #define        _DDB_DB_EXAMINE_H_
                     62: 
                     63: #include <machine/db_machdep.h>
                     64: #include <kern/task.h>
                     65: 
                     66: /* Prototypes for functions exported by this module.
                     67:  */
                     68: 
                     69: void db_examine_cmd(
                     70:        db_expr_t       addr,
                     71:        int             have_addr,
                     72:        db_expr_t       count,
                     73:        char *          modif);
                     74: 
                     75: void db_examine_forward(
                     76:        db_expr_t       addr,
                     77:        int             have_addr,
                     78:        db_expr_t       count,
                     79:        char *          modif);
                     80: 
                     81: void db_examine_backward(
                     82:        db_expr_t       addr,
                     83:        int             have_addr,
                     84:        db_expr_t       count,
                     85:        char *          modif);
                     86: 
                     87: void db_examine(
                     88:        db_addr_t       addr,
                     89:        char *          fmt,    /* format string */
                     90:        int             count,  /* repeat count */
                     91:        task_t          task);
                     92: 
                     93: void db_print_cmd(void);
                     94: 
                     95: void db_print_loc(
                     96:        db_addr_t       loc,
                     97:        task_t          task);
                     98: 
                     99: void
                    100: db_print_inst(
                    101:        db_addr_t       loc,
                    102:        task_t          task);
                    103: 
                    104: void db_print_loc_and_inst(
                    105:        db_addr_t       loc,
                    106:        task_t          task);
                    107: 
                    108: void db_search_cmd(void);
                    109: 
                    110: void db_search(
                    111:        db_addr_t       addr,
                    112:        int             size,
                    113:        db_expr_t       value,
                    114:        db_expr_t       mask,
                    115:        unsigned int    count,
                    116:        task_t          task);
                    117: 
                    118: #endif /* !_DDB_DB_EXAMINE_H_ */

unix.superglobalmegacorp.com

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