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:
@@ -60,7 +60,7 @@ typedef struct {
|
||||
}
|
||||
|
||||
void arch_context_switch(context_t *context);
|
||||
void arch_context_saveandcall(void (*fn)(context_t *context));
|
||||
void arch_context_saveandcall(void (*fn)(context_t *context), void *stack);
|
||||
|
||||
#include <string.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user