kernel32: cpu: Detect AMD 64bit CPUs

Kornél Pál kornelpal at gmail.com
Tue Dec 11 06:16:08 CST 2007


Hi,

I think GetSystemInfo should return x86 even on x64 when running 32-bit 
applications just like a 32-bit Windows or WOW64 does. But 
GetNativeSystemInfo could return the actual 64-bit CPU altough I'm not sure 
that it makes any sense without WOW64.

Kornél

----- Original Message ----- 
From: "Alexander Nicolaysen Sørnes" <alex at thehandofagony.com>
To: "Alexandre Julliard" <julliard at winehq.org>; <wine-devel at winehq.org>
Sent: Tuesday, December 11, 2007 12:14 PM
Subject: Re: kernel32: cpu: Detect AMD 64bit CPUs


> On Tuesday 11 December 2007 12:08:29 you wrote:
>> Alexander Nicolaysen Sørnes <alex at thehandofagony.com> writes:
>> > kernel32: cpu: Detect AMD 64bit CPUs
>>
>> Are you really supposed to return a 64bit CPU in 32-bit mode?  Do you
>> have a test case?
>
>
> It only identifies the model as an AMD x86 64bit CPU, so it doesn't imply 
> that
> the Windows version is 64 bit.
> I don't have such a CPU myself; it was a fix for bug 10742
> (http://bugs.winehq.org/show_bug.cgi?id=10742)
>
>
>
>
> Alexander
>
>
> 




More information about the wine-devel mailing list