mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 05:27:43 +00:00
Stub out a bunch more functions to get closer to that sweet bash build.
This commit is contained in:
parent
e48182d91b
commit
f394e3486a
14 changed files with 114 additions and 1 deletions
|
@ -173,6 +173,12 @@ static DWORD handle(RegisterDump& regs, DWORD function, DWORD arg1, DWORD arg2,
|
|||
return current->sys$alarm((unsigned)arg1);
|
||||
case Syscall::SC_access:
|
||||
return current->sys$access((const char*)arg1, (int)arg2);
|
||||
case Syscall::SC_fcntl:
|
||||
return current->sys$fcntl((int)arg1, (int)arg2, (dword)arg3);
|
||||
case Syscall::SC_tcgetattr:
|
||||
return current->sys$tcgetattr((int)arg1, (Unix::termios*)arg2);
|
||||
case Syscall::SC_tcsetattr:
|
||||
return current->sys$tcsetattr((int)arg1, (int)arg2, (const Unix::termios*)arg3);
|
||||
default:
|
||||
kprintf("<%u> int0x80: Unknown function %x requested {%x, %x, %x}\n", current->pid(), function, arg1, arg2, arg3);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue