|
SSBM Decomp
|
Macros | |
| #define | ENQUEUE_THREAD(thread, queue, link) |
| #define | DEQUEUE_THREAD(thread, queue, link) |
| #define | ENQUEUE_THREAD_PRIO(thread, queue, link) |
| #define | DEQUEUE_HEAD(thread, queue, link) |
| #define | ALIGN4(val) |
| #define | ALIGN8(val) |
| #define | ASSERTREPORT(line, cond) |
Functions | |
| static void | OSInitMutexQueue (struct OSMutexQueue *queue) |
| void | OSInitThreadQueue (struct OSThreadQueue *queue) |
| struct OSThread * | OSGetCurrentThread () |
| static void | __OSSwitchThread (struct OSThread *nextThread) |
| int | OSIsThreadSuspended (struct OSThread *thread) |
| int | OSIsThreadTerminated (struct OSThread *thread) |
| static int | __OSIsThreadActive (struct OSThread *thread) |
| long | OSDisableScheduler () |
| long | OSEnableScheduler () |
| static void | SetRun (struct OSThread *thread) |
| static void | UnsetRun (struct OSThread *thread) |
| static struct OSThread * | SetEffectivePriority (struct OSThread *thread, long priority) |
| static void | UpdatePriority (struct OSThread *thread) |
| static struct OSThread * | SelectThread (int yield) |
| void | OSYieldThread (void) |
| void | OSExitThread (void *val) |
| void | OSCancelThread (struct OSThread *thread) |
| int | OSJoinThread (struct OSThread *thread, void *val) |
| void | OSDetachThread (struct OSThread *thread) |
| long | OSResumeThread (struct OSThread *thread) |
| void | OSSleepThread (struct OSThreadQueue *queue) |
| void | OSWakeupThread (struct OSThreadQueue *queue) |
| int | OSSetThreadPriority (struct OSThread *thread, long priority) |
| long | OSGetThreadPriority (struct OSThread *thread) |
| struct OSThread * | OSSetIdleFunction (void(*idleFunction)(void *), void *param, void *stack, unsigned long stackSize) |
| struct OSThread * | OSGetIdleFunction () |
| static int | CheckThreadQueue (struct OSThreadQueue *queue) |
| static int | IsMember (struct OSThreadQueue *queue, struct OSThread *thread) |
| long | OSCheckActiveThreads () |
| void | __OSThreadInit () |
| long | __OSGetEffectivePriority (struct OSThread *thread) |
| void | __OSPromoteThread (struct OSThread *thread, long priority) |
| void | __OSReschedule (void) |
| int | OSCreateThread (struct OSThread *thread, void *(*func)(void *), void *param, void *stack, unsigned long stackSize, long priority, unsigned short attr) |
| long | OSSuspendThread (struct OSThread *thread) |
Variables | |
| unsigned char | _stack_end [] |
| unsigned char | _stack_addr [] |
| static struct OSThreadQueue | RunQueue [32] |
| static struct OSThread | IdleThread |
| static struct OSThread | DefaultThread |
| static struct OSContext | IdleContext |
| static volatile unsigned long | RunQueueBits |
| static volatile int | RunQueueHint |
| static long | Reschedule |
| #define ENQUEUE_THREAD | ( | thread, | |
| queue, | |||
| link ) |
| #define DEQUEUE_THREAD | ( | thread, | |
| queue, | |||
| link ) |
| #define ENQUEUE_THREAD_PRIO | ( | thread, | |
| queue, | |||
| link ) |
| #define DEQUEUE_HEAD | ( | thread, | |
| queue, | |||
| link ) |
| #define ALIGN4 | ( | val | ) |
| #define ALIGN8 | ( | val | ) |
| #define ASSERTREPORT | ( | line, | |
| cond ) |
|
static |
| void OSInitThreadQueue | ( | struct OSThreadQueue * | queue | ) |
| struct OSThread * OSGetCurrentThread | ( | void | ) |
|
static |
| int OSIsThreadSuspended | ( | struct OSThread * | thread | ) |
| int OSIsThreadTerminated | ( | struct OSThread * | thread | ) |
|
static |
| long OSDisableScheduler | ( | void | ) |
| long OSEnableScheduler | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
| void OSYieldThread | ( | void | ) |
| void OSExitThread | ( | void * | val | ) |
| void OSCancelThread | ( | struct OSThread * | thread | ) |
| int OSJoinThread | ( | struct OSThread * | thread, |
| void * | val ) |
| void OSDetachThread | ( | struct OSThread * | thread | ) |
| long OSResumeThread | ( | struct OSThread * | thread | ) |
| void OSSleepThread | ( | struct OSThreadQueue * | queue | ) |
| void OSWakeupThread | ( | struct OSThreadQueue * | queue | ) |
| int OSSetThreadPriority | ( | struct OSThread * | thread, |
| long | priority ) |
| long OSGetThreadPriority | ( | struct OSThread * | thread | ) |
| struct OSThread * OSSetIdleFunction | ( | void(* | idleFunction )(void *), |
| void * | param, | ||
| void * | stack, | ||
| unsigned long | stackSize ) |
| struct OSThread * OSGetIdleFunction | ( | ) |
|
static |
|
static |
| long OSCheckActiveThreads | ( | void | ) |
| void __OSThreadInit | ( | void | ) |
| long __OSGetEffectivePriority | ( | struct OSThread * | thread | ) |
| void __OSPromoteThread | ( | struct OSThread * | thread, |
| long | priority ) |
| void __OSReschedule | ( | void | ) |
| int OSCreateThread | ( | struct OSThread * | thread, |
| void *(* | func )(void *), | ||
| void * | param, | ||
| void * | stack, | ||
| unsigned long | stackSize, | ||
| long | priority, | ||
| unsigned short | attr ) |
| long OSSuspendThread | ( | struct OSThread * | thread | ) |
|
extern |
|
extern |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |