impl SYS__exit

This commit is contained in:
2024-09-12 13:08:12 -04:00
parent fd85db0e00
commit 4db0a014cd

View File

@@ -105,6 +105,11 @@ void syscall(struct trapframe *tf) {
err = sys___time((userptr_t)tf->tf_a0, (userptr_t)tf->tf_a1);
break;
case SYS__exit:
err = 0;
thread_exit();
break;
/* Add stuff here */
default: