ntdll: Enable wow64 on ARM64.

This commit is contained in:
André Hentschel 2015-05-07 23:37:44 +02:00 committed by Alexandre Julliard
parent fc1dc66865
commit f78bd7f4d9
2 changed files with 4 additions and 3 deletions

View file

@ -419,12 +419,13 @@ NTSTATUS WINAPI NtQueryInformationProcess(
ULONG_PTR val = 0;
if (ProcessHandle == GetCurrentProcess()) val = is_wow64;
else if (server_cpus & (1 << CPU_x86_64))
else if (server_cpus & ((1 << CPU_x86_64) | (1 << CPU_ARM64)))
{
SERVER_START_REQ( get_process_info )
{
req->handle = wine_server_obj_handle( ProcessHandle );
if (!(ret = wine_server_call( req ))) val = (reply->cpu != CPU_x86_64);
if (!(ret = wine_server_call( req )))
val = (reply->cpu != CPU_x86_64 && reply->cpu != CPU_ARM64);
}
SERVER_END_REQ;
}

View file

@ -1503,7 +1503,7 @@ size_t server_init_thread( void *entry_point )
}
SERVER_END_REQ;
is_wow64 = !is_win64 && (server_cpus & (1 << CPU_x86_64)) != 0;
is_wow64 = !is_win64 && (server_cpus & ((1 << CPU_x86_64) | (1 << CPU_ARM64))) != 0;
ntdll_get_thread_data()->wow64_redir = is_wow64;
switch (ret)