1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-24 02:16:19 +04:00

Added satp_fence. Probably don't need this since we don't reuse pids.

This commit is contained in:
Stephen Marz 2020-04-25 21:44:05 -04:00
parent eab4a20a61
commit f771883cb0

View File

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