|
@@ -243,6 +243,10 @@ static dword handle(RegisterDump& regs, dword function, dword arg1, dword arg2,
|
|
|
return current->process().sys$create_thread((int(*)(void*))arg1, (void*)arg2);
|
|
|
case Syscall::SC_rename:
|
|
|
return current->process().sys$rename((const char*)arg1, (const char*)arg2);
|
|
|
+ case Syscall::SC_shm_open:
|
|
|
+ return current->process().sys$shm_open((const char*)arg1, (int)arg2, (mode_t)arg3);
|
|
|
+ case Syscall::SC_shm_close:
|
|
|
+ return current->process().sys$shm_unlink((const char*)arg1);
|
|
|
default:
|
|
|
kprintf("<%u> int0x82: Unknown function %u requested {%x, %x, %x}\n", current->process().pid(), function, arg1, arg2, arg3);
|
|
|
break;
|