ARM9 OS: Difference between revisions
Hallowizer (talk | contribs) →Threads: added stackLo and stackHi |
Hallowizer (talk | contribs) →Threads: remove some extra unknown fields that are part of structs |
||
| Line 43: | Line 43: | ||
struct OSThreadQueue *queue; // 0x78 | struct OSThreadQueue *queue; // 0x78 | ||
struct OSThreadLink linkQueue; // 0x7c | struct OSThreadLink linkQueue; // 0x7c | ||
struct OSMutex *mutex; // 0x84 - set to the mutex the thread is currently trying to lock | struct OSMutex *mutex; // 0x84 - set to the mutex the thread is currently trying to lock | ||
struct OSMutexQueue queueMutex; // 0x88 | struct OSMutexQueue queueMutex; // 0x88 | ||
void *stackLo; // 0x90 | void *stackLo; // 0x90 | ||
void *stackHi; // 0x94 | void *stackHi; // 0x94 | ||
u32 | u32 unknown2; // 0x98 | ||
struct OSThreadQueue queueJoin; // 0x9c | struct OSThreadQueue queueJoin; // 0x9c | ||
u32 | u32 unknown3[3]; // 0xa4 | ||
struct OSAlarm *timedSleepAlarm; // 0xb0 | struct OSAlarm *timedSleepAlarm; // 0xb0 | ||
u32 | u32 unknown4; // 0xb4 | ||
} | } | ||