33#ifdef _LANGUAGE_C_PLUS_PLUS
40#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
58typedef struct OSMesgQueue_s {
79#define OS_NUM_EVENTS 15
81#define OS_NUM_EVENTS 23
86#define OS_EVENT_CART 2
87#define OS_EVENT_COUNTER 3
94#define OS_EVENT_CPU_BREAK 10
95#define OS_EVENT_SP_BREAK 11
96#define OS_EVENT_FAULT 12
97#define OS_EVENT_THREADSTATUS 13
98#define OS_EVENT_PRENMI 14
100#define OS_EVENT_RDB_READ_DONE 15
101#define OS_EVENT_RDB_LOG_DONE 16
102#define OS_EVENT_RDB_DATA_DONE 17
103#define OS_EVENT_RDB_REQ_RAMROM 18
104#define OS_EVENT_RDB_FREE_RAMROM 19
105#define OS_EVENT_RDB_DBG_DONE 20
106#define OS_EVENT_RDB_FLUSH_PROF 21
107#define OS_EVENT_RDB_ACK_PROF 22
112#define OS_MESG_NOBLOCK 0
113#define OS_MESG_BLOCK 1
115#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
124#define MQ_GET_COUNT(mq) ((mq)->validCount)
127#define MQ_IS_EMPTY(mq) (MQ_GET_COUNT(mq) == 0)
128#define MQ_IS_FULL(mq) (MQ_GET_COUNT(mq) >= (mq)->msgCount)
155#ifdef _LANGUAGE_C_PLUS_PLUS
s32 osRecvMesg(OSMesgQueue *, OSMesg *, s32)
Definition osRecvMesg.c:3
void osSetEventMesg(OSEvent, OSMesgQueue *, OSMesg)
Definition osSetEventMesg.c:10
void osCreateMesgQueue(OSMesgQueue *mq, OSMesg *msgBuf, s32 count)
Definition osCreateMesgQueue.c:3
s32 osJamMesg(OSMesgQueue *mq, OSMesg msg, s32 flag)
Definition osJamMesg.c:3
s32 osSendMesg(OSMesgQueue *mq, OSMesg msg, s32 flag)
Definition osSendMesg.c:3
Definition os_thread.h:50
signed int s32
Definition ultratypes.h:15
unsigned int u32
Definition ultratypes.h:16