https://bugs.winehq.org/show_bug.cgi?id=39565
--- Comment #7 from mazhe@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...