summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2010-06-02 12:58:17 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2010-06-02 12:58:17 -0500
commit5d67be7b1e60eeebdc66b213d5e59e83fe10a920 (patch)
treed1ceaee89c7db7702ebb3be3fbf6939d1a2f42f7
parent6e39288be025b4608748d7f5613f6b3af54cc93b (diff)
downloadgem5-5d67be7b1e60eeebdc66b213d5e59e83fe10a920.tar.xz
ARM: Implement the getrusage syscall.
-rw-r--r--src/arch/arm/linux/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm/linux/process.cc b/src/arch/arm/linux/process.cc
index 7a5e9da56..a5779d307 100644
--- a/src/arch/arm/linux/process.cc
+++ b/src/arch/arm/linux/process.cc
@@ -141,7 +141,7 @@ SyscallDesc ArmLinuxProcess::syscallDescs[] = {
/* 74 */ SyscallDesc("sethostname", ignoreFunc),
/* 75 */ SyscallDesc("setrlimit", unimplementedFunc),
/* 76 */ SyscallDesc("getrlimit", unimplementedFunc),
- /* 77 */ SyscallDesc("getrusage", unimplementedFunc),
+ /* 77 */ SyscallDesc("getrusage", getrusageFunc<ArmLinux>),
/* 78 */ SyscallDesc("gettimeofday", unimplementedFunc),
/* 79 */ SyscallDesc("settimeofday", unimplementedFunc),
/* 80 */ SyscallDesc("getgroups", unimplementedFunc),