diff options
| author | Clément Léger <[email protected]> | 2024-10-18 10:40:03 +0200 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-10-25 23:53:18 +0530 |
| commit | 80656bdb1daf380b5562cba11f43754fe916d631 (patch) | |
| tree | a52b3c0f9eafc390c07a76c9d783aa5400fdcffb /lib/utils/timer | |
| parent | daa282573ffac0f295de7631c98840668f20a568 (diff) | |
lib: sbi: factorize previous mode computation
Previous privilege mode retrieval from mstatus is done at different
places, factorize it rather than copy/pasting it again.
Signed-off-by: Clément Léger <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions
