Write raw bytes into physical RAM at `addr`. Used to inject pre-compiled user binaries alongside a loaded kernel image. Flushes the L1/L2/L3 cache hierarchy afterward so subsequent CPU reads see the new data.
(&mut self, addr: u64, data: &[u8])
| 255 | } |
| 256 | |
| 257 | // --- Bulk debug accessors --- |
| 258 | |
| 259 | pub fn peek_all_xregs(&self) -> [u64; 32] { |
| 260 | self.cpu.peek_all_xregs() |
| 261 | } |
| 262 | |
| 263 | pub fn peek_all_fregs(&self) -> [u64; 32] { |
| 264 | self.cpu.peek_all_fregs() |
| 265 | } |
| 266 |
no test coverage detected