]> git.saurik.com Git - apple/xnu.git/blame - osfmk/ddb/db_trap.h
xnu-344.21.73.tar.gz
[apple/xnu.git] / osfmk / ddb / db_trap.h
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
d7e50217 6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
1c79356b 7 *
d7e50217
A
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
1c79356b
A
17 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
18 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
d7e50217
A
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.
1c79356b
A
22 *
23 * @APPLE_LICENSE_HEADER_END@
24 */
25/*
26 * @OSF_COPYRIGHT@
27 */
28/*
29 * HISTORY
30 *
31 * Revision 1.1.1.1 1998/09/22 21:05:48 wsanchez
32 * Import of Mac OS X kernel (~semeria)
33 *
34 * Revision 1.1.1.1 1998/03/07 02:26:09 wsanchez
35 * Import of OSF Mach kernel (~mburg)
36 *
37 * Revision 1.1.6.1 1994/09/23 01:22:27 ezf
38 * change marker to not FREE
39 * [1994/09/22 21:11:20 ezf]
40 *
41 * Revision 1.1.2.4 1993/09/17 21:34:42 robert
42 * change marker to OSF_FREE_COPYRIGHT
43 * [1993/09/17 21:27:27 robert]
44 *
45 * Revision 1.1.2.3 1993/08/03 18:21:39 rod
46 * ANSI prototypes: prototype thread_kdb_return(). CR #9523.
47 * [1993/08/03 13:06:06 rod]
48 *
49 * Revision 1.1.2.2 1993/07/27 18:28:24 elliston
50 * Add ANSI prototypes. CR #9523.
51 * [1993/07/27 18:13:18 elliston]
52 *
53 * $EndLog$
54 */
55
56#ifndef _DDB_DB_TRAP_H_
57#define _DDB_DB_TRAP_H_
58
59#include <mach/boolean.h>
60
61
62/* Prototypes for functions exported by this module.
63 */
64
65void db_task_trap(
66 int type,
67 int code,
68 boolean_t user_space);
69
70void db_trap(
71 int type,
72 int code);
73
74/* Other exported prototypes
75 */
76
77void thread_kdb_return(void);
78
79#endif /* !_DDB_DB_TRAP_H_ */