From: Tuan Ta Date: Fri, 15 Dec 2017 21:07:05 +0000 (-0500) Subject: arch-riscv: Add an implementation of set_tid_address syscall in RISCV X-Git-Tag: v19.0.0.0~2405 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d100c3fd9507713733d325f594ea672a1c84f43;p=gem5.git 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 Maintainer: Alec Roelke --- 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 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)}, {99, SyscallDesc("set_robust_list")},