summaryrefslogtreecommitdiff
path: root/src/arch/x86/linux/syscalls.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-08-28 17:34:15 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-08-28 17:34:15 -0700
commitfbab5c9bd33428a8b6b9590c6667c7a3124b67d2 (patch)
treee04f5a6be5e87bfcea9caf0ad34915889c8ae51c /src/arch/x86/linux/syscalls.cc
parent37f1ff95e0e72931dd38c5b5c7d5fbb1dc5d4f18 (diff)
downloadgem5-fbab5c9bd33428a8b6b9590c6667c7a3124b67d2.tar.xz
X86: Hook in an implementation for lseek.
--HG-- extra : convert_revision : d2424e73fa8ce56248c4edbda9db2714c4b0a92e
Diffstat (limited to 'src/arch/x86/linux/syscalls.cc')
-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 1146af708..11fae96bb 100644
--- a/src/arch/x86/linux/syscalls.cc
+++ b/src/arch/x86/linux/syscalls.cc
@@ -129,7 +129,7 @@ SyscallDesc X86LinuxProcess::syscallDescs[] = {
/* 5 */ SyscallDesc("fstat", fstat64Func<X86Linux64>),
/* 6 */ SyscallDesc("lstat", unimplementedFunc),
/* 7 */ SyscallDesc("poll", unimplementedFunc),
- /* 8 */ SyscallDesc("lseek", unimplementedFunc),
+ /* 8 */ SyscallDesc("lseek", lseekFunc),
/* 9 */ SyscallDesc("mmap", mmapFunc<X86Linux64>),
/* 10 */ SyscallDesc("mprotect", unimplementedFunc),
/* 11 */ SyscallDesc("munmap", munmapFunc),