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 segfault accessing menvcfg when U-mode doesn't exist #1753

Merged
merged 1 commit into from
Aug 1, 2024

Commits on Jul 31, 2024

  1. Fix segfault accessing menvcfg when U-mode doesn't exist

    The simplest fix is to create the CSRs even if they don't need to exist,
    and just skip adding them to the CSR map to prevent the target machine
    from being able to access them.
    
    It looks like there are other place we should be following this pattern:
    e.g. why does sstatus exist if S-mode does not exist?  But that's a
    matter for another day.
    
    Resolves #1752
    aswaterman committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    584f855 View commit details
    Browse the repository at this point in the history