tasking: a small cleanup

This commit is contained in:
2025-06-23 00:36:07 +03:00
parent c047dd687b
commit 29de6e6f43
4 changed files with 4 additions and 34 deletions
+1 -2
View File
@@ -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;
}