diff options
author | Atish Patra <atish.patra@wdc.com> | 2021-11-08 10:53:00 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-11-11 17:46:57 +0530 |
commit | 730f01bb41a603cf03d2cfd9c27317389962ffee (patch) | |
tree | 80b373952391f67b982675b8f031d9718caf9d01 /lib/sbi/sbi_hart.c | |
parent | 9134c3643e420b1917cf98940552ef16467f7a34 (diff) |
lib: sbi: Support sscofpmf extension in OpenSBI
This patch adds sscofpmf extension in pmu module which includes
following things.
1. Enable overflow irq when starting a counter.
2. Setting the correct event filters passed from supervisor.
3. Delegating the overflow interrupt to the supervisor.
4. Add RV32 support for sscofpmf.
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_hart.c')
0 files changed, 0 insertions, 0 deletions