mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Kernel: Get Alt-Shift-F12 to work on x86_64
This commit is contained in:
committed by
Andreas Kling
parent
422166fb80
commit
247af7aa6a
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user