summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Ta <qtt2@cornell.edu>2017-12-15 16:07:05 -0500
committerTuan Ta <qtt2@cornell.edu>2018-01-05 15:34:20 +0000
commit0d100c3fd9507713733d325f594ea672a1c84f43 (patch)
treecd581e39e689ebae2a4732dcb0d0513e589a984d
parentb001475a1ff5d4693f4d8b9063b3d602f7dd8043 (diff)
downloadgem5-0d100c3fd9507713733d325f594ea672a1c84f43.tar.xz
arch-riscv: Add an implementation of set_tid_address syscall in RISCV
Change-Id: Ida29ea6f6a9c3efe00aaebbfcb6b537fc62f6d06 Reviewed-on: https://gem5-review.googlesource.com/6901 Reviewed-by: Alec Roelke <ar4jc@virginia.edu> Maintainer: Alec Roelke <ar4jc@virginia.edu>
-rw-r--r--src/arch/riscv/linux/process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/riscv/linux/process.cc b/src/arch/riscv/linux/process.cc
index 1749aa8b6..53dbbc289 100644
--- a/src/arch/riscv/linux/process.cc
+++ b/src/arch/riscv/linux/process.cc
@@ -165,7 +165,7 @@ std::map<int, SyscallDesc> RiscvLinuxProcess::syscallDescs = {
{93, SyscallDesc("exit", exitFunc)},
{94, SyscallDesc("exit_group", exitGroupFunc)},
{95, SyscallDesc("waitid")},
- {96, SyscallDesc("set_tid_address")},
+ {96, SyscallDesc("set_tid_address", setTidAddressFunc)},
{97, SyscallDesc("unshare")},
{98, SyscallDesc("futex", futexFunc<RiscvLinux>)},
{99, SyscallDesc("set_robust_list")},