qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* riscv: How to get more CSR information in debug trace?
@ 2020-01-17 13:32 Ian Jiang
  2020-01-20 23:06 ` Alistair Francis
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Jiang @ 2020-01-17 13:32 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 492 bytes --]

The following registers are given in QEMU debug trace with "-d cpu"
parameter.
pc       0000000000001000
mhartid  0000000000000000
mstatus  0000000000000000

mip      0x0
mie      0000000000000000
mideleg  0000000000000000
medeleg  0000000000000000
mtvec    0000000000000000
mepc     0000000000000000
mcause   0000000000000000

I want more information of other CSRs, such as sstatus, misa, pmpconfig0.
How to get debug trace on all CSRs defined in RISC-V specification?
Thanks!

--
Ian Jiang

[-- Attachment #2: Type: text/html, Size: 788 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-20 23:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-17 13:32 riscv: How to get more CSR information in debug trace? Ian Jiang
2020-01-20 23:06 ` Alistair Francis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).