diff --git a/kern/arch/mips/syscall/syscall.c b/kern/arch/mips/syscall/syscall.c index 14ff871..b42d9c0 100644 --- a/kern/arch/mips/syscall/syscall.c +++ b/kern/arch/mips/syscall/syscall.c @@ -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: