/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	mach_traps.h,v $
 * Revision 4.2  91/09/19  22:34:44  devbld
 * Adding ODE Headers
 * 
 * $EndLog$
 */
/*	
 *	@(#)$RCSfile: mach_traps.h,v $ $Revision: 4.2 $ (DEC) $Date: 91/09/19 22:34:44 $
 */ 
/*
 */
/*
 * (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
 */
/*
 *	Definitions of general Mach system traps.
 *
 *	IPC traps are defined in <mach/message.h>.
 *	Kernel RPC functions are defined in <kern/mach.h>.
 */

#ifndef	_MACH_MACH_TRAPS_H_
#define _MACH_MACH_TRAPS_H_

#define _MACH_INIT_	1

#include <mach/mach_types.h>

#ifdef	KERNEL
port_t		task_self
#else	/* KERNEL */
task_t		task_self
#endif	/* KERNEL */
#ifdef	LINTLIBRARY
			()
	 { return(PORT_NULL); }
#else	/* LINTLIBRARY */
			();
#endif	/* LINTLIBRARY */

port_t		task_data
#ifdef	LINTLIBRARY
			()
	 { return(PORT_NULL); }
#else	/* LINTLIBRARY */
			();
#endif	/* LINTLIBRARY */

port_t		task_notify
#ifdef	LINTLIBRARY
			()
	 { return(PORT_NULL); }
#else	/* LINTLIBRARY */
			();
#endif	/* LINTLIBRARY */

#ifdef	KERNEL
port_t		thread_self
#else	/* KERNEL */
thread_t	thread_self
#endif	/* KERNEL */
#ifdef	LINTLIBRARY
			()
	 { return(PORT_NULL); }
#else	/* LINTLIBRARY */
			();
#endif	/* LINTLIBRARY */

port_t		thread_reply
#ifdef	LINTLIBRARY
			()
	 { return(PORT_NULL); }
#else	/* LINTLIBRARY */
			();
#endif	/* LINTLIBRARY */

#ifdef	KERNEL
port_t		host_self
#else	/* KERNEL */
host_t		host_self
#endif	/* KERNEL */
#ifdef	LINTLIBRARY
			()
	 { return(PORT_NULL); }
#else	/* LINTLIBRARY */
			();
#endif	/* LINTLIBRARY */

#ifdef	KERNEL
port_t		host_priv_self
#else	/* KERNEL */
host_priv_t	host_priv_self
#endif	/* KERNEL */
#ifdef	LINTLIBRARY
			()
	 { return(PORT_NULL); }
#else	/* LINTLIBRARY */
			();
#endif	/* LINTLIBRARY */

#endif	/* _MACH_MACH_TRAPS_H_ */
