# ifndef NO_WHAT
/*
 *      SCCS file type - Emulator Include File
 *
 *      What identification string:
 */
static char *_S_hEventType = "@(#)EventType.h	3.2";
# endif

/*
 *	EventType = 0 .. 255
 *
 *	Predefined System EventType values:
 *
 *	SysEvent = ( ET_Timer, ET_BPT, ..., ET_SecureAttn )
 */
#define EventType char
#define SysEvent char

/********* Event Types   *************/

/* event type limits for different types */
#define  MAX_ET_HARD  7
#define  MIN_ET_IPC  24


#define  ET_NullEvent 	0

/* hardware errors */

#define  ET_MemError          1
#define  ET_BPT 		2
#define  ET_IOT 		3
#define  ET_CPUerror 		4
#define  ET_IllegInstr 	5
#define  ET_MemMgmt 		6
#define  ET_FloatingPt 	7

/* timer interrupt signals */

#define  ET_TimerToggle      8
#define  ET_TimerAlarm       9


#define  ET_EmulCall         10


/* asynchronous I/O completion */

#define  ET_IOcomplete       11

/* ipc's sent by K_signal     */

#define  ET_CoopKill         15



/*** event types sent by IPCs  ***/
/*** no event types under 23   ***/

#define  ET_Synchro          24
#define  ET_Network          25
#define  ET_DirMgr           26

#define  ET_Suspend          27


/* User (Emulator) defined event types */

/* Event types for ETTY                */

#define  TTY_IO_COMPLETE     128
#define  START_READ          129
#define  START_WRITE         130
#define  START_ECHO          131
#define  READ_COMPLETE       132
#define  WRITE_COMPLETE      133
#define  NEW_CRM             134
#define  NEW_CWM             135

/* sent from ESG */
#define  ET_SIGNAL_PENDING   140
#define  ET_SIGNAL           141

/* EPS */
#define  ET_ForkStat         150
#define  ET_ChildStopped     151    /* used for exit and ptracing */
#define  ET_ChildTimes       152



/* EFI: await channels... */
#define  EFI_timeout_event   160
#define  EPP_wake_up_event   161
#define  TUC_wake_up_event   162

/* Event types for EBC    */
#define  EBC_START_IO	163
#define  EBC_IO_COMPLETE	164
#define  EBC_NO_BUFFERS	165
#define  EBC_OP_DONE		166
