Skip to content
Commit 49966db3 authored by Atish Patra's avatar Atish Patra Committed by Anup Patel
Browse files

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: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarXiang W <wxjstz@126.com>
Signed-off-by: default avatarAtish Patra <atish.patra@wdc.com>
parent fd9116bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment