mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 23:30:39 +01:00
Add missing OSInitAlarmQueueEx function
This commit is contained in:
parent
e123ba272f
commit
fcf59a8dd8
@ -8,8 +8,6 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct OSThread;
|
|
||||||
|
|
||||||
typedef struct OSAlarm OSAlarm;
|
typedef struct OSAlarm OSAlarm;
|
||||||
typedef struct OSAlarmLink OSAlarmLink;
|
typedef struct OSAlarmLink OSAlarmLink;
|
||||||
typedef struct OSAlarmQueue OSAlarmQueue;
|
typedef struct OSAlarmQueue OSAlarmQueue;
|
||||||
@ -22,8 +20,11 @@ struct OSAlarmQueue
|
|||||||
{
|
{
|
||||||
// OS_ALARM_QUEUE_TAG
|
// OS_ALARM_QUEUE_TAG
|
||||||
uint32_t tag;
|
uint32_t tag;
|
||||||
|
|
||||||
|
// Name set by OSInitAlarmQueueEx
|
||||||
const char *name;
|
const char *name;
|
||||||
UNKNOWN(4);
|
UNKNOWN(4);
|
||||||
|
|
||||||
OSThreadQueue threadQueue;
|
OSThreadQueue threadQueue;
|
||||||
OSAlarm *head;
|
OSAlarm *head;
|
||||||
OSAlarm *tail;
|
OSAlarm *tail;
|
||||||
@ -49,6 +50,8 @@ struct OSAlarm
|
|||||||
{
|
{
|
||||||
// OS_ALARM_TAG
|
// OS_ALARM_TAG
|
||||||
uint32_t tag;
|
uint32_t tag;
|
||||||
|
|
||||||
|
// Name set from OSCreateAlarmEx
|
||||||
const char *name;
|
const char *name;
|
||||||
UNKNOWN(4);
|
UNKNOWN(4);
|
||||||
OSAlarmCallback callback;
|
OSAlarmCallback callback;
|
||||||
@ -98,6 +101,10 @@ OSGetAlarmUserData(OSAlarm *alarm);
|
|||||||
void
|
void
|
||||||
OSInitAlarmQueue(OSAlarmQueue *queue);
|
OSInitAlarmQueue(OSAlarmQueue *queue);
|
||||||
|
|
||||||
|
void
|
||||||
|
OSInitAlarmQueueEx(OSAlarmQueue *queue,
|
||||||
|
const char *name);
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
OSSetAlarm(OSAlarm *alarm,
|
OSSetAlarm(OSAlarm *alarm,
|
||||||
OSTime time,
|
OSTime time,
|
||||||
|
@ -5,6 +5,7 @@ EXPORT(OSCreateAlarm);
|
|||||||
EXPORT(OSCreateAlarmEx);
|
EXPORT(OSCreateAlarmEx);
|
||||||
EXPORT(OSGetAlarmUserData);
|
EXPORT(OSGetAlarmUserData);
|
||||||
EXPORT(OSInitAlarmQueue);
|
EXPORT(OSInitAlarmQueue);
|
||||||
|
EXPORT(OSInitAlarmQueueEx);
|
||||||
EXPORT(OSSetAlarm);
|
EXPORT(OSSetAlarm);
|
||||||
EXPORT(OSSetPeriodicAlarm);
|
EXPORT(OSSetPeriodicAlarm);
|
||||||
EXPORT(OSSetAlarmTag);
|
EXPORT(OSSetAlarmTag);
|
||||||
|
Loading…
Reference in New Issue
Block a user