diff options
author | Maciej W. Rozycki | 2018-05-16 00:40:18 +0200 |
---|---|---|
committer | Paul Burton | 2018-07-19 22:58:44 +0200 |
commit | 1ae22a0e35636efceab83728ba30b013df761592 (patch) | |
tree | 731483ca0394e955c233c3d944881e6fbc12155f /arch/mips/include | |
parent | MIPS: Add DSP ASE regset support (diff) | |
download | kernel-qcow2-linux-1ae22a0e35636efceab83728ba30b013df761592.tar.gz kernel-qcow2-linux-1ae22a0e35636efceab83728ba30b013df761592.tar.xz kernel-qcow2-linux-1ae22a0e35636efceab83728ba30b013df761592.zip |
MIPS: Add FP_MODE regset support
Define an NT_MIPS_FP_MODE core file note and implement a corresponding
regset holding the state handled by PR_SET_FP_MODE and PR_GET_FP_MODE
prctl(2) requests. This lets debug software correctly interpret the
contents of floating-point general registers both in live debugging and
in core files, and also switch floating-point modes of a live process.
[paul.burton@mips.com:
- Changed NT_MIPS_FP_MODE to 0x801 to match first nibble of
NT_MIPS_DSP, which was also changed to avoid a conflict.]
Signed-off-by: Maciej W. Rozycki <macro@mips.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/19331/
Cc: James Hogan <jhogan@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'arch/mips/include')
0 files changed, 0 insertions, 0 deletions