diff options
author | Atish Patra <atish.patra@wdc.com> | 2021-11-08 21:53:00 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-11-11 15:16:57 +0300 |
commit | 730f01bb41a603cf03d2cfd9c27317389962ffee (patch) | |
tree | 80b373952391f67b982675b8f031d9718caf9d01 /lib/sbi/sbi_hart.c | |
parent | 9134c3643e420b1917cf98940552ef16467f7a34 (diff) | |
download | opensbi-730f01bb41a603cf03d2cfd9c27317389962ffee.tar.xz |
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