summaryrefslogtreecommitdiff
path: root/src/arch/x86/linux
diff options
context:
space:
mode:
authorVince Weaver <vince@csl.cornell.edu>2009-10-10 22:31:56 -0700
committerVince Weaver <vince@csl.cornell.edu>2009-10-10 22:31:56 -0700
commit30a185dcd04cc7797609398219482d03a68509f9 (patch)
tree910a9bb7d7db92f8ba8ff5e5af7ef81751c959ab /src/arch/x86/linux
parent2b181fc3e7244fcfc169428827f0baf0fde03895 (diff)
downloadgem5-30a185dcd04cc7797609398219482d03a68509f9.tar.xz
Hook up the munmap() syscall for 32-bit x86.
This is straightforward, as munmapFunc() doesn't do anything. I've tested it with code running munmap() just in case.
Diffstat (limited to 'src/arch/x86/linux')
-rw-r--r--src/arch/x86/linux/syscalls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/linux/syscalls.cc b/src/arch/x86/linux/syscalls.cc
index 52352ee80..affe2d6ea 100644
--- 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", unimplementedFunc),
+ /* 91 */ SyscallDesc("munmap", munmapFunc),
/* 92 */ SyscallDesc("truncate", unimplementedFunc),
/* 93 */ SyscallDesc("ftruncate", unimplementedFunc),
/* 94 */ SyscallDesc("fchmod", unimplementedFunc),