mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 20:03:37 +08:00
linux-user: Add MIPS-specific prctl() options
Add MIPS-specific prctl() options TARGET_PR_SET_FP_MODE and TARGET_PR_SET_FP_MODE. These values are essentially copied from linux kernel header include/uapi/linux/prctl.h. This is done in a way consistent with a similar case of aarch64-specific prctl() options TARGET_PR_SVE_SET_VL and TARGET_PR_SVE_GET_VL. 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:
parent
f0a997c6b9
commit
a2b9a10e94
@ -244,4 +244,8 @@ static inline abi_ulong target_shmlba(CPUMIPSState *env)
|
||||
return 0x40000;
|
||||
}
|
||||
|
||||
/* MIPS-specific prctl() options */
|
||||
#define TARGET_PR_SET_FP_MODE 45
|
||||
#define TARGET_PR_GET_FP_MODE 46
|
||||
|
||||
#endif /* MIPS_TARGET_SYSCALL_H */
|
||||
|
@ -241,4 +241,8 @@ static inline abi_ulong target_shmlba(CPUMIPSState *env)
|
||||
return 0x40000;
|
||||
}
|
||||
|
||||
/* MIPS-specific prctl() options */
|
||||
#define TARGET_PR_SET_FP_MODE 45
|
||||
#define TARGET_PR_GET_FP_MODE 46
|
||||
|
||||
#endif /* MIPS64_TARGET_SYSCALL_H */
|
||||
|
Loading…
Reference in New Issue
Block a user