projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b181fc
)
Hook up the munmap() syscall for 32-bit x86.
author
Vince Weaver
<vince@csl.cornell.edu>
Sun, 11 Oct 2009 05:31:56 +0000
(22:31 -0700)
committer
Vince Weaver
<vince@csl.cornell.edu>
Sun, 11 Oct 2009 05:31:56 +0000
(22:31 -0700)
This is straightforward, as munmapFunc() doesn't do anything.
I've tested it with code running munmap() just in case.
src/arch/x86/linux/syscalls.cc
patch
|
blob
|
history
diff --git
a/src/arch/x86/linux/syscalls.cc
b/src/arch/x86/linux/syscalls.cc
index 52352ee807a541613e6f4572c852ee3453b0e7c3..affe2d6ea29ddb70c891b31a6d4fbbc0cf0d8f0d 100644
(file)
--- a/
src/arch/x86/linux/syscalls.cc
+++ b/
src/arch/x86/linux/syscalls.cc
@@
-598,7
+598,7
@@
SyscallDesc I386LinuxProcess::syscallDescs[] = {
/* 88 */ SyscallDesc("reboot", unimplementedFunc),
/* 89 */ SyscallDesc("readdir", unimplementedFunc),
/* 90 */ SyscallDesc("mmap", unimplementedFunc),
- /* 91 */ SyscallDesc("munmap",
unimplemented
Func),
+ /* 91 */ SyscallDesc("munmap",
munmap
Func),
/* 92 */ SyscallDesc("truncate", unimplementedFunc),
/* 93 */ SyscallDesc("ftruncate", unimplementedFunc),
/* 94 */ SyscallDesc("fchmod", unimplementedFunc),