mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 09:47:35 +00:00
UserspaceEmulator: Fail sys$map_time_page() with ENOSYS for now
This allows LibC to fall back to sys$clock_gettime() until we can add support for the kernel time page to UserspaceEmulator.
This commit is contained in:
parent
fdfc66db61
commit
02f9ffeb7f
1 changed files with 2 additions and 0 deletions
|
@ -247,6 +247,8 @@ u32 Emulator::virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3)
|
||||||
return virt$msyscall(arg1);
|
return virt$msyscall(arg1);
|
||||||
case SC_futex:
|
case SC_futex:
|
||||||
return virt$futex(arg1);
|
return virt$futex(arg1);
|
||||||
|
case SC_map_time_page:
|
||||||
|
return -ENOSYS;
|
||||||
default:
|
default:
|
||||||
reportln("\n=={}== \033[31;1mUnimplemented syscall: {}\033[0m, {:p}", getpid(), Syscall::to_string((Syscall::Function)function), function);
|
reportln("\n=={}== \033[31;1mUnimplemented syscall: {}\033[0m, {:p}", getpid(), Syscall::to_string((Syscall::Function)function), function);
|
||||||
dump_backtrace();
|
dump_backtrace();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue