Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f78bd7f4
Commit
f78bd7f4
authored
May 07, 2015
by
André Hentschel
Committed by
Alexandre Julliard
May 08, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Enable wow64 on ARM64.
parent
fc1dc668
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
process.c
dlls/ntdll/process.c
+3
-2
server.c
dlls/ntdll/server.c
+1
-1
No files found.
dlls/ntdll/process.c
View file @
f78bd7f4
...
...
@@ -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
;
}
...
...
dlls/ntdll/server.c
View file @
f78bd7f4
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment