]>
Commit | Line | Data |
---|---|---|
1c79356b A |
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 | * Mach Operating System | |
24 | * Copyright (c) 1989 Carnegie-Mellon University | |
25 | * Copyright (c) 1988 Carnegie-Mellon University | |
26 | * Copyright (c) 1987 Carnegie-Mellon University | |
27 | * All rights reserved. The CMU software License Agreement specifies | |
28 | * the terms and conditions for use and redistribution. | |
29 | */ | |
30 | /* | |
31 | * HISTORY | |
32 | * | |
33 | * Revision 1.2.32.1 1998/11/11 21:54:39 aramesh | |
34 | * Atlas merge | |
35 | * | |
36 | * Revision 1.1.1.1 1997/09/30 02:42:22 wsanchez | |
37 | * Import of kernel from umeshv/kernel | |
38 | * | |
39 | * Revision 2.7 89/10/03 19:23:14 rpd | |
40 | * Change from NeXT: added EXC_UNIX_ABORT. | |
41 | * [89/08/20 23:16:13 rpd] | |
42 | * | |
43 | * Revision 2.6 89/03/09 19:35:07 rpd | |
44 | * More cleanup. | |
45 | * | |
46 | * Revision 2.5 89/02/25 15:01:07 gm0w | |
47 | * Changes for cleanup. | |
48 | * | |
49 | * Revision 2.4 89/02/07 01:01:10 mwyoung | |
50 | * Relocated from uxkern/ux_exception.h | |
51 | * | |
52 | * Revision 2.3 89/01/15 16:35:44 rpd | |
53 | * Use decl_simple_lock_data. | |
54 | * [89/01/15 15:19:58 rpd] | |
55 | * | |
56 | * Revision 2.2 88/08/24 02:52:12 mwyoung | |
57 | * Adjusted include file references. | |
58 | * [88/08/17 02:27:27 mwyoung] | |
59 | * | |
60 | * 29-Sep-87 David Black (dlb) at Carnegie-Mellon University | |
61 | * Created. | |
62 | * | |
63 | */ | |
64 | ||
65 | /* | |
66 | * Codes for Unix software exceptions under EXC_SOFTWARE. | |
67 | */ | |
68 | ||
69 | #ifndef _SYS_UX_EXCEPTION_H_ | |
70 | #define _SYS_UX_EXCEPTION_H_ | |
71 | ||
72 | #define EXC_UNIX_BAD_SYSCALL 0x10000 /* SIGSYS */ | |
73 | ||
74 | #define EXC_UNIX_BAD_PIPE 0x10001 /* SIGPIPE */ | |
75 | ||
76 | #define EXC_UNIX_ABORT 0x10002 /* SIGABRT */ | |
77 | ||
78 | #ifdef KERNEL | |
79 | /* | |
80 | * Kernel data structures for Unix exception handler. | |
81 | */ | |
82 | ||
83 | #include <mach/port.h> | |
84 | ||
85 | extern mach_port_name_t ux_exception_port; | |
86 | ||
87 | #endif /* KERNEL */ | |
88 | ||
89 | #endif /* _SYS_UX_EXCEPTION_H_ */ |