-
Notifications
You must be signed in to change notification settings - Fork 354
Add Supervisor Domains extension and CSRs #389
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Ravi Sahita <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #389 +/- ##
==========================================
+ Coverage 96.53% 97.08% +0.55%
==========================================
Files 10 14 +4
Lines 750 926 +176
==========================================
+ Hits 724 899 +175
- Misses 26 27 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
encoding.h
Outdated
| #define MIE_SSIE (1 << IRQ_S_SOFT) | ||
| #define MIE_VSSIE (1 << IRQ_VS_SOFT) | ||
| #define MIE_MSIE (1 << IRQ_M_SOFT) | ||
| #define MIE_STIE (1 << IRQ_S_TIMER) | ||
| #define MIE_VSTIE (1 << IRQ_VS_TIMER) | ||
| #define MIE_MTIE (1 << IRQ_M_TIMER) | ||
| #define MIE_SEIE (1 << IRQ_S_EXT) | ||
| #define MIE_VSEIE (1 << IRQ_VS_EXT) | ||
| #define MIE_MEIE (1 << IRQ_M_EXT) | ||
| #define MIE_SGEIE (1 << IRQ_S_GEXT) | ||
| #define MIE_LCOFIE (1 << IRQ_LCOF) | ||
| #define MIE_MSDEIE (1 << IRQ_MSDEI) | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get rid of this. It is a property of the ISA that MIP and MIE bits line up with each other, so having a redundant set of macros is just more code to maintain.
encoding.h
Outdated
| #define SIP_STIP MIP_STIP | ||
| #define SIP_MSDEIP MIP_MSDEIP | ||
|
|
||
| #define SIE_MSDEIE MIE_MSDEIE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same.
aswaterman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ved-rivos can you also take a quick look? Do you agree this is stable enough that it's safe to merge?
|
Thanks @rsahita! |
Signed-off-by: Ravi Sahita <[email protected]>
Add Supervisor Domains extension and CSRs