|
|
@ -29,7 +29,7 @@ pub fn sys_exit(exit_code: i32) -> isize {
|
|
|
|
syscall(SYSCALL_EXIT, [exit_code as usize, 0, 0])
|
|
|
|
syscall(SYSCALL_EXIT, [exit_code as usize, 0, 0])
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pub fn sys_yield() {
|
|
|
|
// pub fn sys_yield() {
|
|
|
|
syscall(SYSCALL_YIELD, [0, 0, 0]);
|
|
|
|
// syscall(SYSCALL_YIELD, [0, 0, 0]);
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|