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 epc[0] is always 0, rather than being cleared only at the time of use. #150

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

youzi27
Copy link

@youzi27 youzi27 commented Dec 6, 2023

This PR addresses the non-compliance of Nutshell's implementation of epc[0] with specification as well as Issue #149. Privilege Specification Section 3.1.14 as so on states:

The low bit of mepc (mepc[0]) is always zero.

Explanation: The specification dictates that epc[0] must be 0 during implementation, rather than being simply cleared at the time of use.

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.

1 participant