[Bug 46092] New: Multiple ARM64 apps from Windows 10 SDK (10.0.17763.x) want 'kernel32.GetSystemInfo' support for 'PROCESSOR_ARCHITECTURE_ARM64' ('Unknown processor architecture c')
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Nov 4 14:38:51 CST 2018
https://bugs.winehq.org/show_bug.cgi?id=46092
Bug ID: 46092
Summary: Multiple ARM64 apps from Windows 10 SDK (10.0.17763.x)
want 'kernel32.GetSystemInfo' support for
'PROCESSOR_ARCHITECTURE_ARM64' ('Unknown processor
architecture c')
Product: Wine
Version: 3.19
Hardware: aarch64
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: kernel32
Assignee: wine-bugs at winehq.org
Reporter: focht at gmx.net
Distribution: ---
Hello folks,
as it says.
Encountered while playing with some 64-bit ARM apps from Win10 SDK (running in
qemuarm64 machine). Not a blocker but still might be useful for more complete
aarch64 Wine support.
--- snip ---
win10sdk-install/Windows Kits/10/Debuggers/arm64$
WINEDEBUG=+seh,+loaddll,+process WINEDLLOVERRIDES=dbgeng=n wine64 ./cdb.exe
...
0009:trace:loaddll:load_native_dll Loaded
L"Z:\\home\\focht\\projects\\wine\\win10sdk-install\\Windows
Kits\\10\\Debuggers\\arm64\\cdb.exe" at 0x140000000: native
...
0029:fixme:ver:GetFileVersionInfoSizeExW flags 0x2 ignored
Microsoft (R) Windows Debugger Version 10.0.17763.1 ARM64
Copyright (c) Microsoft Corporation. All rights reserved.
0029:fixme:ver:GetFileVersionInfoExW flags 0x2 ignored
0009:fixme:reg:GetSystemInfo Unknown processor architecture c
0009:fixme:reg:GetSystemInfo Unknown processor architecture c
0029:trace:loaddll:free_modref Unloaded module
L"C:\\windows\\system32\\api-ms-win-core-version-l1-1-0.dll" : builtin
Failed to open \\.\com1
Kernel debugger failed initialization, Win32 error 0n2
"File not found."
--- snip ---
0xC = 12 -> PROCESSOR_ARCHITECTURE_ARM64
Wine source:
https://source.winehq.org/git/wine.git/blob/HEAD:/dlls/kernel32/cpu.c#l104
--- snip ---
104 VOID WINAPI GetSystemInfo(
105 LPSYSTEM_INFO si /* [out] Destination for system
information, may not be NULL */)
106 {
107 NTSTATUS nts;
108 SYSTEM_CPU_INFORMATION sci;
109
110 TRACE("si=0x%p\n", si);
111
112 if ((nts = NtQuerySystemInformation( SystemCpuInformation, &sci,
sizeof(sci), NULL )) != STATUS_SUCCESS)
113 {
114 SetLastError(RtlNtStatusToDosError(nts));
115 return;
116 }
...
153 case PROCESSOR_ARCHITECTURE_ARM:
154 switch (sci.Level)
155 {
156 case 4: si->dwProcessorType = PROCESSOR_ARM_7TDMI; break;
157 default: si->dwProcessorType = PROCESSOR_ARM920;
158 }
159 break;
160 default:
161 FIXME("Unknown processor architecture %x\n", sci.Architecture);
162 si->dwProcessorType = 0;
163 }
164 si->dwAllocationGranularity = system_info.AllocationGranularity;
165 si->wProcessorLevel = sci.Level;
166 si->wProcessorRevision = sci.Revision;
167 }
--- snip ---
$ sha1sum 17763.1.180914-1434.rs5_release_WindowsSDK.iso
e702b5e5f2597d01eaee1eb1be7a34b0da0b6211
17763.1.180914-1434.rs5_release_WindowsSDK.iso
$ du -sh 17763.1.180914-1434.rs5_release_WindowsSDK.iso
815M 17763.1.180914-1434.rs5_release_WindowsSDK.iso
$ wine64 --version
wine-3.19-117-g4852130c82
Regards
--
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