MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / syscall_setitimer

Function syscall_setitimer

source/kernel/syscall.cpp:600–605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598}
599
600static U32 syscall_setitimer(CPU* cpu, U32 eipCount) {
601 SYS_LOG1(SYSCALL_SIGNAL, cpu, "setitimer :which=%d newValue=%d(%d.%.06d) oldValue=%d", ARG1, ARG2, (ARG2?cpu->memory->readd(ARG2+8):0), (ARG2? cpu->memory->readd(ARG2+12):0), ARG3);
602 U32 result = cpu->thread->process->setitimer(ARG1, ARG2, ARG3);
603 SYS_LOG(SYSCALL_SIGNAL, cpu, " result=%d(0x%X)\n", result, result);
604 return result;
605}
606
607static U32 syscall_iopl(CPU* cpu, U32 eipCount) {
608 U32 result = 0;

Callers

nothing calls this directly

Calls 2

setitimerMethod · 0.80
readdMethod · 0.45

Tested by

no test coverage detected