summaryrefslogtreecommitdiff
path: root/platform/generic/include
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2024-02-16 16:06:08 -0800
committerAnup Patel <[email protected]>2024-03-04 10:20:41 +0530
commit6bb6b61c27eb07da375213a7a1bb0f8e3fad663a (patch)
tree08886944b5e851f2694702ef8081579442fdd525 /platform/generic/include
parent322b59847534cbbf484190b0957fb32bee36e2ec (diff)
lib: sbi: Add support for smcsrind and smcdeleg
Smcsrind allows generic indirect CSR access mechanism while Smcdeleg allows delegating hpmcounters in Supervisor mode. Enable both extensions and set the appropriate bits in mstateen and menvcfg. Co-developed-by: Kaiwen Xue <[email protected]> Signed-off-by: Atish Patra <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'platform/generic/include')
0 files changed, 0 insertions, 0 deletions