aboutsummaryrefslogtreecommitdiff
path: root/hw/gpio
diff options
context:
space:
mode:
authorWeiwei Li <liweiwei@iscas.ac.cn>2023-05-17 17:15:12 +0800
committerAlistair Francis <alistair.francis@wdc.com>2023-06-13 17:10:02 +1000
commitb84ffd6e74b5e4e7ddbb492bc9c8d798c8261703 (patch)
treedf51d10bd05af428db7e21ca0a89af183e239ed6 /hw/gpio
parente9c39713ea09faa74f502e32d71d52c1c2e8ccf1 (diff)
downloadqemu-b84ffd6e74b5e4e7ddbb492bc9c8d798c8261703.zip
qemu-b84ffd6e74b5e4e7ddbb492bc9c8d798c8261703.tar.gz
qemu-b84ffd6e74b5e4e7ddbb492bc9c8d798c8261703.tar.bz2
target/riscv: Make RLB/MML/MMWP bits writable only when Smepmp is enabled
RLB/MML/MMWP bits in mseccfg CSR are introduced by Smepmp extension. So they can only be writable and set to 1s when cfg.epmp is true. Then we also need't check on epmp in pmp_hart_has_privs_default(). Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn> Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20230517091519.34439-6-liweiwei@iscas.ac.cn> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/gpio')
0 files changed, 0 insertions, 0 deletions