[RFC PATCH 0/2] miscellaneous about hartmask
Xiang W
wxjstz at 126.com
Wed Aug 30 20:39:28 PDT 2023
Originally, the bits in sbi_hartmask represent hartid. Because hartid can
be discontinuous, there may be gaps. Represent hartindex instead.
Xiang W (2):
ilib: sbi: add sbi_platform_hart_index2id
lib: sbi: improve sbi_hartmask
include/sbi/sbi_hartmask.h | 40 ++++++++++++++++++++++++++++----------
include/sbi/sbi_platform.h | 10 ++++++++++
lib/sbi/sbi_domain.c | 26 +++++++++----------------
lib/sbi/sbi_init.c | 2 +-
lib/sbi/sbi_ipi.c | 4 ++--
lib/sbi/sbi_platform.c | 9 +++++++++
lib/sbi/sbi_system.c | 4 ++--
lib/sbi/sbi_tlb.c | 4 ++--
8 files changed, 65 insertions(+), 34 deletions(-)
--
2.40.1
More information about the opensbi
mailing list