projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f665a
)
arch-riscv: Ignore sched_yield syscall in SE mode
author
Tuan Ta
<qtt2@cornell.edu>
Sat, 23 Dec 2017 01:10:46 +0000
(20:10 -0500)
committer
Tuan Ta
<qtt2@cornell.edu>
Fri, 5 Jan 2018 15:34:20 +0000
(15:34 +0000)
Change-Id: I14f22c06eb8fdbe063980b4cd0a49387b9113a97
Reviewed-on: https://gem5-review.googlesource.com/6961
Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Reviewed-by: 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 4c10efe4550904915f123ccde25a9aa36cd53eb2..0f540af9d0bf75f118838d3145fb703a8b9765fa 100644
(file)
--- a/
src/arch/riscv/linux/process.cc
+++ b/
src/arch/riscv/linux/process.cc
@@
-193,7
+193,7
@@
std::map<int, SyscallDesc> RiscvLinuxProcess::syscallDescs = {
{121, SyscallDesc("sched_getparam")},
{122, SyscallDesc("sched_setaffinity")},
{123, SyscallDesc("sched_getaffinity")},
- {124, SyscallDesc("sched_yield")},
+ {124, SyscallDesc("sched_yield"
, ignoreFunc, SyscallDesc::WarnOnce
)},
{125, SyscallDesc("sched_get_priority_max")},
{126, SyscallDesc("sched_get_priority_min")},
{127, SyscallDesc("scheD_rr_get_interval")},