mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
Kernel/aarch64: Implement stub for asm_signal_trampoline
This get us further into the boot process, since Process::initialize does not crash anymore.
This commit is contained in:
parent
1cc06b9985
commit
21deb603de
Notes:
sideshowbarker
2024-07-17 02:55:44 +09:00
Author: https://github.com/FireFox317
Commit: 21deb603de
Pull-request: https://github.com/SerenityOS/serenity/pull/16690
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/nico ✅
2 changed files with 11 additions and 4 deletions
|
@ -430,6 +430,17 @@ void signal_trampoline_dummy()
|
|||
:
|
||||
: "i"(Syscall::SC_sigreturn),
|
||||
"i"(offset_to_first_register_slot));
|
||||
#elif ARCH(AARCH64)
|
||||
asm(
|
||||
".global asm_signal_trampoline\n"
|
||||
"asm_signal_trampoline:\n"
|
||||
// TODO: Implement this when we support userspace for aarch64
|
||||
"wfi\n"
|
||||
"\n"
|
||||
".global asm_signal_trampoline_end\n"
|
||||
"asm_signal_trampoline_end: \n");
|
||||
#else
|
||||
# error Unknown architecture
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue