X86: Install the 32 bit write system call.
authorGabe Black <gblack@eecs.umich.edu>
Fri, 27 Feb 2009 17:26:32 +0000 (09:26 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 27 Feb 2009 17:26:32 +0000 (09:26 -0800)
src/arch/x86/linux/syscalls.cc

index 7969f2e41fdca0da30d09413ae23d135f54bd053..ce4726634e40679a034f966b920005e595b302c9 100644 (file)
@@ -508,7 +508,7 @@ SyscallDesc I386LinuxProcess::syscallDescs[] = {
     /*   1 */ SyscallDesc("exit", unimplementedFunc),
     /*   2 */ SyscallDesc("fork", unimplementedFunc),
     /*   3 */ SyscallDesc("read", unimplementedFunc),
-    /*   4 */ SyscallDesc("write", unimplementedFunc),
+    /*   4 */ SyscallDesc("write", writeFunc),
     /*   5 */ SyscallDesc("open", openFunc<X86Linux64>),
     /*   6 */ SyscallDesc("close", unimplementedFunc),
     /*   7 */ SyscallDesc("waitpid", unimplementedFunc),