diff options
author | Michael LeBeane <Michael.Lebeane@amd.com> | 2016-02-13 12:33:07 -0500 |
---|---|---|
committer | Michael LeBeane <Michael.Lebeane@amd.com> | 2016-02-13 12:33:07 -0500 |
commit | 8d923c7380f1d5a1418c1d4b71cd4cfc63429448 (patch) | |
tree | 285c24352dcd930758c4b8eb5d05966213b4fff8 /src/arch/arm/linux | |
parent | c6cede244b431c167ac0213d89ad2bd7a0abbd96 (diff) | |
download | gem5-8d923c7380f1d5a1418c1d4b71cd4cfc63429448.tar.xz |
syscall_emul: Implement clock_getres() system call
This patch implements the clock_getres() system call for arm and x86 in linux
SE mode.
Diffstat (limited to 'src/arch/arm/linux')
-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 89a085002..48aebadc8 100644 --- a/src/arch/arm/linux/process.cc +++ b/src/arch/arm/linux/process.cc @@ -383,7 +383,7 @@ static SyscallDesc syscallDescs32[] = { /* 261 */ SyscallDesc("timer_delete", unimplementedFunc), /* 262 */ SyscallDesc("clock_settime", unimplementedFunc), /* 263 */ SyscallDesc("clock_gettime", clock_gettimeFunc<ArmLinux32>), - /* 264 */ SyscallDesc("clock_getres", unimplementedFunc), + /* 264 */ SyscallDesc("clock_getres", clock_getresFunc<ArmLinux32>), /* 265 */ SyscallDesc("clock_nanosleep", unimplementedFunc), /* 266 */ SyscallDesc("statfs64", unimplementedFunc), /* 267 */ SyscallDesc("fstatfs64", unimplementedFunc), |