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
269600bb
Commit
269600bb
authored
Nov 25, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 25, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Make 64-bits wine only able to load amd64 binaries.
parent
1fcc3345
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
virtual.c
dlls/ntdll/virtual.c
+5
-0
No files found.
dlls/ntdll/virtual.c
View file @
269600bb
...
...
@@ -1038,13 +1038,18 @@ static NTSTATUS map_image( HANDLE hmapping, int fd, char *base, SIZE_T total_siz
/* check the architecture */
#ifdef __x86_64__
if
(
nt
->
FileHeader
.
Machine
!=
IMAGE_FILE_MACHINE_AMD64
)
#else
if
(
nt
->
FileHeader
.
Machine
!=
IMAGE_FILE_MACHINE_I386
)
#endif
{
MESSAGE
(
"Trying to load PE image for unsupported architecture ("
);
switch
(
nt
->
FileHeader
.
Machine
)
{
case
IMAGE_FILE_MACHINE_UNKNOWN
:
MESSAGE
(
"Unknown"
);
break
;
case
IMAGE_FILE_MACHINE_I860
:
MESSAGE
(
"I860"
);
break
;
case
IMAGE_FILE_MACHINE_I386
:
MESSAGE
(
"I386"
);
break
;
case
IMAGE_FILE_MACHINE_R3000
:
MESSAGE
(
"R3000"
);
break
;
case
IMAGE_FILE_MACHINE_R4000
:
MESSAGE
(
"R4000"
);
break
;
case
IMAGE_FILE_MACHINE_R10000
:
MESSAGE
(
"R10000"
);
break
;
...
...
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