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

Kernel: Fix get_register_dump_from_stack() after IRQ entry changes

I had to change the layout of RegisterDump a little bit to make the new
IRQ entry points work. This broke get_register_dump_from_stack() which
was expecting the RegisterDump to be badly aligned due to a goofy extra
16 bits which are no longer there.
This commit is contained in:
Andreas Kling 2019-12-15 17:58:53 +01:00
parent 063fef312e
commit 7a64f55c0f
2 changed files with 4 additions and 4 deletions

View file

@ -241,7 +241,7 @@ public:
u32 frame_ptr() const { return m_tss.ebp; }
u32 stack_ptr() const { return m_tss.esp; }
RegisterDump& get_RegisterDump_from_stack();
RegisterDump& get_register_dump_from_stack();
u16 selector() const { return m_far_ptr.selector; }
TSS32& tss() { return m_tss; }