mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Kernel: Add even more AARCH64 stubs
This commit is contained in:
parent
63a91d6971
commit
056e406a12
Notes:
sideshowbarker
2024-07-18 05:37:06 +09:00
Author: https://github.com/gunnarbeutner
Commit: 056e406a12
Pull-request: https://github.com/SerenityOS/serenity/pull/15661
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/FireFox317
Reviewed-by: https://github.com/linusg
9 changed files with 136 additions and 13 deletions
|
@ -508,9 +508,16 @@ void dump_thread_list(bool with_stack_traces)
|
|||
dbgln("Scheduler thread list for processor {}:", Processor::current_id());
|
||||
|
||||
auto get_cs = [](Thread& thread) -> u16 {
|
||||
#if ARCH(I386) || ARCH(X86_64)
|
||||
if (!thread.current_trap())
|
||||
return thread.regs().cs;
|
||||
return thread.get_register_dump_from_stack().cs;
|
||||
#elif ARCH(AARCH64)
|
||||
(void)thread;
|
||||
return 0;
|
||||
#else
|
||||
# error Unknown architecture
|
||||
#endif
|
||||
};
|
||||
|
||||
auto get_eip = [](Thread& thread) -> u32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue