From: Stacey Son<sson@FreeBSD.org>
Added get_ucontext_sigreturn function to check processor state ensuring current
execution mode is EL0 and no flags
indicating interrupts or exceptions are set.
Updated AArch64 code to use CF directly without reading/writing the entire
processor state, improving efficiency.
Changed FP data structures to use Int128 instead of __uint128_t, leveraging
QEMU's generic mechanism for referencing this type.
Signed-off-by: Stacey Son<sson@FreeBSD.org>
Signed-off-by: Ajeet Singh<itachis@FreeBSD.org>
Signed-off-by: Warner Losh<imp@bsdimp.com>
---
bsd-user/aarch64/signal.c | 20 +++++++++++++++++++-
bsd-user/aarch64/target_arch_cpu.h | 7 ++-----
bsd-user/aarch64/target_arch_reg.h | 2 +-
bsd-user/aarch64/target_arch_signal.h | 2 +-
bsd-user/qemu.h | 3 +++
5 files changed, 26 insertions(+), 8 deletions(-)