Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xing Lin
qemu
Commits
14ae3ba7
Commit
14ae3ba7
authored
May 27, 2003
by
bellard
Browse files
mmap2 fix
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@190
c046a42c-6fe2-441c-8c8c-71466251a162
parent
5a91de8c
Changes
1
Show whitespace changes
Inline
Side-by-side
linux-user/syscall.c
View file @
14ae3ba7
...
@@ -1753,7 +1753,8 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
...
@@ -1753,7 +1753,8 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
#else
#else
case
TARGET_NR_mmap
:
case
TARGET_NR_mmap
:
#endif
#endif
ret
=
get_errno
(
target_mmap
(
arg1
,
arg2
,
arg3
,
arg4
,
arg5
,
arg6
));
ret
=
get_errno
(
target_mmap
(
arg1
,
arg2
,
arg3
,
arg4
,
arg5
,
arg6
<<
TARGET_PAGE_BITS
));
break
;
break
;
case
TARGET_NR_munmap
:
case
TARGET_NR_munmap
:
ret
=
get_errno
(
target_munmap
(
arg1
,
arg2
));
ret
=
get_errno
(
target_munmap
(
arg1
,
arg2
));
...
...
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