Annotation of XNU/osfmk/ddb/db_trap.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.6.1  1994/09/23  01:22:27  ezf
                     35:  *     change marker to not FREE
                     36:  *     [1994/09/22  21:11:20  ezf]
                     37:  *
                     38:  * Revision 1.1.2.4  1993/09/17  21:34:42  robert
                     39:  *     change marker to OSF_FREE_COPYRIGHT
                     40:  *     [1993/09/17  21:27:27  robert]
                     41:  * 
                     42:  * Revision 1.1.2.3  1993/08/03  18:21:39  rod
                     43:  *     ANSI prototypes:  prototype thread_kdb_return().  CR #9523.
                     44:  *     [1993/08/03  13:06:06  rod]
                     45:  * 
                     46:  * Revision 1.1.2.2  1993/07/27  18:28:24  elliston
                     47:  *     Add ANSI prototypes.  CR #9523.
                     48:  *     [1993/07/27  18:13:18  elliston]
                     49:  * 
                     50:  * $EndLog$
                     51:  */
                     52: 
                     53: #ifndef        _DDB_DB_TRAP_H_
                     54: #define        _DDB_DB_TRAP_H_
                     55: 
                     56: #include <mach/boolean.h>
                     57: 
                     58: 
                     59: /* Prototypes for functions exported by this module.
                     60:  */
                     61: 
                     62: void db_task_trap(
                     63:        int             type,
                     64:        int             code,
                     65:        boolean_t       user_space);
                     66: 
                     67: void db_trap(
                     68:        int     type,
                     69:        int     code);
                     70: 
                     71: /* Other exported prototypes
                     72:  */
                     73: 
                     74: void thread_kdb_return(void);
                     75: 
                     76: #endif /* !_DDB_DB_TRAP_H_ */

unix.superglobalmegacorp.com

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