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)
committerAlistair Francis <alistair.francis@wdc.com>
Mon, 3 Jun 2024 01:12:12 +0000 (11:12 +1000)
commit915758c537b5fe09575291f4acd87e2d377a93de
treec12d74f3acfeecd2edc44b3e34e8a2230afdf752
parent583edc4efb7f4075212bdee281f336edfa532e3f
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>
disas/riscv.c