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

Function syscall_unmap

source/kernel/syscall.cpp:469–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

467}
468
469static U32 syscall_unmap(CPU* cpu, U32 eipCount) {
470 SYS_LOG1(SYSCALL_MEMORY, cpu, "munmap: address=%X len=%d", ARG1, ARG2);
471 U32 result = cpu->memory->unmap(ARG1, ARG2);
472 SYS_LOG(SYSCALL_MEMORY, cpu, " result=%d(0x%X)\n", result, result);
473 return result;
474}
475
476static U32 syscall_ftruncate(CPU* cpu, U32 eipCount) {
477 SYS_LOG1(SYSCALL_FILE, cpu, "ftruncate: fd=%X len=%d", ARG1, ARG2);

Callers

nothing calls this directly

Calls 1

unmapMethod · 0.80

Tested by

no test coverage detected