diff --git a/kernel/src/arch/riscv/mem.rs b/kernel/src/arch/riscv/mem.rs index 7c319b792..84caa9979 100644 --- a/kernel/src/arch/riscv/mem.rs +++ b/kernel/src/arch/riscv/mem.rs @@ -870,6 +870,7 @@ pub fn virt_to_phys(virt: usize) -> Result { Ok((l0_pt.entries[vpn0] >> 10) << 12) } +#[allow(dead_code)] pub fn virt_to_phys_pid(_pid: PID, _virt: usize) -> Result { todo!("virt_to_phys_pid is not yet implemented for riscv"); } diff --git a/services/graphics-server/Cargo.toml b/services/graphics-server/Cargo.toml index 5ff401b97..9bfaed70e 100644 --- a/services/graphics-server/Cargo.toml +++ b/services/graphics-server/Cargo.toml @@ -49,4 +49,4 @@ debugprint = [] braille = [] gfx-testing = [] ditherpunk = [] -default = ["cramium-soc"] +default = []