Trait rustv::syscall::SyscallHandler [] [src]

pub trait SyscallHandler {
    fn syscall(
        &mut self,
        core_id: usize,
        registers: &mut RegisterFile,
        mmu: &Mmu
    ) -> Option<Trap>; fn should_halt(&self) -> bool; }

Required Methods

Implement the syscall requested by core_id.

Determine, after each cycle, whether the processor should halt.

Implementors