diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/schedule.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h index d5f3519..53475de 100644 --- a/include/sys/schedule.h +++ b/include/sys/schedule.h @@ -15,10 +15,15 @@ enum ThreadStatus { THREAD_SERROR = 4, // Stack Error }; +struct RStack { + void* sp; + unsigned long idx; +}; + struct Thread { void* pc; void* sp; // Store r0-r12,lr on stack - void* sp_base; + unsigned long sp_base; void* mptr; unsigned long pid; unsigned char priority; |