haltsum0

47 views
Skip to first unread message

Deepak Panwar

unread,
Oct 4, 2018, 3:32:30 PM10/4/18
to RISC-V Debug Group
Can someone clarify is "Halt Summary 0 (haltsum0 at 0x40)" is an optional register? We have a single thread machine so we don't see the need to implement haltsum0 since dmstatus will indicate whether the thread is halted or not. However, this is a read-only register so Debugger can't figure out it's implemented by writing to it. 

Thanks,
Deepak 

Tommy Murphy

unread,
Oct 5, 2018, 5:14:54 AM10/5/18
to RISC-V Debug Group
On Thursday, 4 October 2018 20:32:30 UTC+1, Deepak Panwar wrote:
is "Halt Summary 0 (haltsum0 at 0x40)" is an optional register? 

Where are you seeing this register documented?
I can't see it in any of the current ISA, privileged draft or debug (v0.13) draft specs. 

Tommy Murphy

unread,
Oct 5, 2018, 9:27:46 AM10/5/18
to RISC-V Debug Group
Sorry - I see the haltsum0 register in the draft debug spec here now:

file:///C:/Users/tommy.murphy/Downloads/riscv-debug-draft.pdf

I was unable to find the spec online earlier:



Tim Newsome

unread,
Oct 5, 2018, 2:22:07 PM10/5/18
to Deepak Panwar, RISC-V Debug Group
haltsum0 is required. I agree it would be better for it to be explicitly optional for single-hart platforms. Hopefully that can be incorporated in future specs. I've opened https://github.com/riscv/riscv-debug-spec/issues/389 to track this.

Tim

--
You received this message because you are subscribed to the Google Groups "RISC-V Debug Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debug+un...@groups.riscv.org.
To post to this group, send email to de...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/debug/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/debug/3d79d7c0-3671-46fd-8fb2-694e82d33122%40groups.riscv.org.
Reply all
Reply to author
Forward
0 new messages