diff options
author | Atish Patra <atish.patra@wdc.com> | 2021-07-10 09:18:09 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-07-11 10:20:44 +0530 |
commit | 49966db30658a3d5070e1a10200bd8c73dab0851 (patch) | |
tree | d74530cded4b0071f4821d5fc7fded6b52069c45 /include | |
parent | fd9116bd46e59ef8fbeaa147bb102527635615ba (diff) |
lib: sbi: Use csr_read/write_num to read/update PMU counters
Currently, csr_read/write_num functions are used to read/write PMP related
CSRs where CSR value is decided at runtime. Expand this function to include
PMU related CSRs as well.
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions