#include <types.h>
#include <irx.h>
Go to the source code of this file.
|
#define | WEF_AND 0 |
|
#define | WEF_OR 1 |
|
#define | WEF_CLEAR 0x10 |
|
#define | EA_SINGLE 0 |
|
#define | EA_MULTI 2 |
|
#define | thevent_IMPORTS |
|
#define | thevent_IMPORTS_start DECLARE_IMPORT_TABLE(thevent, 1, 1) |
|
#define | thevent_IMPORTS_end END_IMPORT_TABLE |
|
#define | I_CreateEventFlag DECLARE_IMPORT(4, CreateEventFlag) |
|
#define | I_DeleteEventFlag DECLARE_IMPORT(5, DeleteEventFlag) |
|
#define | I_SetEventFlag DECLARE_IMPORT(6, SetEventFlag) |
|
#define | I_iSetEventFlag DECLARE_IMPORT(7, iSetEventFlag) |
|
#define | I_ClearEventFlag DECLARE_IMPORT(8, ClearEventFlag) |
|
#define | I_iClearEventFlag DECLARE_IMPORT(9, iClearEventFlag) |
|
#define | I_WaitEventFlag DECLARE_IMPORT(10, WaitEventFlag) |
|
#define | I_PollEventFlag DECLARE_IMPORT(11, PollEventFlag) |
|
#define | I_ReferEventFlagStatus DECLARE_IMPORT(13, ReferEventFlagStatus) |
|
#define | I_iReferEventFlagStatus DECLARE_IMPORT(14, iReferEventFlagStatus) |
|
|
int | CreateEventFlag (iop_event_t *event) |
|
int | DeleteEventFlag (int ef) |
|
int | SetEventFlag (int ef, u32 bits) |
|
int | iSetEventFlag (int ef, u32 bits) |
|
int | ClearEventFlag (int ef, u32 bits) |
|
int | iClearEventFlag (int ef, u32 bits) |
|
int | WaitEventFlag (int ef, u32 bits, int mode, u32 *resbits) |
|
int | PollEventFlag (int ef, u32 bits, int mode, u32 *resbits) |
|
int | ReferEventFlagStatus (int ef, iop_event_info_t *info) |
|
int | iReferEventFlagStatus (int ef, iop_event_info_t *info) |
|
Event flags for threads.
Definition in file thevent.h.
◆ iop_event_t
Definition at line 37 of file thevent.h.
Data Fields |
u32 |
attr |
|
u32 |
option |
|
u32 |
bits |
|
◆ iop_event_info_t
Definition at line 44 of file thevent.h.
Data Fields |
u32 |
attr |
set by CreateEventFlag
|
u32 |
option |
set by CreateEventFlag
|
u32 |
initBits |
initial 'bits' value set by CreateEventFlag
|
u32 |
currBits |
current 'bits' value
|
int |
numThreads |
number of threads waiting on this event
|
int |
reserved1 |
|
int |
reserved2 |
|
◆ WEF_AND
◆ WEF_OR
◆ WEF_CLEAR
◆ EA_SINGLE
Only one thread can wait on the event flag.
Definition at line 33 of file thevent.h.
◆ EA_MULTI
Multiple threads can wait on the event flag.
Definition at line 35 of file thevent.h.
◆ thevent_IMPORTS
Value: thevent_IMPORTS_start \
\
I_CreateEventFlag \
I_DeleteEventFlag \
\
I_SetEventFlag \
I_iSetEventFlag \
\
I_ClearEventFlag \
I_iClearEventFlag \
\
I_WaitEventFlag \
\
I_PollEventFlag \
\
I_ReferEventFlagStatus \
I_iReferEventFlagStatus \
\
thevent_IMPORTS_end END_IMPORT_TABLE
Definition at line 77 of file thevent.h.
◆ thevent_IMPORTS_start
#define thevent_IMPORTS_start DECLARE_IMPORT_TABLE(thevent, 1, 1) |
◆ thevent_IMPORTS_end
#define thevent_IMPORTS_end END_IMPORT_TABLE |
◆ I_CreateEventFlag
#define I_CreateEventFlag DECLARE_IMPORT(4, CreateEventFlag) |
◆ I_DeleteEventFlag
#define I_DeleteEventFlag DECLARE_IMPORT(5, DeleteEventFlag) |
◆ I_SetEventFlag
#define I_SetEventFlag DECLARE_IMPORT(6, SetEventFlag) |
◆ I_iSetEventFlag
#define I_iSetEventFlag DECLARE_IMPORT(7, iSetEventFlag) |
◆ I_ClearEventFlag
#define I_ClearEventFlag DECLARE_IMPORT(8, ClearEventFlag) |
◆ I_iClearEventFlag
#define I_iClearEventFlag DECLARE_IMPORT(9, iClearEventFlag) |
◆ I_WaitEventFlag
#define I_WaitEventFlag DECLARE_IMPORT(10, WaitEventFlag) |
◆ I_PollEventFlag
#define I_PollEventFlag DECLARE_IMPORT(11, PollEventFlag) |
◆ I_ReferEventFlagStatus
#define I_ReferEventFlagStatus DECLARE_IMPORT(13, ReferEventFlagStatus) |
◆ I_iReferEventFlagStatus
#define I_iReferEventFlagStatus DECLARE_IMPORT(14, iReferEventFlagStatus) |
◆ CreateEventFlag()
◆ DeleteEventFlag()
int DeleteEventFlag |
( |
int |
ef | ) |
|
◆ SetEventFlag()
int SetEventFlag |
( |
int |
ef, |
|
|
u32 |
bits |
|
) |
| |
◆ iSetEventFlag()
int iSetEventFlag |
( |
int |
ef, |
|
|
u32 |
bits |
|
) |
| |
◆ ClearEventFlag()
int ClearEventFlag |
( |
int |
ef, |
|
|
u32 |
bits |
|
) |
| |
◆ iClearEventFlag()
int iClearEventFlag |
( |
int |
ef, |
|
|
u32 |
bits |
|
) |
| |
◆ WaitEventFlag()
int WaitEventFlag |
( |
int |
ef, |
|
|
u32 |
bits, |
|
|
int |
mode, |
|
|
u32 * |
resbits |
|
) |
| |
◆ PollEventFlag()
int PollEventFlag |
( |
int |
ef, |
|
|
u32 |
bits, |
|
|
int |
mode, |
|
|
u32 * |
resbits |
|
) |
| |
◆ ReferEventFlagStatus()
◆ iReferEventFlagStatus()