summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/KernelKit/CoreProcessScheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/kernel/KernelKit/CoreProcessScheduler.h')
-rw-r--r--dev/kernel/KernelKit/CoreProcessScheduler.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/dev/kernel/KernelKit/CoreProcessScheduler.h b/dev/kernel/KernelKit/CoreProcessScheduler.h
index e8ac158e..170244eb 100644
--- a/dev/kernel/KernelKit/CoreProcessScheduler.h
+++ b/dev/kernel/KernelKit/CoreProcessScheduler.h
@@ -19,7 +19,7 @@
#define kSchedTeamCount (256U)
#define kSchedMaxMemoryLimit (gib_cast(128)) /* max physical memory limit */
-#define kSchedMaxStackSz (kib_cast(8)) /* maximum stack size */
+#define kSchedMaxStackSz (kib_cast(8)) /* maximum stack size */
#define kSchedNameLen (128U)
@@ -36,6 +36,9 @@ template <typename T>
struct PROCESS_HEAP_TREE;
template <typename T>
+struct PROCESS_SPECIAL_TREE;
+
+template <typename T>
struct PROCESS_FILE_TREE;
enum {
@@ -47,9 +50,9 @@ enum {
template <typename T>
struct PROCESS_HEAP_TREE {
- static constexpr auto kHeap = true;
- static constexpr auto kFile = false;
- static constexpr auto kSpecial = false;
+ static constexpr auto kHeap = true;
+ static constexpr auto kFile = false;
+ static constexpr auto kSpecial = false;
T Entry{nullptr};
SizeT EntrySize{0UL};
@@ -74,9 +77,9 @@ struct PROCESS_HEAP_TREE {
template <typename T>
struct PROCESS_FILE_TREE {
- static constexpr auto kHeap = false;
- static constexpr auto kFile = true;
- static constexpr auto kSpecial = false;
+ static constexpr auto kHeap = false;
+ static constexpr auto kFile = true;
+ static constexpr auto kSpecial = false;
T Entry{nullptr};
SizeT EntrySize{0UL};