Push a key event from the host GUI into the keyboard device.
(&mut self, scancode: u16, pressed: bool)
| 256 | /// Capture the architectural RAM image (RAM overlaid with dirty cache lines). |
| 257 | pub fn ram_image(&self) -> Vec<u8> { |
| 258 | let mut buf = vec![0u8; self.l1_cache.ram_len()]; |
| 259 | self.l1_cache.write_image_into(&mut buf); |
| 260 | buf |
| 261 | } |
| 262 | |
| 263 | /// Replace RAM with `bytes` and drop every cached line cold (no writeback). |