qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] ARM: linux-user: save/restore fpu regs to signal context
@ 2010-11-24 15:20 Peter Maydell
  2010-11-24 15:20 ` [Qemu-devel] [PATCH 1/6] ARM: linux-user: Correct size of padding in target_ucontext_v2 Peter Maydell
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Peter Maydell @ 2010-11-24 15:20 UTC (permalink / raw)
  To: qemu-devel

This patchset fixes the ARM-specific parts of the linux-user signal
handling code to save the VFP and iWMMXT registers to the signal
context struct when invoking a signal handler, and restore them
afterwards. (This omission was previously marked with a 'FIXME'
comment, and meant that signal handlers which used floating point
might have corrupted the FPU regs of the code they interrupted,
and that signal handlers which tried to examine or change the
FPU regs of the interrupted code would crash.)


Peter Maydell (6):
  ARM: linux-user: Correct size of padding in target_ucontext_v2
  ARM: Expose vfp_get_fpscr() and vfp_set_fpscr() to C code
  ARM: linux-user: Expose VFP registers to signal handlers
  ARM: linux-user: Restore VFP state from ucontext on sigreturn
  ARM: linux-user: Expose iWMMXT registers to signal handlers
  ARM: linux-user: Restore iWMMXT state from ucontext on sigreturn

 linux-user/signal.c |  156 ++++++++++++++++++++++++++++++++++++++++++++++++++-
 target-arm/cpu.h    |    4 +
 target-arm/helper.c |   10 +++
 3 files changed, 168 insertions(+), 2 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-11-29 19:19 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24 15:20 [Qemu-devel] [PATCH 0/6] ARM: linux-user: save/restore fpu regs to signal context Peter Maydell
2010-11-24 15:20 ` [Qemu-devel] [PATCH 1/6] ARM: linux-user: Correct size of padding in target_ucontext_v2 Peter Maydell
2010-11-29 19:06   ` Nathan Froyd
2010-11-24 15:20 ` [Qemu-devel] [PATCH 2/6] ARM: Expose vfp_get_fpscr() and vfp_set_fpscr() to C code Peter Maydell
2010-11-29 19:07   ` Nathan Froyd
2010-11-24 15:20 ` [Qemu-devel] [PATCH 3/6] ARM: linux-user: Expose VFP registers to signal handlers Peter Maydell
2010-11-29 19:16   ` Nathan Froyd
2010-11-24 15:20 ` [Qemu-devel] [PATCH 4/6] ARM: linux-user: Restore VFP state from ucontext on sigreturn Peter Maydell
2010-11-29 19:17   ` Nathan Froyd
2010-11-29 19:19   ` Nathan Froyd
2010-11-24 15:20 ` [Qemu-devel] [PATCH 5/6] ARM: linux-user: Expose iWMMXT registers to signal handlers Peter Maydell
2010-11-24 15:20 ` [Qemu-devel] [PATCH 6/6] ARM: linux-user: Restore iWMMXT state from ucontext on sigreturn Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).