]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user/arm/signal.c: get_mcontext should zero vfp data
authorWarner Losh <imp@bsdimp.com>
Mon, 24 Jan 2022 08:29:53 +0000 (01:29 -0700)
committerWarner Losh <imp@bsdimp.com>
Fri, 28 Jan 2022 22:52:38 +0000 (15:52 -0700)
commit7f96d0a93c9f252fc65b0ad49121a62889ec560e
tree10bee802dc87c32f573f57b99db1a287dc628f9d
parent224474622e61f24c4b991fca03e32113eaac91cb
bsd-user/arm/signal.c: get_mcontext should zero vfp data

FreeBSD's get_mcontext doesn't return any vfp data. Instead, it zeros
out the vfp feilds (and all the spare fields). Impelement this
behavior. We're still missing the sysarch(ARM_GET_VFPCONTEXT) syscall,
though.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
bsd-user/arm/signal.c