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>
This commit is contained in:
Stefan Markovic 2018-10-12 12:57:35 +02:00 committed by Aleksandar Markovic
parent a2b9a10e94
commit 5b702ffd42

View File

@ -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:
/*