aboutsummaryrefslogtreecommitdiff
path: root/linux-user/mips64
diff options
context:
space:
mode:
authorStefan Markovic <smarkovic@wavecomp.com>2018-10-26 13:17:43 +0200
committerAleksandar Markovic <amarkovic@wavecomp.com>2018-10-29 15:50:31 +0100
commit64ea3d676d9447ecdb987deab5a1542ea088bd31 (patch)
tree1a322382b4840252df7a7facab11329ae6fbd542 /linux-user/mips64
parent0c1bbedc10e86ea9366b6af8c5520fafa3266b2f (diff)
downloadqemu-64ea3d676d9447ecdb987deab5a1542ea088bd31.zip
qemu-64ea3d676d9447ecdb987deab5a1542ea088bd31.tar.gz
qemu-64ea3d676d9447ecdb987deab5a1542ea088bd31.tar.bz2
linux-user: Add prctl() PR_SET_FP_MODE and PR_GET_FP_MODE implementations
Implement MIPS specific prctl() PR_SET_FP_MODE and PR_GET_FP_MODE emulation. Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com> Signed-off-by: Stefan Markovic <smarkovic@wavecomp.com>
Diffstat (limited to 'linux-user/mips64')
-rw-r--r--linux-user/mips64/target_syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/mips64/target_syscall.h b/linux-user/mips64/target_syscall.h
index c1160e6..8ccc468 100644
--- a/linux-user/mips64/target_syscall.h
+++ b/linux-user/mips64/target_syscall.h
@@ -244,5 +244,7 @@ static inline abi_ulong target_shmlba(CPUMIPSState *env)
/* MIPS-specific prctl() options */
#define TARGET_PR_SET_FP_MODE 45
#define TARGET_PR_GET_FP_MODE 46
+#define TARGET_PR_FP_MODE_FR (1 << 0)
+#define TARGET_PR_FP_MODE_FRE (1 << 1)
#endif /* MIPS64_TARGET_SYSCALL_H */