Drop all entries if the active address space (satp) changed.
(&mut self, satp: u64)
| 70 | Self::Execute => VmError::InstructionPageFault(vaddr), |
| 71 | } |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | #[inline] |
| 76 | pub(crate) fn is_sv39_canonical(vaddr: u64) -> bool { |
| 77 | let upper_bits = vaddr >> 39; |
| 78 | upper_bits == 0 || upper_bits == 0x1FF_FFFF |
| 79 | } |
| 80 |
no test coverage detected