]> git.ipfire.org Git - thirdparty/qemu.git/commit
disas/riscv: Decode all of the pmpcfg and pmpaddr CSRs
authorAlistair Francis <alistair23@gmail.com>
Tue, 14 May 2024 05:16:15 +0000 (15:16 +1000)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 5 Jun 2024 10:07:40 +0000 (13:07 +0300)
commit2891807479198825f128caf0460cf9ee6ff91b5c
tree12478a061c5fc9111233ef609074eb9a5b42fd7e
parentae5edeb0845e65c48625073d3a47f16044b86f25
disas/riscv: Decode all of the pmpcfg and pmpaddr CSRs

Previously we only listed a single pmpcfg CSR and the first 16 pmpaddr
CSRs. This patch fixes this to list all 16 pmpcfg and all 64 pmpaddr
CSRs are part of the disassembly.

Reported-by: Eric DeVolder <eric_devolder@yahoo.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Fixes: ea10325917 ("RISC-V Disassembler")
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Cc: qemu-stable <qemu-stable@nongnu.org>
Message-ID: <20240514051615.330979-1-alistair.francis@wdc.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
(cherry picked from commit 915758c537b5fe09575291f4acd87e2d377a93de)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
disas/riscv.c