tasking: a small cleanup
This commit is contained in:
@@ -49,11 +49,10 @@ const char* flags_to_mode_str(int flags) {
|
||||
int sys_exit(TrapFrame *tf)
|
||||
{
|
||||
int error_code = tf->ebx;
|
||||
printf("killing task\n");
|
||||
debug_log("killing task\n");
|
||||
task_kill(current);
|
||||
asm("sti");
|
||||
while(1){}
|
||||
printf("wtf??");
|
||||
return error_code;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user