2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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.
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
20 * @APPLE_LICENSE_HEADER_END@
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.
33 * Revision 1.2.32.1 1998/11/11 21:54:39 aramesh
36 * Revision 1.1.1.1 1997/09/30 02:42:22 wsanchez
37 * Import of kernel from umeshv/kernel
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]
43 * Revision 2.6 89/03/09 19:35:07 rpd
46 * Revision 2.5 89/02/25 15:01:07 gm0w
47 * Changes for cleanup.
49 * Revision 2.4 89/02/07 01:01:10 mwyoung
50 * Relocated from uxkern/ux_exception.h
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]
56 * Revision 2.2 88/08/24 02:52:12 mwyoung
57 * Adjusted include file references.
58 * [88/08/17 02:27:27 mwyoung]
60 * 29-Sep-87 David Black (dlb) at Carnegie-Mellon University
66 * Codes for Unix software exceptions under EXC_SOFTWARE.
69 #ifndef _SYS_UX_EXCEPTION_H_
70 #define _SYS_UX_EXCEPTION_H_
72 #define EXC_UNIX_BAD_SYSCALL 0x10000 /* SIGSYS */
74 #define EXC_UNIX_BAD_PIPE 0x10001 /* SIGPIPE */
76 #define EXC_UNIX_ABORT 0x10002 /* SIGABRT */
80 * Kernel data structures for Unix exception handler.
83 #include <mach/port.h>
85 extern mach_port_name_t ux_exception_port
;
89 #endif /* _SYS_UX_EXCEPTION_H_ */