diff options
| author | Yu Chien Peter Lin <[email protected]> | 2024-03-28 11:33:02 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-04-05 18:02:29 +0530 |
| commit | 29ecda9c2065afd3fb2f8cc465bc096d545d825e (patch) | |
| tree | 3b2a1bb567576c8eb426abb01c7032001554b094 /lib/utils/timer/objects.mk | |
| parent | 7862c244bce024e921705d7d2e19cf855557d481 (diff) | |
sbi: sbi_domain_context: Check privilege spec version before accessing S-mode CSRs
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 <[email protected]>
Signed-off-by: Alvin Chang <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/objects.mk')
0 files changed, 0 insertions, 0 deletions
