pub struct IgnoreEcallSystemInstructionHandler;Expand description
System instruction handler that ignores all system calls and does nothing for other system instructions
Trait Implementations§
Source§impl Clone for IgnoreEcallSystemInstructionHandler
impl Clone for IgnoreEcallSystemInstructionHandler
Source§fn clone(&self) -> IgnoreEcallSystemInstructionHandler
fn clone(&self) -> IgnoreEcallSystemInstructionHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for IgnoreEcallSystemInstructionHandler
impl Default for IgnoreEcallSystemInstructionHandler
Source§fn default() -> IgnoreEcallSystemInstructionHandler
fn default() -> IgnoreEcallSystemInstructionHandler
Returns the “default value” for a type. Read more
Source§impl<Reg, Regs, Memory, PC, CustomError> SystemInstructionHandler<Reg, Regs, Memory, PC, CustomError> for IgnoreEcallSystemInstructionHandlerwhere
Reg: Register,
Regs: RegisterFile<Reg>,
impl<Reg, Regs, Memory, PC, CustomError> SystemInstructionHandler<Reg, Regs, Memory, PC, CustomError> for IgnoreEcallSystemInstructionHandlerwhere
Reg: Register,
Regs: RegisterFile<Reg>,
Source§fn handle_ecall(
&mut self,
_regs: &mut Regs,
_memory: &mut Memory,
_program_counter: &mut PC,
) -> Result<ControlFlow<()>, ExecutionError<Reg::Type, CustomError>>
fn handle_ecall( &mut self, _regs: &mut Regs, _memory: &mut Memory, _program_counter: &mut PC, ) -> Result<ControlFlow<()>, ExecutionError<Reg::Type, CustomError>>
Handle an
ecall instructionSource§fn handle_fence(&mut self, pred: u8, succ: u8)
fn handle_fence(&mut self, pred: u8, succ: u8)
Handle a
fence instructionSource§fn handle_fence_tso(&mut self)
fn handle_fence_tso(&mut self)
Handle a
fence.tso instructionSource§fn handle_ebreak(&mut self, regs: &mut Regs, memory: &mut Memory, pc: Reg::Type)
fn handle_ebreak(&mut self, regs: &mut Regs, memory: &mut Memory, pc: Reg::Type)
Handle an
ebreak instruction. Read moreimpl Copy for IgnoreEcallSystemInstructionHandler
Auto Trait Implementations§
impl Freeze for IgnoreEcallSystemInstructionHandler
impl RefUnwindSafe for IgnoreEcallSystemInstructionHandler
impl Send for IgnoreEcallSystemInstructionHandler
impl Sync for IgnoreEcallSystemInstructionHandler
impl Unpin for IgnoreEcallSystemInstructionHandler
impl UnsafeUnpin for IgnoreEcallSystemInstructionHandler
impl UnwindSafe for IgnoreEcallSystemInstructionHandler
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