kernel32/process: Implement GetLogicalProcessorInformation (rewrite - try 3)

Mike Kaplinskiy mike.kaplinskiy at
Sun Oct 3 18:28:42 CDT 2010

On Sun, Oct 3, 2010 at 10:25 AM, Rudolf Mayerhofer <rm at> wrote:
>>A rewrite of my previously sent patches in order to avoid changing
>>This patch supersedes my previously sent patches:
>>[PATCH1/3] include/winternl: Add Logical Processor Information to
>>[PATCH2/3] kernel32/process: Implement GetLogicalProcessorInformation() (try
> 2)
>>[PATCH3/3] ntdll: Retrieve Logical Processor Information from SysFS (try 4)
> Try 2 removes a FIXME which is not needed.
> Try 3 changes a FIXME to a WARN when an unknown cache type is found
> ---
>  dlls/kernel32/process.c |  272
> ++++++++++++++++++++++++++++++++++++++++++++++-
>  1 files changed, 270 insertions(+), 2 deletions(-)

I don't know much about kernel32/ntdll, but I'm pretty sure that you
could get this to work through ntdll. NtQuerySystemInformation with
SystemProcessorInformation/SystemLogicalProcessorInformation (see
should help.
(read, don't copy) seems to have a pretty exhaustive set of
definitions, but even that's not complete. Some tests for the NT
version would be useful.


More information about the wine-devel mailing list