/*-=-=-=-=-=-=-=-=-=-=-=- RCCL/RCI Notice of Copyright -=-=-=-=-=-=-=-=-=-=-*
 *									    *
 *	Copyright (C) 1987, 1991 by John E. Lloyd.			    *
 *									    *
 *	Information on copyright permissions, as well as a complete	    *
 *	disclaimer of warranty, is given in the file COPYRIGHT.		    *
 *									    *
 *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/

#ifndef _RCIMONITOR_H_
#define _RCIMONITOR_H_

#define RELEASE_REQ	     0	/* normal release request from parent	*/
#define EXTERNAL_ABORT	     1	/* abort request issued by another task */
#define BLK_TIMEOUT	     3	/* task had to wait too long to wakeup  */
#define LAG_TIMEOUT	     4	/* too many task run requests pending	*/
#define STARTUP_FXN_ERR	     5 	/* error in startup function		*/
#define CONTROL_FXN_ERR     15  /* error reported by control function */
#define RELEASE_FXN_ERR	     8  /* error in release function		*/
#define RELEASE_WAITREQ	    16  /* release function asks to wait */

/* OBSOLETE CODES: */

#define RUN_TIMEOUT	     2	/* task took too long to execute 	*/
#define WRAPUP_RUNREQ	    13	/* 2nd call to wrapup; device is ready  */
#define EXECUTE_FXN_ERR	    14	/* error reported by execute or startup fxn */

#endif
