]> www.infradead.org Git - users/dwmw2/qemu.git/commit
bsd-user:Add AArch64 improvements and signal handling functions
authorStacey Son <sson@FreeBSD.org>
Sun, 7 Jul 2024 19:11:28 +0000 (00:41 +0530)
committerWarner Losh <imp@bsdimp.com>
Tue, 23 Jul 2024 16:50:54 +0000 (10:50 -0600)
commitce6c541dcb8aff5ca6f02bb64b0d6b6753becab4
treea89b59561a8f5c28f54384b7cae79b4fb6d85641
parentdadfc6d5df1006b52c1c0c8ae3af84ac3be36b31
bsd-user:Add AArch64 improvements and signal handling functions

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>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20240707191128.10509-9-itachis@FreeBSD.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
bsd-user/aarch64/signal.c
bsd-user/aarch64/target_arch_cpu.h
bsd-user/aarch64/target_arch_reg.h
bsd-user/aarch64/target_arch_signal.h
bsd-user/qemu.h