#define ACTIVATION_FIFO             3
#define TASK_CONTROL_FIFO           4
#define CONTROL_LEVEL_FIFO          5

#define SIM_ACTIVATION_FIFO             6
#define SIM_TASK_CONTROL_FIFO           7
#define SIM_CONTROL_LEVEL_FIFO          8

typedef struct my_msg_struct {
	int command;
        int arg;
} jlsMessageType;

enum { START_TASK,
       STOP_TASK,
       START_CL,
       START_ALRM_MSG,
       STOP_ALRM_MSG,
       START_BEAT_MSG,
       STOP_BEAT_MSG,
       CL_OVERRUN
};

#define RCI_BEAT_READY  0x1
#define RCI_ALARM_READY 0x2

typedef struct {
        /* Describes an RCI timer event: when the event occured
           (ticks), and which requests occured on that event (req). */
        int req;
        int tick;
} RciTimerEvent;
