/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	ux_exception.h,v $
 * Revision 4.2  91/09/19  22:06:32  devbld
 * Adding ODE Headers
 * 
 * $EndLog$
 */
/*	
 *	@(#)$RCSfile: ux_exception.h,v $ $Revision: 4.2 $ (DEC) $Date: 91/09/19 22:06:32 $
 */ 
/*
 */
/*
 * (c) Copyright 1990, OPEN SOFTWARE FOUNDATION, INC.
 * ALL RIGHTS RESERVED
 */
/* 
 * Mach Operating System
 * Copyright (c) 1989 Carnegie-Mellon University
 * Copyright (c) 1988 Carnegie-Mellon University
 * Copyright (c) 1987 Carnegie-Mellon University
 * All rights reserved.  The CMU software License Agreement specifies
 * the terms and conditions for use and redistribution.
 */
/*
 * OSF/1 Release 1.0
 */

/*
 *	Codes for Unix software exceptions under EXC_SOFTWARE.
 */

#ifndef	_BUILTIN_UX_EXCEPTION_H_
#define _BUILTIN_UX_EXCEPTION_H_

#define EXC_UNIX_BAD_SYSCALL	0x10000		/* SIGSYS */

#define EXC_UNIX_BAD_PIPE	0x10001		/* SIGPIPE */

#define EXC_UNIX_ABORT		0x10002		/* SIGABRT */

#ifdef	KERNEL
/*
 *	Kernel data structures for Unix exception handler.
 */

#include <mach/port.h>
#include <kern/lock.h>

decl_simple_lock_data(extern,	ux_handler_init_lock)
extern port_t			ux_exception_port;

#endif	/* KERNEL */
#endif	/* _BUILTIN_UX_EXCEPTION_H_ */
