linux-user: Add MIPS-specific prctl() options
commita2b9a10e94f5fc08f793b495bbb2b9416fafac83
authorStefan Markovic <smarkovic@wavecomp.com>
Fri, 12 Oct 2018 10:40:57 +0000 (12 12:40 +0200)
committerAleksandar Markovic <amarkovic@wavecomp.com>
Thu, 18 Oct 2018 18:37:20 +0000 (18 20:37 +0200)
tree21f9b033d67aa8d549c6879acd4b39782bcf4a13
parentf0a997c6b93cdb44b054a207475e528d01026f4f
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>
linux-user/mips/target_syscall.h
linux-user/mips64/target_syscall.h