summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAtish Patra <atish.patra@wdc.com>2021-07-10 19:18:09 +0300
committerAnup Patel <anup@brainfault.org>2021-07-11 07:50:44 +0300
commit49966db30658a3d5070e1a10200bd8c73dab0851 (patch)
treed74530cded4b0071f4821d5fc7fded6b52069c45 /include
parentfd9116bd46e59ef8fbeaa147bb102527635615ba (diff)
downloadopensbi-49966db30658a3d5070e1a10200bd8c73dab0851.tar.xz
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