Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trigger #371

Merged
merged 6 commits into from
Jul 1, 2024
Merged

Fix trigger #371

merged 6 commits into from
Jul 1, 2024

Conversation

huxuan0307
Copy link
Contributor

No description provided.

@wissygh wissygh force-pushed the fix-trigger branch 3 times, most recently from bf76f8f to 43724fe Compare June 28, 2024 08:44
@huxuan0307 huxuan0307 requested a review from cebarobot July 1, 2024 02:17
Copy link
Member

@cebarobot cebarobot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider to rebase this pr on the latest master.
Others looks good to me.

wissygh and others added 6 commits July 1, 2024 11:04
* EX_II should be raised when access DEBUG CSRs(dcsr, dpc, dscratch0, dscratch1).
* Only Debug/Trace Registers(tselect, tdata1, tdata2, tdata3, mcontext, hcontext, scontext) can be access when hart is not in Debug Mode.
* Add tcontrol CSR.
* `tcontrol.mte` will control if enable trigger match in M mode.
* medeleg(EX_BP) hardwired to 0. Parter 5.4 in debug spec. tcontrol is implemented. medeleg[3] is hard-wired to 0.
 * Medeleg(EX_BP) can be written when `CONFIG_RV_SDTRIG` is off.
@wissygh wissygh merged commit c690d5e into master Jul 1, 2024
5 checks passed
@wissygh wissygh deleted the fix-trigger branch July 1, 2024 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants