summaryrefslogtreecommitdiff
path: root/kernel/src/arch/x86_64/cpu_local.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/src/arch/x86_64/cpu_local.hpp')
-rw-r--r--kernel/src/arch/x86_64/cpu_local.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/src/arch/x86_64/cpu_local.hpp b/kernel/src/arch/x86_64/cpu_local.hpp
index 13bca71..e839413 100644
--- a/kernel/src/arch/x86_64/cpu_local.hpp
+++ b/kernel/src/arch/x86_64/cpu_local.hpp
@@ -3,8 +3,8 @@
#pragma once
-#include <arch/x86_64/cpu_local.hpp>
#include <arch/x86_64/assembly.hpp>
+#include <generic/scheduling.hpp>
#include <klibc/string.hpp>
#include <klibc/stdio.hpp>
#include <generic/arch.hpp>
@@ -13,7 +13,9 @@ typedef struct {
std::uint64_t user_stack;
std::uint64_t kernel_stack;
std::uint64_t timer_ist_stack;
+ std::uint32_t cpu;
std::uint64_t tsc_freq;
+ thread* current_thread;
} cpudata_t;
namespace x86_64 {