summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVince Weaver <vince@csl.cornell.edu>2009-10-20 16:48:00 -0400
committerVince Weaver <vince@csl.cornell.edu>2009-10-20 16:48:00 -0400
commit5b6f707a008b4312fd02a4383bf107adfa677d33 (patch)
tree391dfbcb50157a8c0f01bb9ac94b61dcc15d7c11
parent2b473cb099ad64030a103ee4292e2247f7a3e817 (diff)
downloadgem5-5b6f707a008b4312fd02a4383bf107adfa677d33.tar.xz
hook up stat syscall on 64-bit x86_SE
-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 40f70c3fb..14b3fa69b 100644
--- a/src/arch/x86/linux/syscalls.cc
+++ b/src/arch/x86/linux/syscalls.cc
@@ -232,7 +232,7 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = {
/* 1 */ SyscallDesc("write", writeFunc),
/* 2 */ SyscallDesc("open", openFunc<X86Linux64>),
/* 3 */ SyscallDesc("close", closeFunc),
- /* 4 */ SyscallDesc("stat", unimplementedFunc),
+ /* 4 */ SyscallDesc("stat", stat64Func<X86Linux64>),
/* 5 */ SyscallDesc("fstat", fstat64Func<X86Linux64>),
/* 6 */ SyscallDesc("lstat", unimplementedFunc),
/* 7 */ SyscallDesc("poll", unimplementedFunc),