Unverified Commit 6304be46 authored by rmsyn's avatar rmsyn
Browse files

riscv: add `mcounteren` in-memory update functions

Adds functions for updating the in-memory `Mcounteren` structure without
touching the CSR.

Allows manipulating all bitfields in-memory, and writing the entire
value back to the CSR at once.
parent 92e1e838
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment