diff options
| author | Clément Léger <[email protected]> | 2024-10-18 10:40:02 +0200 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-10-25 23:52:51 +0530 |
| commit | daa282573ffac0f295de7631c98840668f20a568 (patch) | |
| tree | 3de7a726113d69a316316abb2ccc71cc684968ec /lib/utils | |
| parent | b919daf4958281b94fd2e03e23874b97b4908fc5 (diff) | |
lib: sbi: factorize previous virtualization mode read from regs
The same pattern is used at multiple places to verify in which mode
the exception was actually taken. Factorize it.
Signed-off-by: Clément Léger <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions
