Byte and halfword accesses are illegal.
(&mut self, addr: u64)
| 87 | |
| 88 | impl MemoryAccess for Plic { |
| 89 | // Byte and halfword accesses are illegal. |
| 90 | fn read_byte(&mut self, addr: u64) -> Result<u8, VmError> { |
| 91 | Err(VmError::LoadAccessFault(addr)) |
| 92 | } |
| 93 | |
| 94 | fn write_byte(&mut self, _addr: u64, _data: u8) -> Result<(), VmError> { |
nothing calls this directly
no outgoing calls
no test coverage detected