arch-riscv: Ignore set_robust_list and get_robust_list syscalls
authorTuan Ta <qtt2@cornell.edu>
Sun, 17 Dec 2017 19:22:12 +0000 (14:22 -0500)
committerTuan Ta <qtt2@cornell.edu>
Fri, 5 Jan 2018 15:34:20 +0000 (15:34 +0000)
Change-Id: I5a4744e5aed07337144af9f07978b83405b6695b
Reviewed-on: https://gem5-review.googlesource.com/6902
Reviewed-by: Alec Roelke <ar4jc@virginia.edu>
Maintainer: Alec Roelke <ar4jc@virginia.edu>

src/arch/riscv/linux/process.cc

index 53dbbc289acad50392bdf98cb943cac4fa17c264..4c10efe4550904915f123ccde25a9aa36cd53eb2 100644 (file)
@@ -168,8 +168,8 @@ std::map<int, SyscallDesc> RiscvLinuxProcess::syscallDescs = {
     {96,   SyscallDesc("set_tid_address", setTidAddressFunc)},
     {97,   SyscallDesc("unshare")},
     {98,   SyscallDesc("futex", futexFunc<RiscvLinux>)},
-    {99,   SyscallDesc("set_robust_list")},
-    {100,  SyscallDesc("get_robust_list")},
+    {99,   SyscallDesc("set_robust_list", ignoreFunc, SyscallDesc::WarnOnce)},
+    {100,  SyscallDesc("get_robust_list", ignoreFunc, SyscallDesc::WarnOnce)},
     {101,  SyscallDesc("nanosleep")},
     {102,  SyscallDesc("getitimer")},
     {103,  SyscallDesc("setitimer")},