diff options
author | Atish Patra <atish.patra@wdc.com> | 2021-07-10 19:18:11 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-07-11 07:53:18 +0300 |
commit | 13d40f21d588e17a31624ed415f114987b6bd3d0 (patch) | |
tree | e54dd0463d90fbbc28b90e56b45a01539a981115 /include/sbi_utils | |
parent | e7cc7a3ab2770b9f40569a84c417afdad59531bc (diff) | |
download | opensbi-13d40f21d588e17a31624ed415f114987b6bd3d0.tar.xz |
lib: sbi: Add PMU support
RISC-V SBI v0.3 specification defined a PMU extension to configure/start/stop
the hardware/firmware pmu events.
Implement PMU support in OpenSBI library. The implementation is agnostic of
event to counter mapping & mhpmevent value configuration. That means, it
expects platform hooks will be used to set up the mapping and provide
the mhpmevent value at runtime.
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi_utils')
0 files changed, 0 insertions, 0 deletions