Linux: Expose support for v6.8

The new syscalls for futexes are the most interesting part
This commit is contained in:
Ryan Houdek committed 2024-03-10 15:48:55 -07:00
1 parent 9ec20c4bef
commit d8202335e0
1 file changed
+2 -2
@@ -774,8 +774,8 @@ uint32_t SyscallHandler::CalculateHostKernelVersion() {
}
uint32_t SyscallHandler::CalculateGuestKernelVersion() {
// We currently only emulate a kernel between the ranges of Kernel 5.0.0 and 6.6.0
return std::max(KernelVersion(5, 0), std::min(KernelVersion(6, 6), GetHostKernelVersion()));
// We currently only emulate a kernel between the ranges of Kernel 5.0.0 and 6.8.0
return std::max(KernelVersion(5, 0), std::min(KernelVersion(6, 8), GetHostKernelVersion()));
}
uint64_t SyscallHandler::HandleSyscall(FEXCore::Core::CpuStateFrame *Frame, FEXCore::HLE::SyscallArguments *Args) {