diff options
| author | Alvin Chang <[email protected]> | 2024-04-16 13:02:13 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-05-07 20:11:30 +0530 |
| commit | 17e829129d60d7d178d47ecbd8990e705690d352 (patch) | |
| tree | cdfcf23509ccda4a7ea12bb2e3936c3e89d622db /lib/utils/timer | |
| parent | 1d89a9da64e4b4f51c59c44eba2f65b037bc4d95 (diff) | |
sbi: sbi_domain_context: Add spinlock for updating domain assigned_harts
Add spinlock protection to avoid race condition on assigned_harts
during domain context switching. Also, rename/add variables for
accessing the corresponding domain of target/current context.
Signed-off-by: Alvin Chang <[email protected]>
Reviewed-by: Yu Chien Peter Lin <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions
