aboutsummaryrefslogtreecommitdiff
path: root/kernel/include/proc/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/proc/core.h')
-rw-r--r--kernel/include/proc/core.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/include/proc/core.h b/kernel/include/proc/core.h
new file mode 100644
index 0000000..9d6eb16
--- /dev/null
+++ b/kernel/include/proc/core.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#include "proc/context.h"
+#include "proc/sched.h"
+#include "proc/spinlock.h"
+
+typedef struct core
+{
+ long kc_id;
+ context_t kc_ctx;
+
+ ktqueue_t *kc_queue;
+
+ uintptr_t kc_csdpaddr;
+} core_t;