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

Improve the disable_timer function #538

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

lz-bro
Copy link
Contributor

@lz-bro lz-bro commented Feb 4, 2024

  1. turn off mstatus.mie
  2. set mtimecmp to all f, so that mip.mtip turn to 0

Change-Id: I885c50698893ae83b32db35dabc9a04b5d709483

@lz-bro lz-bro force-pushed the fix_disable_timer branch 2 times, most recently from 8e68cc4 to 7c05841 Compare February 4, 2024 11:33
@lz-bro
Copy link
Contributor Author

lz-bro commented Nov 8, 2024

@aswaterman Would you kindly merge it.

@aswaterman aswaterman merged commit 683b4ad into riscv-software-src:master Nov 8, 2024
2 checks passed
@lz-bro lz-bro deleted the fix_disable_timer branch November 12, 2024 02:30
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.

2 participants