cleanup warning

This commit is contained in:
bunnie 2024-01-29 03:49:33 +08:00
parent d0bf87d2e7
commit 64f8285239

View file

@ -870,6 +870,7 @@ pub fn virt_to_phys(virt: usize) -> Result<usize, xous_kernel::Error> {
Ok((l0_pt.entries[vpn0] >> 10) << 12)
}
#[allow(dead_code)]
pub fn virt_to_phys_pid(_pid: PID, _virt: usize) -> Result<usize, xous_kernel::Error> {
todo!("virt_to_phys_pid is not yet implemented for riscv");
}