impl SYS__exit
This commit is contained in:
parent
fd85db0e00
commit
4db0a014cd
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user