[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/6] ARM: linux-user: save/restore fpu regs to signa
From: |
Peter Maydell |
Subject: |
[Qemu-devel] [PATCH 0/6] ARM: linux-user: save/restore fpu regs to signal context |
Date: |
Wed, 24 Nov 2010 15:20:02 +0000 |
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(-)
- [Qemu-devel] [PATCH 0/6] ARM: linux-user: save/restore fpu regs to signal context,
Peter Maydell <=
- [Qemu-devel] [PATCH 4/6] ARM: linux-user: Restore VFP state from ucontext on sigreturn, Peter Maydell, 2010/11/24
- [Qemu-devel] [PATCH 2/6] ARM: Expose vfp_get_fpscr() and vfp_set_fpscr() to C code, Peter Maydell, 2010/11/24
- [Qemu-devel] [PATCH 3/6] ARM: linux-user: Expose VFP registers to signal handlers, Peter Maydell, 2010/11/24
- [Qemu-devel] [PATCH 1/6] ARM: linux-user: Correct size of padding in target_ucontext_v2, Peter Maydell, 2010/11/24
- [Qemu-devel] [PATCH 6/6] ARM: linux-user: Restore iWMMXT state from ucontext on sigreturn, Peter Maydell, 2010/11/24