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

Hypervisor extension #612

Draft
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

defermelowie
Copy link
Contributor

@defermelowie defermelowie commented Nov 6, 2024

This is a version of the hypervisor extension ported on a more recent version of the model. Feel welcome to provide any feedback

In order to verify the modifications & additions to this version of the model, the following tests are used:

PS I closed #334 in favor of this pull request.

- Add several hypervisor extension specific CSRs
- Add fields to existing machine-level CSRs
- Refactor MStatus to use 64 bits and split accesses for RV32
- Impl read_CSR for hypervisor CSRs
- Impl write_CSR for hypervisor CSRs
- Set initial values for hypervisor CSRs
- Set initial value for misa[H]
- Model trap through TrapCause union
- Add H-ext exceptions
- Add H-ext interrupts
- Use TrapContext struct to pass exception exception
- Delegate to virtualized mode based on hedeleg
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