diff options
author | Clément Léger <cleger@rivosinc.com> | 2025-01-10 14:15:55 +0100 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-01-30 10:42:27 +0530 |
commit | ecab71e19a951a0e42dbbb81b0e4d43840551f7e (patch) | |
tree | 387771ad74d85b56d63fc86365767878120c78b3 /lib/utils/cppc | |
parent | 93f7d819fdeb3c5e82d5d761968c325f1407d517 (diff) | |
download | opensbi-ecab71e19a951a0e42dbbb81b0e4d43840551f7e.zip opensbi-ecab71e19a951a0e42dbbb81b0e4d43840551f7e.tar.gz opensbi-ecab71e19a951a0e42dbbb81b0e4d43840551f7e.tar.bz2 |
lib: sbi: sse: return SBI_ENOTSUPP for unsupported events
If a standard event was not found in the list of events that are handled
by harts but belongs to the standard event list defined by the
specification, return SBI_ENOTSUPP. Without that, we can not
distinguish a non implemented standard event from a non valid one.
Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Diffstat (limited to 'lib/utils/cppc')
0 files changed, 0 insertions, 0 deletions