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
u32 unknown2; // 0x80
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
u32 unknown3; // 0x8c
void *stackLo; // 0x90
void *stackLo; // 0x90
void *stackHi; // 0x94
void *stackHi; // 0x94
u32 unknown4; // 0x98
u32 unknown2; // 0x98
struct OSThreadQueue queueJoin; // 0x9c
struct OSThreadQueue queueJoin; // 0x9c
u32 unknown5[3]; // 0xa4
u32 unknown3[3]; // 0xa4
struct OSAlarm *timedSleepAlarm; // 0xb0
struct OSAlarm *timedSleepAlarm; // 0xb0
u32 unknown6; // 0xb4
u32 unknown4; // 0xb4
}
}