diff options
author | Stafford Horne <shorne@gmail.com> | 2023-02-12 18:08:13 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2023-05-11 15:40:03 +0100 |
commit | 08f021de3af599b8ca4c745f324a3559dc2990d3 (patch) | |
tree | 3c1f6ddc6ff00d55512747a2ccd0313010bbbca9 /Makefile | |
parent | c1eb2ddf0f8075faddc5f7c3d39feae3e8e9d6b4 (diff) | |
download | qemu-08f021de3af599b8ca4c745f324a3559dc2990d3.zip qemu-08f021de3af599b8ca4c745f324a3559dc2990d3.tar.gz qemu-08f021de3af599b8ca4c745f324a3559dc2990d3.tar.bz2 |
target/openrisc: Allow fpcsr access in user mode
As per OpenRISC spec 1.4 FPCSR can be read and written in user mode.
Update mtspr and mfspr helpers to support this by moving the is_user
check into the helper.
Link: https://raw.githubusercontent.com/openrisc/doc/master/openrisc-arch-1.4-rev0.pdf
Signed-off-by: Stafford Horne <shorne@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions