mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-30 14:08:21 +00:00
scheduler: have a separate stack for yield
This commit is contained in:
@@ -24,6 +24,7 @@ typedef struct cpu_t {
|
||||
thread_t *thread;
|
||||
thread_t *idlethread;
|
||||
timerentry_t schedtimerentry;
|
||||
void *schedulerstack;
|
||||
} cpu_t;
|
||||
|
||||
#define CPU_HALT() asm volatile("hlt")
|
||||
|
||||
Reference in New Issue
Block a user