pub struct NoopRv64SystemInstructionHandler<Instruction> { /* private fields */ }Expand description
System instruction handler that does nothing
Trait Implementations§
Source§impl<Instruction: Clone> Clone for NoopRv64SystemInstructionHandler<Instruction>
impl<Instruction: Clone> Clone for NoopRv64SystemInstructionHandler<Instruction>
Source§fn clone(&self) -> NoopRv64SystemInstructionHandler<Instruction>
fn clone(&self) -> NoopRv64SystemInstructionHandler<Instruction>
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<Instruction: Debug> Debug for NoopRv64SystemInstructionHandler<Instruction>
impl<Instruction: Debug> Debug for NoopRv64SystemInstructionHandler<Instruction>
Source§impl<Reg> Default for NoopRv64SystemInstructionHandler<Reg>
impl<Reg> Default for NoopRv64SystemInstructionHandler<Reg>
Source§impl<Reg, Memory, PC, CustomError> SystemInstructionHandler<Reg, Memory, PC, CustomError> for NoopRv64SystemInstructionHandler<Rv64Instruction<Reg>>
impl<Reg, Memory, PC, CustomError> SystemInstructionHandler<Reg, Memory, PC, CustomError> for NoopRv64SystemInstructionHandler<Rv64Instruction<Reg>>
Source§fn handle_ecall(
&mut self,
_regs: &mut Registers<Reg>,
_memory: &mut Memory,
_program_counter: &mut PC,
) -> Result<ControlFlow<()>, ExecutionError<u64, CustomError>>
fn handle_ecall( &mut self, _regs: &mut Registers<Reg>, _memory: &mut Memory, _program_counter: &mut PC, ) -> Result<ControlFlow<()>, ExecutionError<u64, 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 Registers<Reg>,
memory: &mut Memory,
pc: <Reg as Register>::Type,
)
fn handle_ebreak( &mut self, regs: &mut Registers<Reg>, memory: &mut Memory, pc: <Reg as Register>::Type, )
Handle an
ebreak instruction. Read moreimpl<Instruction: Copy> Copy for NoopRv64SystemInstructionHandler<Instruction>
Auto Trait Implementations§
impl<Instruction> Freeze for NoopRv64SystemInstructionHandler<Instruction>
impl<Instruction> RefUnwindSafe for NoopRv64SystemInstructionHandler<Instruction>where
Instruction: RefUnwindSafe,
impl<Instruction> Send for NoopRv64SystemInstructionHandler<Instruction>where
Instruction: Send,
impl<Instruction> Sync for NoopRv64SystemInstructionHandler<Instruction>where
Instruction: Sync,
impl<Instruction> Unpin for NoopRv64SystemInstructionHandler<Instruction>where
Instruction: Unpin,
impl<Instruction> UnsafeUnpin for NoopRv64SystemInstructionHandler<Instruction>
impl<Instruction> UnwindSafe for NoopRv64SystemInstructionHandler<Instruction>where
Instruction: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more