# HG changeset patch
# User [email protected]
# Date 1254980827 14400
# Node ID 325da4c44f5760481c6da1133406e8ffb52a3778
# Parent  8b3818b0b34c6ce3e645878b5335d8ee36f2ecd3
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.

diff -r 8b3818b0b34c -r 325da4c44f57 src/arch/x86/linux/syscalls.cc
--- a/src/arch/x86/linux/syscalls.cc    Tue Oct 06 20:54:04 2009 -0400
+++ b/src/arch/x86/linux/syscalls.cc    Thu Oct 08 01:47:07 2009 -0400
@@ -598,7 +598,7 @@
     /*  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),
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to