mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-11 17:00:37 +00:00
Kernel: Get Alt-Shift-F12 to work on x86_64
This commit is contained in:
parent
422166fb80
commit
247af7aa6a
Notes:
sideshowbarker
2024-07-18 11:22:50 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/247af7aa6ad Pull-request: https://github.com/SerenityOS/serenity/pull/8301
1 changed files with 2 additions and 5 deletions
|
@ -592,12 +592,8 @@ void dump_thread_list()
|
|||
dbgln("Scheduler thread list for processor {}:", Processor::id());
|
||||
|
||||
auto get_cs = [](Thread& thread) -> u16 {
|
||||
#if ARCH(I386)
|
||||
if (!thread.current_trap())
|
||||
return thread.regs().cs;
|
||||
#else
|
||||
PANIC("get_cs() not implemented");
|
||||
#endif
|
||||
return thread.get_register_dump_from_stack().cs;
|
||||
};
|
||||
|
||||
|
@ -607,7 +603,8 @@ void dump_thread_list()
|
|||
return thread.regs().eip;
|
||||
return thread.get_register_dump_from_stack().eip;
|
||||
#else
|
||||
PANIC("get_eip() not implemented");
|
||||
if (!thread.current_trap())
|
||||
return thread.regs().rip;
|
||||
return thread.get_register_dump_from_stack().rip;
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue