summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-02-27 09:26:32 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-02-27 09:26:32 -0800
commit9265b3d598b5c394ed3f0f79affba7e64b171dc6 (patch)
tree25096807470f4ad9956c2730316453a6256ff15b /src
parentb36f28472d4e28263f4d2e3f6b3e88c9fa350ca1 (diff)
downloadgem5-9265b3d598b5c394ed3f0f79affba7e64b171dc6.tar.xz
X86: Install the 32 bit write system call.
Diffstat (limited to 'src')
-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 7969f2e41..ce4726634 100644
--- a/src/arch/x86/linux/syscalls.cc
+++ b/src/arch/x86/linux/syscalls.cc
@@ -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),