target/riscv: Print new PM CSRs in QEMU logs
Signed-off-by: Alexey Baturo <space.monkey.delivers@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20211025173609.2724490-6-space.monkey.delivers@gmail.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
parent
b1c279e135
commit
bd5594ca28
@ -271,6 +271,13 @@ static void riscv_cpu_dump_state(CPUState *cs, FILE *f, int flags)
|
|||||||
CSR_MSCRATCH,
|
CSR_MSCRATCH,
|
||||||
CSR_SSCRATCH,
|
CSR_SSCRATCH,
|
||||||
CSR_SATP,
|
CSR_SATP,
|
||||||
|
CSR_MMTE,
|
||||||
|
CSR_UPMBASE,
|
||||||
|
CSR_UPMMASK,
|
||||||
|
CSR_SPMBASE,
|
||||||
|
CSR_SPMMASK,
|
||||||
|
CSR_MPMBASE,
|
||||||
|
CSR_MPMMASK,
|
||||||
};
|
};
|
||||||
|
|
||||||
for (int i = 0; i < ARRAY_SIZE(dump_csrs); ++i) {
|
for (int i = 0; i < ARRAY_SIZE(dump_csrs); ++i) {
|
||||||
|
Loading…
Reference in New Issue
Block a user