Fixed up some syscalls
authorGabe Black <gblack@eecs.umich.edu>
Fri, 28 Apr 2006 17:12:17 +0000 (13:12 -0400)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 28 Apr 2006 17:12:17 +0000 (13:12 -0400)
--HG--
extra : convert_revision : f9a32e14fa4d4d4710df83dbf54cb77482ba5d03

arch/sparc/linux/process.cc

index ca85a6d2dbc485f47f82ce84cf1afe05b47fa8b5..4818f1fcc74dcaa4d4e2f9a192f9479463142bc7 100644 (file)
@@ -98,7 +98,7 @@ SyscallDesc SparcLinuxProcess::syscallDescs[] = {
     /*  2 */ SyscallDesc("fork", unimplementedFunc),
     /*  3 */ SyscallDesc("read", readFunc),
     /*  4 */ SyscallDesc("write", writeFunc),
-    /*  5 */ SyscallDesc("open", openFunc<Linux>),
+    /*  5 */ SyscallDesc("open", openFunc<SparcLinux>),
     /*  6 */ SyscallDesc("close", closeFunc),
     /*  7 */ SyscallDesc("wait4", unimplementedFunc),
     /*  8 */ SyscallDesc("creat", unimplementedFunc),
@@ -164,9 +164,9 @@ SyscallDesc SparcLinuxProcess::syscallDescs[] = {
     /* 68 */ SyscallDesc("pwrite64", unimplementedFunc),
     /* 69 */ SyscallDesc("geteuid32", unimplementedFunc),
     /* 70 */ SyscallDesc("getdgid32", unimplementedFunc),
-    /* 71 */ SyscallDesc("mmap", unimplementedFunc),
+    /* 71 */ SyscallDesc("mmap", mmapFunc<SparcLinux>),
     /* 72 */ SyscallDesc("setreuid32", unimplementedFunc),
-    /* 73 */ SyscallDesc("munmap", unimplementedFunc),
+    /* 73 */ SyscallDesc("munmap", munmapFunc),
     /* 74 */ SyscallDesc("mprotect", unimplementedFunc),
     /* 75 */ SyscallDesc("madvise", unimplementedFunc),
     /* 76 */ SyscallDesc("vhangup", unimplementedFunc),