diff options
author | red031000 <rubenru09@aol.com> | 2020-09-03 18:38:32 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-09-03 18:38:50 +0100 |
commit | de5004d18612a49bd6f04c26c81cf9c790c0721b (patch) | |
tree | ba5849e6c263a16674d42ee19a288ac14e874fc2 /arm7/lib/include | |
parent | 1b96581aa2aecec27b6f1e523c3611f9bb400caa (diff) |
arm7 OS_message
Diffstat (limited to 'arm7/lib/include')
-rw-r--r-- | arm7/lib/include/OS_init.h | 1 | ||||
-rw-r--r-- | arm7/lib/include/OS_message.h | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/arm7/lib/include/OS_init.h b/arm7/lib/include/OS_init.h index b4836234..afb1d9a2 100644 --- a/arm7/lib/include/OS_init.h +++ b/arm7/lib/include/OS_init.h @@ -14,6 +14,7 @@ #include "OS_irqTable.h" #include "OS_timer.h" #include "OS_tick.h" +#include "OS_message.h" void OS_Init(void); diff --git a/arm7/lib/include/OS_message.h b/arm7/lib/include/OS_message.h new file mode 100644 index 00000000..d5b122e0 --- /dev/null +++ b/arm7/lib/include/OS_message.h @@ -0,0 +1,14 @@ +#ifndef POKEDIAMOND_ARM7_OS_MESSAGE_H +#define POKEDIAMOND_ARM7_OS_MESSAGE_H + +#include "OS_thread.h" +#include "OS_context.h" +#include "nitro/types.h" +#include "nitro/OS_message_shared.h" + +void OS_InitMessageQueue(OSMessageQueue *mq, OSMessage *msgArray, s32 msgCount); +BOOL OS_SendMessage(OSMessageQueue *mq, OSMessage msg, s32 flags); +BOOL OS_ReceiveMessage(OSMessageQueue *mq, OSMessage *msg, s32 flags); +BOOL OS_ReadMessage(OSMessageQueue *mq, OSMessage *msg, s32 flags); + +#endif //POKEDIAMOND_ARM7_OS_MESSAGE_H |