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),