summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Ta <qtt2@cornell.edu>2017-12-17 14:22:12 -0500
committerTuan Ta <qtt2@cornell.edu>2018-01-05 15:34:20 +0000
commitba4d3df43c74613ca5381b9ecc4a7479b1de9c68 (patch)
tree30538e3a41de75f04bf5b9a09afab561ff5978f8
parent0d100c3fd9507713733d325f594ea672a1c84f43 (diff)
downloadgem5-ba4d3df43c74613ca5381b9ecc4a7479b1de9c68.tar.xz
arch-riscv: Ignore set_robust_list and get_robust_list syscalls
Change-Id: I5a4744e5aed07337144af9f07978b83405b6695b Reviewed-on: https://gem5-review.googlesource.com/6902 Reviewed-by: Alec Roelke <ar4jc@virginia.edu> Maintainer: Alec Roelke <ar4jc@virginia.edu>
-rw-r--r--src/arch/riscv/linux/process.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/riscv/linux/process.cc b/src/arch/riscv/linux/process.cc
index 53dbbc289..4c10efe45 100644
--- a/src/arch/riscv/linux/process.cc
+++ b/src/arch/riscv/linux/process.cc
@@ -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")},