mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
0c1bbedc10
commit
64ea3d676d
3 changed files with 62 additions and 4 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue