pub enum BaseCase {
NotExist,
Begin,
GetSbiSpecVersion(Version),
GetSbiImplId(Result<&'static str, usize>),
GetSbiImplVersion(usize),
ProbeExtensions(Extensions),
GetMvendorId(usize),
GetMarchId(usize),
GetMimpId(usize),
Pass,
}Expand description
Base extension test cases.
Variants§
NotExist
Can’t proceed test for base extension does not exist.
Begin
Test begin.
GetSbiSpecVersion(Version)
Test process for getting SBI specification version.
GetSbiImplId(Result<&'static str, usize>)
Test process for getting SBI implementation ID.
GetSbiImplVersion(usize)
Test process for getting version of SBI implementation.
ProbeExtensions(Extensions)
Test process for probe standard SBI extensions.
GetMvendorId(usize)
Test process for getting vendor ID from RISC-V environment.
GetMarchId(usize)
Test process for getting architecture ID from RISC-V environment.
GetMimpId(usize)
Test process for getting implementation ID from RISC-V environment.
Pass
All test cases on base module finished.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Case
impl RefUnwindSafe for Case
impl Send for Case
impl Sync for Case
impl Unpin for Case
impl UnsafeUnpin for Case
impl UnwindSafe for Case
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more