mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
Kernel: Make TSS use in thread generic
This way it won't be architecture dependent
This commit is contained in:
parent
ce4f43a192
commit
611b3c2c49
Notes:
sideshowbarker
2024-07-18 21:12:47 +09:00
Author: https://github.com/Hendiadyoin1 Commit: https://github.com/SerenityOS/serenity/commit/611b3c2c490 Pull-request: https://github.com/SerenityOS/serenity/pull/5679 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/linusg
1 changed files with 3 additions and 3 deletions
|
@ -763,8 +763,8 @@ public:
|
|||
RegisterState& get_register_dump_from_stack();
|
||||
const RegisterState& get_register_dump_from_stack() const { return const_cast<Thread*>(this)->get_register_dump_from_stack(); }
|
||||
|
||||
TSS32& tss() { return m_tss; }
|
||||
const TSS32& tss() const { return m_tss; }
|
||||
TSS& tss() { return m_tss; }
|
||||
const TSS& tss() const { return m_tss; }
|
||||
State state() const { return m_state; }
|
||||
const char* state_string() const;
|
||||
|
||||
|
@ -1199,7 +1199,7 @@ private:
|
|||
mutable RecursiveSpinLock m_block_lock;
|
||||
NonnullRefPtr<Process> m_process;
|
||||
ThreadID m_tid { -1 };
|
||||
TSS32 m_tss {};
|
||||
TSS m_tss {};
|
||||
TrapFrame* m_current_trap { nullptr };
|
||||
u32 m_saved_critical { 1 };
|
||||
IntrusiveListNode m_ready_queue_node;
|
||||
|
|
Loading…
Add table
Reference in a new issue