continue working on correct shell loading

This commit is contained in:
2025-10-01 21:15:26 +03:00
parent 2019f87b14
commit 05fa945421
5 changed files with 23 additions and 6 deletions
+6 -1
View File
@@ -525,6 +525,11 @@ void handle_syscall(TrapFrame *tf)
case 0x2d://brk
tf->eax = sys_brk(tf);
break;
case 0x36://ioctl
debug_log("IOCTL WAS CALLED, FUCKFUCK!!!!\n");
tf->eax = -38;//-ENOSYS
break;
case 0xa2://nanosleep
tf->eax = sys_nanosleep(tf);
@@ -535,4 +540,4 @@ void handle_syscall(TrapFrame *tf)
tf->eax = -1;
break;
}
}
}