(&mut self)
| 160 | pub fn step(&mut self) -> Result<StepOutcome, VmError> { |
| 161 | match self.cpu.tick(&mut self.bus)? { |
| 162 | TickOutcome::Continue | TickOutcome::EcallSquash => { |
| 163 | if let Some(code) = self.bus.take_syscon_exit() { |
| 164 | return Ok(StepOutcome::Halted(code)); |
| 165 | } |
| 166 | Ok(StepOutcome::Continue) |
| 167 | } |