Skip to content

Reviewing use of currentlyEnabled vs hartSupports #1650

@pmundkur

Description

@pmundkur
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions