diff options
| author | Anup Patel <[email protected]> | 2022-09-12 09:50:43 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-09-24 11:39:21 +0530 |
| commit | d1e4dff45b2d3ce2c88d09e98ae5795d323b2267 (patch) | |
| tree | 70054674c35f9249b60af95a6642c65ff4564561 /lib/utils/timer/fdt_timer_plmt.c | |
| parent | 130e65dd9d44c11ef3a3048eb9a491d33e5f14b8 (diff) | |
lib: sbi: Introduce HART index in sbi_scratch
We introduce HART index and related helper functions in sbi_scratch
where HART index is contiguous and each HART index maps to a physical
HART id such that 0 <= HART index and HART index < SBI_HARTMASK_MAX_BITS.
The HART index to HART id mapping follows the index2id mapping provided
by the platform. If the platform does not provide index2id mapping then
identity mapping is assumed.
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer/fdt_timer_plmt.c')
0 files changed, 0 insertions, 0 deletions
