pub trait Syscalls<Mac: SupportMachine>: Send + Sync {
// Required methods
fn initialize(&mut self, machine: &mut Mac) -> Result<(), Error>;
fn ecall(&mut self, machine: &mut Mac) -> Result<bool, Error>;
}
pub trait Syscalls<Mac: SupportMachine>: Send + Sync {
// Required methods
fn initialize(&mut self, machine: &mut Mac) -> Result<(), Error>;
fn ecall(&mut self, machine: &mut Mac) -> Result<bool, Error>;
}