(&self, addr: u64)
| 382 | return line.data.get(offset as usize).copied(); |
| 383 | } |
| 384 | } |
| 385 | } |
| 386 | self.next.peek_byte_raw(addr) |
| 387 | } |
| 388 | } |
| 389 | |
| 390 | impl<Next: MemoryAccess + RamImage> RamImage for Cache<Next> { |
| 391 | fn ram_len(&self) -> usize { |
| 392 | self.next.ram_len() |
| 393 | } |
| 394 | fn ram_base(&self) -> u64 { |
| 395 | self.next.ram_base() |
| 396 | } |
| 397 | fn write_image_into(&self, buf: &mut [u8]) { |
| 398 | // Deeper (older) levels first, then overlay this level's dirty lines so |
nothing calls this directly
no test coverage detected