mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-05-10 21:08:16 -05:00
35 lines
673 B
C
35 lines
673 B
C
/*
|
|
* NOTE:
|
|
* This file is shared between ARM9 and ARM7
|
|
* DO NOT PUT PROC SPECIFIC CODE IN HERE
|
|
* Thank You!
|
|
*/
|
|
|
|
/*
|
|
* DO NOT INCLUDE THIS FILE DIRECTLY
|
|
* Include OS_message.h from the specific proc's lib
|
|
*/
|
|
|
|
#ifndef NITRO_OS_MESSAGE_SHARED_H
|
|
#define NITRO_OS_MESSAGE_SHARED_H
|
|
|
|
#include <nitro/types.h>
|
|
#include <nitro/os/common/thread_shared.h>
|
|
|
|
typedef void *OSMessage;
|
|
|
|
#define OS_MESSAGE_NOBLOCK 0
|
|
#define OS_MESSAGE_BLOCK 1
|
|
|
|
typedef struct OSMessageQueue
|
|
{
|
|
OSThreadQueue queueSend;
|
|
OSThreadQueue queueReceive;
|
|
OSMessage *msgArray;
|
|
s32 msgCount;
|
|
s32 firstIndex;
|
|
s32 usedCount;
|
|
} OSMessageQueue;
|
|
|
|
#endif //NITRO_OS_MESSAGE_SHARED_H
|