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

riscv: define satp CSR with macro helpers #258

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

Conversation

rmsyn
Copy link
Contributor

@rmsyn rmsyn commented Jan 19, 2025

Uses CSR macro helpers to define the satp CSR register.

Changes the CSR number + mask macro arguments into expr to allow for definitions using constants and type expressions.

Adds basic unit tests for the satp CSR.

rmsyn added 3 commits January 19, 2025 18:13
Changes the CSR number + mask macro arguments into `expr` to allow for
definitions using constants and type expressions.
Uses CSR macro helpers to define the `satp` CSR register.
Adds basic unit tests for the `satp` CSR.
@rmsyn rmsyn requested a review from a team as a code owner January 19, 2025 18:56
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