Files
SpaghettiKart/src/os/osCreateMesgQueue.c
T
Tyler McGavran bd82bf5f0c Relocate rodata for some OS related function (#292)
Required moving a struct def to another file, and I renamed a
 struct to something nicer

Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2023-03-24 00:49:30 -06:00

12 lines
308 B
C

#include "libultra_internal.h"
void osCreateMesgQueue(OSMesgQueue *mq, OSMesg *msgBuf, s32 count) {
mq->mtqueue = (OSThread *) &__osThreadTail; //?
mq->fullqueue = (OSThread *) &__osThreadTail;
mq->validCount = 0;
mq->first = 0;
mq->msgCount = count;
mq->msg = msgBuf;
return;
}