projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b001475
)
arch-riscv: Add an implementation of set_tid_address syscall in RISCV
author
Tuan Ta
<qtt2@cornell.edu>
Fri, 15 Dec 2017 21:07:05 +0000
(16:07 -0500)
committer
Tuan Ta
<qtt2@cornell.edu>
Fri, 5 Jan 2018 15:34:20 +0000
(15:34 +0000)
Change-Id: Ida29ea6f6a9c3efe00aaebbfcb6b537fc62f6d06
Reviewed-on: https://gem5-review.googlesource.com/6901
Reviewed-by: Alec Roelke <ar4jc@virginia.edu>
Maintainer: Alec Roelke <ar4jc@virginia.edu>
src/arch/riscv/linux/process.cc
patch
|
blob
|
history
diff --git
a/src/arch/riscv/linux/process.cc
b/src/arch/riscv/linux/process.cc
index 1749aa8b67b2de1517e2999e59effbf971bf2804..53dbbc289acad50392bdf98cb943cac4fa17c264 100644
(file)
--- 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")},