summaryrefslogtreecommitdiff
path: root/src/arch/x86/linux
diff options
context:
space:
mode:
authorMichael LeBeane <Michael.Lebeane@amd.com>2016-02-13 12:33:07 -0500
committerMichael LeBeane <Michael.Lebeane@amd.com>2016-02-13 12:33:07 -0500
commit8d923c7380f1d5a1418c1d4b71cd4cfc63429448 (patch)
tree285c24352dcd930758c4b8eb5d05966213b4fff8 /src/arch/x86/linux
parentc6cede244b431c167ac0213d89ad2bd7a0abbd96 (diff)
downloadgem5-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/x86/linux')
-rw-r--r--src/arch/x86/linux/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc
index 5bb237c10..9651f7436 100644
--- a/src/arch/x86/linux/process.cc
+++ b/src/arch/x86/linux/process.cc
@@ -447,7 +447,7 @@ static SyscallDesc syscallDescs64[] = {
/* 226 */ SyscallDesc("timer_delete", unimplementedFunc),
/* 227 */ SyscallDesc("clock_settime", unimplementedFunc),
/* 228 */ SyscallDesc("clock_gettime", clock_gettimeFunc<X86Linux64>),
- /* 229 */ SyscallDesc("clock_getres", unimplementedFunc),
+ /* 229 */ SyscallDesc("clock_getres", clock_getresFunc<X86Linux64>),
/* 230 */ SyscallDesc("clock_nanosleep", unimplementedFunc),
/* 231 */ SyscallDesc("exit_group", exitGroupFunc),
/* 232 */ SyscallDesc("epoll_wait", unimplementedFunc),