diff options
| author | Anup Patel <[email protected]> | 2022-04-28 13:13:59 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-04-28 19:39:01 +0530 |
| commit | 474a9d45551ab8c7df511a6620de2427a732351f (patch) | |
| tree | 635618df18a1d9e23e2fd45a41aec56d50ddaa09 /include | |
| parent | d62f6da062ad0fcc3bdc042a3f3b200d91d18afd (diff) | |
lib: sbi: Fix mstatus_init() for RV32 when Sscofpmf is not available
The mhpmevent3h to mhpmevent31h CSRs are available on RV32 only when
Sscofpmf extension is available so mstatus_init() should set this
CSRs only when Sscofpmf extension is available.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
