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

Function syscall_mremap

source/kernel/syscall.cpp:879–884  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

877}
878
879static U32 syscall_mremap(CPU* cpu, U32 eipCount) {
880 SYS_LOG1(SYSCALL_MEMORY, cpu, "mremap: oldaddress=%x oldsize=%d newsize=%d flags=%X", ARG1, ARG2, ARG3, ARG4);
881 U32 result = cpu->memory->mremap(cpu->thread, ARG1, ARG2, ARG3, ARG4);
882 SYS_LOG(SYSCALL_MEMORY, cpu, " result=%d(0x%X)\n", result, result);
883 return result;
884}
885
886static U32 syscall_vm86(CPU* cpu, U32 eipCount) {
887 kpanic("Application tried to enter DOS mode (vm86). BoxedWine does not support this.");

Callers

nothing calls this directly

Calls 1

mremapMethod · 0.80

Tested by

no test coverage detected