pub trait EnvInfo {
// Required methods
fn mvendorid(&self) -> usize;
fn marchid(&self) -> usize;
fn mimpid(&self) -> usize;
}Expand description
Machine environment information.
This trait is useful to build an SBI environment when RustSBI is not run directly on RISC-V machine mode.
Required Methods§
Sourcefn mvendorid(&self) -> usize
fn mvendorid(&self) -> usize
Vendor ID for the supervisor environment.
Provides JEDEC manufacturer ID for the provider of the core.