Tuan Ta has submitted this change and it was merged. ( https://gem5-review.googlesource.com/6961 )

Change subject: arch-riscv: Ignore sched_yield syscall in SE mode
......................................................................

arch-riscv: Ignore sched_yield syscall in SE mode

Change-Id: I14f22c06eb8fdbe063980b4cd0a49387b9113a97
Reviewed-on: https://gem5-review.googlesource.com/6961
Maintainer: Brandon Potter <[email protected]>
Reviewed-by: Alec Roelke <[email protected]>
---
M src/arch/riscv/linux/process.cc
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Alec Roelke: Looks good to me, approved
  Brandon Potter: Looks good to me, approved



diff --git a/src/arch/riscv/linux/process.cc b/src/arch/riscv/linux/process.cc
index 4c10efe..0f540af 100644
--- a/src/arch/riscv/linux/process.cc
+++ b/src/arch/riscv/linux/process.cc
@@ -193,7 +193,7 @@
     {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")},

--
To view, visit https://gem5-review.googlesource.com/6961
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I14f22c06eb8fdbe063980b4cd0a49387b9113a97
Gerrit-Change-Number: 6961
Gerrit-PatchSet: 2
Gerrit-Owner: Tuan Ta <[email protected]>
Gerrit-Reviewer: Alec Roelke <[email protected]>
Gerrit-Reviewer: Brandon Potter <[email protected]>
Gerrit-Reviewer: Tuan Ta <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to