From f771883cb09e8a13fb12b4fa895bb01459d66593 Mon Sep 17 00:00:00 2001 From: Stephen Marz Date: Sat, 25 Apr 2020 21:44:05 -0400 Subject: [PATCH] Added satp_fence. Probably don't need this since we don't reuse pids. --- risc_v/src/test.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/risc_v/src/test.rs b/risc_v/src/test.rs index 3abe88b..237435c 100644 --- a/risc_v/src/test.rs +++ b/risc_v/src/test.rs @@ -30,6 +30,7 @@ pub fn test_block() { unsafe { NEXT_PID += 1; } + satp_fence_asid(my_pid as usize); let mut my_proc= Process { frame: zalloc(1) as *mut TrapFrame, stack: zalloc(STACK_PAGES),