diff options
| author | Xiang W <[email protected]> | 2023-08-31 11:39:30 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-09-24 11:39:32 +0530 |
| commit | 296e70d69da74b09426e4f565306f26e9a6c79f8 (patch) | |
| tree | 729628bd513ea62ef4059076a5a09751631781ca /docs | |
| parent | e6125c3c4f53ba0c1029b06e17f38f3c982d9815 (diff) | |
lib: sbi: Extend sbi_hartmask to support both hartid and hartindex
Currently, the sbi_hartmask is indexed by hartid which puts a
limit on hartid to be less than SBI_HARTMASK_MAX_BITS.
We extend the sbi_hartmask implementation to use hartindex and
support updating sbi_hartmask using hartid. This removes the
limit on hartid and existing code works largely unmodified.
Signed-off-by: Xiang W <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
