[Bug 39565] World of Warships: working in GNU/Linux (Devuan), but not FreeBSD: out of memory?
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Oct 28 03:42:08 CDT 2017
https://bugs.winehq.org/show_bug.cgi?id=39565
--- Comment #7 from mazhe at alkumuna.eu ---
Created attachment 59576
--> https://bugs.winehq.org/attachment.cgi?id=59576
Very crude start of proposal patch to implement create_logical_proc_info() on
FreeBSD
Ok, I've been working quite a bit on this one, the issue is that
create_logical_proc_info() in dlls/ntdll/nt.c is not implemented for freebsd.
Most of the topology info can be retrieved by the kern.sched.topology_spec
sysctl, but getting cache info is not provided by any basic API.
I thought of using the cpuid assembly function, but the one already implemented
in nt.c do not work well with the {0x4, 0x0, 0xi, 0x0} command, using the
(functionnaly) same functino from hwloc however gave me a working example.
I'll still attach a WIP patch for the record...
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list