mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
Thread.cpp: add method get_RegisterDump_from_stack().
This refactors some the RegisterDump code from dispatch_signal into a stand-alone function, allowing for better reuse.
This commit is contained in:
parent
a6e9119537
commit
44f22c99ef
Notes:
sideshowbarker
2024-07-19 11:26:10 +09:00
Author: https://github.com/DrewStratford
Commit: 44f22c99ef
Pull-request: https://github.com/SerenityOS/serenity/pull/729
2 changed files with 11 additions and 4 deletions
|
@ -210,6 +210,8 @@ public:
|
|||
u32 frame_ptr() const { return m_tss.ebp; }
|
||||
u32 stack_ptr() const { return m_tss.esp; }
|
||||
|
||||
RegisterDump& get_RegisterDump_from_stack();
|
||||
|
||||
u16 selector() const { return m_far_ptr.selector; }
|
||||
TSS32& tss() { return m_tss; }
|
||||
const TSS32& tss() const { return m_tss; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue