ARM9 OS: Difference between revisions
Hallowizer (talk | contribs) added an interrupt section |
Hallowizer (talk | contribs) →Threads: kernelSp is a system stack used for thread cleanup and SVCs |
||
| (One intermediate revision by the same user not shown) | |||
| Line 30: | Line 30: | ||
void *lr; // 0x3c | void *lr; // 0x3c | ||
void *pc; // 0x40 | void *pc; // 0x40 | ||
void * | void *systemStack; // 0x44 | ||
struct OSMathContext math; // 0x48 | struct OSMathContext math; // 0x48 | ||
} | } | ||
| Line 47: | Line 47: | ||
void *stackLo; // 0x90 | void *stackLo; // 0x90 | ||
void *stackHi; // 0x94 | void *stackHi; // 0x94 | ||
void *unknown2; // 0x98 | |||
struct OSThreadQueue queueJoin; // 0x9c | struct OSThreadQueue queueJoin; // 0x9c | ||
u32 unknown3[3]; // 0xa4 | u32 unknown3[3]; // 0xa4 | ||
struct OSAlarm *timedSleepAlarm; // 0xb0 | struct OSAlarm *timedSleepAlarm; // 0xb0 | ||
u32 | void (*cleanupFunc)(u32 res); // 0xb4 | ||
u32 unknown4[2]; | |||
} | } | ||