- First, some
currentlyEnabled clauses seem inaccurate: e.g., currentlEnabled(Ext_Sv39) doesn't capture whether satp[Mode] is actually set to Sv39.
- Secondly, legalization of CSRs like
menvcfg should be checking hartsupports instead of currentlyEnabled
When making this change, the use of currentlyEnabled should be carefully reviewed to check downstream consequences.
currentlyEnabledclauses seem inaccurate: e.g.,currentlEnabled(Ext_Sv39)doesn't capture whethersatp[Mode]is actually set toSv39.menvcfgshould be checkinghartsupportsinstead ofcurrentlyEnabledWhen making this change, the use of
currentlyEnabledshould be carefully reviewed to check downstream consequences.