(&self, vm: &'a mut icicle_vm::Vm)
| 60 | } |
| 61 | |
| 62 | pub fn get_mmio_handler<'a>(&self, vm: &'a mut icicle_vm::Vm) -> Option<&'a mut T> |
| 63 | where |
| 64 | T: 'static, |
| 65 | { |
| 66 | vm.cpu.mem.get_io_memory_mut(self.mmio_handler?).as_mut_any().downcast_mut::<T>() |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | impl<I: IoMemory + 'static> CortexmTarget<FuzzwareMmioHandler<I>> { |