使用rust编写中断/异常的入口 (#509)

* 使用rust编写中断/异常的入口
This commit is contained in:
LoGin
2024-02-07 13:29:47 +08:00
committed by GitHub
parent d14e28a8a9
commit f2022a8a1c
28 changed files with 1161 additions and 904 deletions

View File

@ -11,5 +11,5 @@
*/
pid_t waitpid(pid_t pid, int *stat_loc, int options)
{
return (pid_t)enter_syscall_int(SYS_WAIT4, (uint64_t)pid, (uint64_t)stat_loc, options, 0, 0, 0, 0, 0);
return (pid_t)enter_syscall_int(SYS_WAIT4, (uint64_t)pid, (uint64_t)stat_loc, options, 0, 0, 0);
}