Function sbi_rt::get_mvendorid
source · pub fn get_mvendorid() -> usize
Expand description
Return the value of mvendorid
register in the current environment.
This function returns a value that is legal for the mvendorid
register,
and 0 is always a legal value for this register.
This function is defined in RISC-V SBI Specification chapter 4.5. According to the introduction of chapter 4, all base extension functions must success and return no error code.