diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2010-06-02 12:58:17 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2010-06-02 12:58:17 -0500 |
commit | 5d67be7b1e60eeebdc66b213d5e59e83fe10a920 (patch) | |
tree | d1ceaee89c7db7702ebb3be3fbf6939d1a2f42f7 | |
parent | 6e39288be025b4608748d7f5613f6b3af54cc93b (diff) | |
download | gem5-5d67be7b1e60eeebdc66b213d5e59e83fe10a920.tar.xz |
ARM: Implement the getrusage syscall.
-rw-r--r-- | src/arch/arm/linux/process.cc | 2 |
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), |