http://bugs.winehq.org/show_bug.cgi?id=31347
Bug #: 31347 Summary: Windows Performance Toolkit "xperf.exe" tool for Windows on ARM (WoA) needs KERNEL32.dll.ResolveDelayLoadedAPI Product: Wine Version: 1.5.9 Platform: arm OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net Classification: Unclassified
Hello,
the "Windows Assessment and Deployment Kit (ADK) for Windows 8 Preview" contains "Windows Performance Toolkit" that has an MSI installer for ARM = more toys to play with ;-)
Probably also present in the x86 and x64 version of the toolkit (targeting Windows 8) but ARM is currently more interesting for me ;-)
--- snip --- $ pwd /home/linaro/.wine/drive_c/Windows Kits/8.0/Windows Performance Toolkit
$ wine ./xperf.exe fixme:heap:HeapSetInformation (nil) 1 (nil) 0 wine: Call from 0x4042c7fc to unimplemented function KERNEL32.dll.ResolveDelayLoadedAPI, aborting wine: Unimplemented function KERNEL32.dll.ResolveDelayLoadedAPI called at address 0x4042c7fc (thread 0009), starting debugger... Unhandled exception: unimplemented function KERNEL32.dll.ResolveDelayLoadedAPI called in 32-bit code (0x4042c7fc). Register dump: ARM User Mode Pc:4042c7fc Sp:40d5fbe8 Lr:4042c7fc Cpsr:600f0010(-ZC-) r0:40d5fbf4 r1:430fc4 r2:42ac23 r3:40d5fbf4 r4:42d6a0 r5:42d8d4 r6:408f4380 r7:40d5fce0 r8:0001 r9:401268 r10:400a6000 Fp:40d5fc44 Ip:42f570 Stack dump: 0x40d5fbe8: 40d5fc04 40d5fc58 40d5fc04 00000043 0x40d5fbf8: 40d5fbf4 00430fc4 0042ac23 40d5fbf4 0x40d5fc08: 0042d6a0 0042d8d4 408f4380 40d5fce0 0x40d5fc18: 00000001 00401268 400a6000 40d5fc44 0x40d5fc28: 0042f570 40d5fbe8 4042c7fc 4042c7fc 0x40d5fc38: 600f0010 40488298 40d5fcac 403f4910 Backtrace: =>0 0x4042c7fc RtlRaiseException+0x1c(rec=0x40d5fc58) [/home/linaro/projects/wine/wine-git/dlls/ntdll/signal_arm.c:929] in ntdll (0x40d5fc44) 1 0x4042c7fc RtlRaiseException+0x1b(rec=0x42fc44) [/home/linaro/projects/wine/wine-git/dlls/ntdll/signal_arm.c:928] in ntdll (0x40d5fcac) 2 0x403f4910 stub_entry_point+0x5f(dll=0x0(nil), name=*** invalid address 0x1 ***, ret_addr=0x80000100) [/home/linaro/projects/wine/wine-git/dlls/ntdll/loader.c:197] in ntdll (0x40d5fcb8) 3 0x0042ac23 in xperf (+0x2ac22) (0x00000000) 4 0x40d5fdb8 (0x00000000) 0x4042c7fc RtlRaiseException+0x1c [/home/linaro/projects/wine/wine-git/dlls/ntdll/signal_arm.c:929] in ntdll: ldr r3, [fp, #-16] 929 rec->ExceptionAddress = (LPVOID)context.Pc; Modules: Module Address Debug info Name (62 modules) ELF 8000- 12000 Deferred <wine-loader> PE 400000- 45e000 Export xperf PE 10000000-10046000 Deferred perfctrl ... process tid prio (all id:s are in hex) 00000008 (D) C:\Windows Kits\8.0\Windows Performance Toolkit\xperf.exe 00000009 0 <== ... System information: Wine build: wine-1.5.9-267-g8f108a0 Platform: arm Host system: Linux Host version: 3.2.0 --- snip ---
The API is documented in MSDN: http://msdn.microsoft.com/en-us/library/hh829881%28v=vs.85%29.aspx (probably part of Windows 8).
There is no documentation that tells which part of win32 API is actually implemented/available for Windows on ARM.
The more installers/PE binaries for ARM one can find the better we know. If you know of any ARM apps for download, targeting WoA - bring it on, I'd be happy to have a look at ;-)
Regards