summaryrefslogtreecommitdiffstats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorStefan Markovic2018-10-12 12:57:35 +0200
committerAleksandar Markovic2018-10-18 20:37:20 +0200
commit5b702ffd42190698b08de683ed6cd1527457e3d4 (patch)
tree036be2c3195848e6d4f621b01022bd84ce0bcf9d /linux-user/syscall.c
parentlinux-user: Add MIPS-specific prctl() options (diff)
downloadqemu-5b702ffd42190698b08de683ed6cd1527457e3d4.tar.gz
qemu-5b702ffd42190698b08de683ed6cd1527457e3d4.tar.xz
qemu-5b702ffd42190698b08de683ed6cd1527457e3d4.zip
linux-user: Add infrastructure for handling MIPS-specific prctl()
Add infrastructure for handling MIPS-specific prctl(). This is, for now, just an empty placeholder. The real handling will be implemented in subsequent patches. Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com> Signed-off-by: Stefan Markovic <smarkovic@wavecomp.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index ae3c0dfef7..d2cc971143 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -9347,6 +9347,14 @@ static abi_long do_syscall1(void *cpu_env, int num, abi_long arg1,
return ret;
}
#endif
+#ifdef TARGET_MIPS
+ case TARGET_PR_GET_FP_MODE:
+ /* TODO: Implement TARGET_PR_SET_FP_MODE handling.*/
+ return -TARGET_EINVAL;
+ case TARGET_PR_SET_FP_MODE:
+ /* TODO: Implement TARGET_PR_GET_FP_MODE handling.*/
+ return -TARGET_EINVAL;
+#endif /* MIPS */
#ifdef TARGET_AARCH64
case TARGET_PR_SVE_SET_VL:
/*