1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:38:13 +00:00
serenity/Kernel/Arch
Tom bb84fad0bf Kernel: Fix retreiving frame pointer from a thread
If we're trying to walk the stack for another thread, we can
no longer retreive the EBP register from Thread::m_tss. Instead,
we need to look at the top of the kernel stack, because all threads
not currently running were last in kernel mode. Context switches
now always trigger a brief switch to kernel mode, and Thread::m_tss
only is used to save ESP and EIP.

Fixes #2678
2020-07-03 21:16:56 +02:00
..
i386 Kernel: Fix retreiving frame pointer from a thread 2020-07-03 21:16:56 +02:00
PC Kernel: Add convenient ways to map whole BIOS and EBDA into memory 2020-05-22 13:17:38 +02:00