1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:37:35 +00:00

Kernel: Shrink Thread by making kernel resume TSS heap-allocated.

This commit is contained in:
Andreas Kling 2019-04-20 19:23:45 +02:00
parent c9b86be1cc
commit b2ebf6c798
3 changed files with 6 additions and 4 deletions

View file

@ -6,6 +6,7 @@
#include <Kernel/UnixTypes.h>
#include <AK/AKString.h>
#include <AK/InlineLinkedList.h>
#include <AK/OwnPtr.h>
#include <AK/RetainPtr.h>
#include <AK/Vector.h>
@ -138,7 +139,7 @@ private:
Process& m_process;
int m_tid { -1 };
TSS32 m_tss;
TSS32 m_tss_to_resume_kernel;
OwnPtr<TSS32> m_tss_to_resume_kernel;
FarPtr m_far_ptr;
dword m_ticks { 0 };
dword m_ticks_left { 0 };