continue working on correct shell loading
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user