]> git.proxmox.com Git - mirror_qemu.git/commit
bsd-user/arm/signal.c: Implement setup_sigframe_arch for arm
authorWarner Losh <imp@bsdimp.com>
Wed, 19 Jan 2022 18:49:05 +0000 (11:49 -0700)
committerWarner Losh <imp@bsdimp.com>
Fri, 28 Jan 2022 22:52:38 +0000 (15:52 -0700)
commit224474622e61f24c4b991fca03e32113eaac91cb
tree2a8ef945de5052520fd7b0316d6d4ae115041d09
parent2373a62ae9600aef57923fdba0518e916cc8d28c
bsd-user/arm/signal.c: Implement setup_sigframe_arch for arm

Fix the broken context setting for arm. FreeBSD's get_mcontext does not
fill in the vfp info. It's filled in in sigframe(). This corresponds to
the new setup_sigframe_arch which fills in mcontext, then adjusts it to
point to the vfp context in the sigframe and fills in that context as
well. Add pointer to where this code is done.

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