From c9407a2d474131f3d84b822d3b4e28aaac18a476 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 4 Jan 2024 18:30:48 +0800 Subject: [PATCH] harmonize hosted mode to latest kernel API for get_pid() --- kernel/src/arch/hosted/mem.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/src/arch/hosted/mem.rs b/kernel/src/arch/hosted/mem.rs index f13ac3ace..72e91510b 100644 --- a/kernel/src/arch/hosted/mem.rs +++ b/kernel/src/arch/hosted/mem.rs @@ -26,7 +26,7 @@ impl MemoryMapping { } /// Get the "PID" (actually, ASID) from the current mapping - pub fn get_pid(self) -> PID { + pub fn get_pid(self) -> Option { unimplemented!() }