]> 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)
commit9075bc0bdda0840ff1d6ea3ad8b340a47c431100
tree22c10da3e54b8268b2ed199c9def6830482a4148
parent8746327f4b4520ce59cd716f7bfb778610ac2c71
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