diff options
author | Alistair Francis <alistair.francis@wdc.com> | 2020-08-12 12:13:25 -0700 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2020-08-25 09:11:36 -0700 |
commit | e2eb5ca8f66c239f6194afda88cad455e42725ef (patch) | |
tree | a8e225265b091ac3d51918c10d3f40823ffa32f2 /target/riscv | |
parent | 29b3361b14987af0f5fb1e4f98e9e8abbf3dd9f1 (diff) | |
download | qemu-e2eb5ca8f66c239f6194afda88cad455e42725ef.zip |
target/riscv: Don't allow guest to write to htinst
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: ca5359fec6b2aff851eef3b3bc4b53cb5d4ad194.1597259519.git.alistair.francis@wdc.com
Message-Id: <ca5359fec6b2aff851eef3b3bc4b53cb5d4ad194.1597259519.git.alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv')
-rw-r--r-- | target/riscv/csr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/riscv/csr.c b/target/riscv/csr.c index 6a96a01b1c..0f035d33b1 100644 --- a/target/riscv/csr.c +++ b/target/riscv/csr.c @@ -922,7 +922,6 @@ static int read_htinst(CPURISCVState *env, int csrno, target_ulong *val) static int write_htinst(CPURISCVState *env, int csrno, target_ulong val) { - env->htinst = val; return 0; } |