From b2ebf6c7985534968b3238e06e0e43a70b2bebb8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 20 Apr 2019 19:23:45 +0200 Subject: Kernel: Shrink Thread by making kernel resume TSS heap-allocated. --- Kernel/Thread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Kernel/Thread.h') diff --git a/Kernel/Thread.h b/Kernel/Thread.h index 1a898dd82f..c0609daea0 100644 --- a/Kernel/Thread.h +++ b/Kernel/Thread.h @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -138,7 +139,7 @@ private: Process& m_process; int m_tid { -1 }; TSS32 m_tss; - TSS32 m_tss_to_resume_kernel; + OwnPtr m_tss_to_resume_kernel; FarPtr m_far_ptr; dword m_ticks { 0 }; dword m_ticks_left { 0 }; -- cgit v1.2.3