diff options
author | Stefan Markovic <smarkovic@wavecomp.com> | 2018-10-26 13:17:43 +0200 |
---|---|---|
committer | Aleksandar Markovic <amarkovic@wavecomp.com> | 2018-10-29 15:50:31 +0100 |
commit | 64ea3d676d9447ecdb987deab5a1542ea088bd31 (patch) | |
tree | 1a322382b4840252df7a7facab11329ae6fbd542 /linux-user/mips64 | |
parent | 0c1bbedc10e86ea9366b6af8c5520fafa3266b2f (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/mips64/target_syscall.h b/linux-user/mips64/target_syscall.h index c1160e69f8..8ccc46822c 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 */ |