stacks.h
616 Bytes
#define STACKSIZE 8192
#ifdef _LANGUAGE_C
extern u64 gameThreadStack[];
extern u64 cpuThreadStack[];
extern u64 mainThreadStack[];
extern u64 rmonStack[];
extern u64 audioStack[];
extern u64 scheduleStack[];
#define GAMESTACK_ADDR 0x01000000
#define CPUSTACK_ADDR 0x02000000
#define MAINSTACK_ADDR 0x03000000
#define RMONSTACK_ADDR 0x04000000
#define AUDIOSTACK_ADDR 0x05000000
#define SCHEDULESTACK_ADDR 0x06000000
#define GAMESTACK_INDEX 1
#define CPUSTACK_INDEX 2
#define MAINSTACK_INDEX 3
#define RMONSTACK_INDEX 4
#define AUDIOSTACK_INDEX 5
#define SCHEDULESTACK_INDEX 6
#endif /* _LANGUAGE_C */