Commit d1e4dff4 authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

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: default avatarAnup Patel <apatel@ventanamicro.com>
parent 130e65dd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment