pub enum EcallKind {
Ecall,
Ecalli(u32),
}Expand description
Which custom-0 ecall encoding triggered this invocation.
Variants§
Ecall
ecall.jar (custom-0 funct3=001). No immediate; the handler
reads the operand registers per the ABI convention it defines.
Ecalli(u32)
ecalli imm (custom-0 funct3=010). Carries the sign-extended
imm12 as a u32 payload.
Trait Implementations§
impl Copy for EcallKind
impl Eq for EcallKind
impl StructuralPartialEq for EcallKind
Auto Trait Implementations§
impl Freeze for EcallKind
impl RefUnwindSafe for EcallKind
impl Send for EcallKind
impl Sync for EcallKind
impl Unpin for EcallKind
impl UnsafeUnpin for EcallKind
impl UnwindSafe for EcallKind
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