mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 05:08:22 +00:00
sched: use THREAD_DEFAULT_KSTACK_SIZE rather than hardcoding 10*PAGE_SIZE
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
#include <kernel/fd.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#define THREAD_DEFAULT_KSTACK_SIZE PAGE_SIZE*10
|
||||
|
||||
#define THREAD_PRIORITY_INTERRUPT 0
|
||||
#define THREAD_PRIORITY_KERNEL 1
|
||||
#define THREAD_PRIORITY_USER 2
|
||||
|
||||
Reference in New Issue
Block a user