mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel: Add initializer for Thread::m_tss
This commit is contained in:
parent
5c1c82cd33
commit
fd3eca3acc
Notes:
sideshowbarker
2024-07-18 22:32:11 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/fd3eca3accc
2 changed files with 1 additions and 2 deletions
|
@ -77,7 +77,6 @@ Thread::Thread(NonnullRefPtr<Process> process)
|
|||
set_default_signal_dispositions();
|
||||
m_fpu_state = (FPUState*)kmalloc_aligned<16>(sizeof(FPUState));
|
||||
reset_fpu_state();
|
||||
memset(&m_tss, 0, sizeof(m_tss));
|
||||
m_tss.iomapbase = sizeof(TSS32);
|
||||
|
||||
// Only IF is set when a process boots.
|
||||
|
|
|
@ -1238,7 +1238,7 @@ private:
|
|||
mutable RecursiveSpinLock m_block_lock;
|
||||
NonnullRefPtr<Process> m_process;
|
||||
ThreadID m_tid { -1 };
|
||||
TSS32 m_tss;
|
||||
TSS32 m_tss {};
|
||||
TrapFrame* m_current_trap { nullptr };
|
||||
u32 m_saved_critical { 1 };
|
||||
IntrusiveListNode m_ready_queue_node;
|
||||
|
|
Loading…
Reference in a new issue