Introduce sbi_current_hartid()
Use this helper instead of hardcoding csr_read(mhartid).
Signed-off-by:
Damien Le Moal <damien.lemoal@wdc.com>
parent
426adf9f
Please register or sign in to comment
Use this helper instead of hardcoding csr_read(mhartid).
Signed-off-by:
Damien Le Moal <damien.lemoal@wdc.com>