mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
Kernel: Store FPU state when dispatching signal on aarch64
And make sure to also restore it in sys$sigreturn.
This commit is contained in:
committed by
Idan Horowitz
parent
4e00c63897
commit
00df1fc060
@@ -1150,10 +1150,8 @@ DispatchSignalResult Thread::dispatch_signal(u8 signal)
|
||||
|
||||
VERIFY(stack % 16 == 0);
|
||||
|
||||
#if ARCH(X86_64)
|
||||
// Save the FPU/SSE state
|
||||
TRY(copy_value_on_user_stack(stack, fpu_state()));
|
||||
#endif
|
||||
|
||||
TRY(push_value_on_user_stack(stack, pointer_to_ucontext));
|
||||
TRY(push_value_on_user_stack(stack, pointer_to_signal_info));
|
||||
|
||||
Reference in New Issue
Block a user