sched: use THREAD_DEFAULT_KSTACK_SIZE rather than hardcoding 10*PAGE_SIZE

This commit is contained in:
Matheus
2022-12-31 01:12:13 -03:00
parent 646f5001d0
commit 5ea50fee28
4 changed files with 5 additions and 3 deletions
+2
View File
@@ -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