mirror of
https://github.com/Fishwaldo/opensbi.git
synced 2025-03-15 11:21:45 +00:00
SCOUNTEREN and SENVCFG may not be supported on certain RISC-V core, so check the existence of these CSRs via privilege spec version to prevent illegal instructions. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Signed-off-by: Alvin Chang <alvinga@andestech.com> Reviewed-by: Anup Patel <anup@brainfault.org> |
||
---|---|---|
.. | ||
sbi | ||
utils |