Function sbi_rt::get_sbi_impl_id
source · pub fn get_sbi_impl_id() -> usize
Expand description
Return the current SBI implementation ID.
Implementation ID is different for every SBI implementation. It is intended that this implementation ID allows software to probe for SBI implementation quirks.
This function is defined in RISC-V SBI Specification chapter 4.2. According to the introduction of chapter 4, all base extension functions must success and return no error code.