diff options
author | Richard Henderson | 2019-01-15 00:57:59 +0100 |
---|---|---|
committer | Palmer Dabbelt | 2019-02-12 00:56:21 +0100 |
commit | 533b8f8877d4e3e8bf2b57e633a84afe27c14429 (patch) | |
tree | 6cde2c1332bdfdeeb41ad262ac46310c4422d0e3 /linux-user/cpu_loop-common.h | |
parent | RISC-V: Split out mstatus_fs from tb_flags (diff) | |
download | qemu-533b8f8877d4e3e8bf2b57e633a84afe27c14429.tar.gz qemu-533b8f8877d4e3e8bf2b57e633a84afe27c14429.tar.xz qemu-533b8f8877d4e3e8bf2b57e633a84afe27c14429.zip |
RISC-V: Mark mstatus.fs dirty
Modifed from Richard Henderson's patch [1] to integrate
with the new control and status register implementation.
[1] https://lists.nongnu.org/archive/html/qemu-devel/2018-03/msg07034.html
Note: the f* CSRs already mark mstatus.FS dirty using
env->mstatus |= mstatus.FS so the bug in the first
spin of this patch has been fixed in a prior commit.
Signed-off-by: Michael Clark <mjc@sifive.com>
Reviewed-by: Michael Clark <mjc@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Co-authored-by: Richard Henderson <richard.henderson@linaro.org>
Co-authored-by: Michael Clark <mjc@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'linux-user/cpu_loop-common.h')
0 files changed, 0 insertions, 0 deletions