diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2021-08-07 22:10:25 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2021-09-01 11:59:12 +1000 |
commit | 65e728a28aa6c9df62711e2ece09f142b97825a6 (patch) | |
tree | 924f53292e12f05a0ff48109573b3db759bdee24 /blockjob.c | |
parent | 58bde469ba0208497eea49650df7e9f832875e56 (diff) | |
download | qemu-65e728a28aa6c9df62711e2ece09f142b97825a6.zip qemu-65e728a28aa6c9df62711e2ece09f142b97825a6.tar.gz qemu-65e728a28aa6c9df62711e2ece09f142b97825a6.tar.bz2 |
target/riscv: Correct a comment in riscv_csrrw()
When privilege check fails, RISCV_EXCP_ILLEGAL_INST is returned,
not -1 (RISCV_EXCP_NONE).
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210807141025.31808-1-bmeng.cn@gmail.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'blockjob.c')
0 files changed, 0 insertions, 0 deletions