ARM: Expose vfp_get_fpscr() and vfp_set_fpscr() to C code
commit0165329578eb8f40901825177c0874efb815e342
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 24 Nov 2010 15:20:04 +0000 (24 15:20 +0000)
committerRiku Voipio <riku.voipio@nokia.com>
Fri, 3 Dec 2010 13:09:39 +0000 (3 15:09 +0200)
treee0152d7d7bd3a924f683a4649e9fc312845cafbe
parent5f0b7c888b5e626d61e0969a6c0dbf4fcf0f522c
ARM: Expose vfp_get_fpscr() and vfp_set_fpscr() to C code

Expose the vfp_get_fpscr() and vfp_set_fpscr() functions to C
code as well as generated code, so we can use them to read and
write the FPSCR when saving and restoring VFP registers across
signal handlers in linux-user mode.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Riku Voipio <riku.voipio@nokia.com>
target-arm/cpu.h
target-arm/helper.c