You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to RISC-V ISA Dev
1) Can tselect and tdata1 triggers be accessed in u-mode ? 2) How do I set "type" bit in tdata1 to 3 or 6 (instruction count / mcontrol6 ) because the value in tdata1 it is 0 .
Tommy Murphy
unread,
Mar 22, 2024, 3:48:42 AMMar 22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JAYANTH R, RISC-V ISA Dev
> 1) Can tselect and tdata1 triggers be accessed in u-mode?
"The Trigger Module registers, except mscontext, scontext, and hcontext, are only accessible in machine and Debug Mode to prevent untrusted user code from causing entry into Debug Mode without
the OS’s permission."
> 2) How do I set "type" bit in tdata1 to 3 or 6 (instruction count / mcontrol6 ) because the value in tdata1 it is 0 .
Section 5.7.2 describes this register. tdata1:type is a 4-bit field, not a single bit. I don't understand what the problem is here. Maybe you can clarify?