aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorYifei Jiang <jiangyifei@huawei.com>2020-10-26 19:55:27 +0800
committerAlistair Francis <alistair.francis@wdc.com>2020-11-03 07:17:23 -0800
commit24beb03e46de8602b318d5f234ce0ba489a7dbfc (patch)
treeb1a80f07b811ad94bd25ecf49fda8159c6197cf5 /tcg
parentf7697f0e629eb75d411bc6f314c6fff68fa4c238 (diff)
downloadqemu-24beb03e46de8602b318d5f234ce0ba489a7dbfc.zip
qemu-24beb03e46de8602b318d5f234ce0ba489a7dbfc.tar.gz
qemu-24beb03e46de8602b318d5f234ce0ba489a7dbfc.tar.bz2
target/riscv: Add PMP state description
In the case of supporting PMP feature, add PMP state description to vmstate_riscv_cpu. 'vmstate_pmp_addr' and 'num_rules' could be regenerated by pmp_update_rule(). But there exists the problem of updating num_rules repeatedly in pmp_update_rule(). So here extracts pmp_update_rule_addr() and pmp_update_rule_nums() to update 'vmstate_pmp_addr' and 'num_rules' respectively. Signed-off-by: Yifei Jiang <jiangyifei@huawei.com> Signed-off-by: Yipeng Yin <yinyipeng1@huawei.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20201026115530.304-4-jiangyifei@huawei.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions