Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
40e1000f
Commit
40e1000f
authored
Mar 02, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernelbase: Use the correct machine type for ARM.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fa23ffd2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
process.c
dlls/kernel32/tests/process.c
+2
-2
process.c
dlls/kernelbase/process.c
+1
-1
No files found.
dlls/kernel32/tests/process.c
View file @
40e1000f
...
...
@@ -2187,9 +2187,9 @@ static void test_IsWow64Process2(void)
#elif defined __x86_64__
USHORT
expect_native
=
IMAGE_FILE_MACHINE_AMD64
;
#elif defined __arm__
USHORT
expect_native
=
IMAGE_FILE_MACHINE_ARM
;
USHORT
expect_native
=
IMAGE_FILE_MACHINE_ARM
NT
;
#elif defined __aarch64__
USHORT
expect_native
=
IMAGE_FILE_MACHINE_ARM
;
USHORT
expect_native
=
IMAGE_FILE_MACHINE_ARM
64
;
#else
USHORT
expect_native
=
0
;
#endif
...
...
dlls/kernelbase/process.c
View file @
40e1000f
...
...
@@ -1002,7 +1002,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH IsWow64Process2( HANDLE process, USHORT *machine,
*
native_machine
=
IMAGE_FILE_MACHINE_I386
;
break
;
case
PROCESSOR_ARCHITECTURE_ARM
:
*
native_machine
=
IMAGE_FILE_MACHINE_ARM
;
*
native_machine
=
IMAGE_FILE_MACHINE_ARM
NT
;
break
;
case
PROCESSOR_ARCHITECTURE_AMD64
:
*
native_machine
=
IMAGE_FILE_MACHINE_AMD64
;
...
...
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