From: Gabe Black Date: Wed, 29 Aug 2007 00:34:15 +0000 (-0700) Subject: X86: Hook in an implementation for lseek. X-Git-Tag: m5_2.0_beta4~154 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbab5c9bd33428a8b6b9590c6667c7a3124b67d2;p=gem5.git X86: Hook in an implementation for lseek. --HG-- extra : convert_revision : d2424e73fa8ce56248c4edbda9db2714c4b0a92e --- 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), /* 6 */ SyscallDesc("lstat", unimplementedFunc), /* 7 */ SyscallDesc("poll", unimplementedFunc), - /* 8 */ SyscallDesc("lseek", unimplementedFunc), + /* 8 */ SyscallDesc("lseek", lseekFunc), /* 9 */ SyscallDesc("mmap", mmapFunc), /* 10 */ SyscallDesc("mprotect", unimplementedFunc), /* 11 */ SyscallDesc("munmap", munmapFunc),