diff options
| author | Atish Patra <[email protected]> | 2021-11-08 10:52:57 -0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-11-11 17:39:38 +0530 |
| commit | 7084ad9f4281eecd7a7f66cecfd7d9cff8d452ad (patch) | |
| tree | c2b2150c773d7a5919196cd4812606893b47ccc4 /include | |
| parent | a74daf2cb982269eb9cda5a71eef27c0f869ea08 (diff) | |
lib: sbi: Update csr_read/write_num for PMU
The Sscofpmf extension introduces mhpmevent[h] csrs to handle filtering
/overflow bits in RV32. There is no way to read/write mcountinhibit
using mcountinhibit csr using a variable.
Updated the support to read/write mhpmevent[h] and mcountinhibit csr.
Reviewed-by: Anup Patel <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Signed-off-by: Atish Patra <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
