From 64ea3d676d9447ecdb987deab5a1542ea088bd31 Mon Sep 17 00:00:00 2001 From: Stefan Markovic Date: Fri, 26 Oct 2018 13:17:43 +0200 Subject: 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 Signed-off-by: Stefan Markovic --- linux-user/mips64/target_syscall.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux-user/mips64') 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 */ -- cgit v1.1