summaryrefslogtreecommitdiff
path: root/src/sim/syscall_desc.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-11-22 16:01:38 -0800
committerGabe Black <gabeblack@google.com>2019-12-10 23:58:14 +0000
commit3989d7830aec845d89948b1e7aa77099df5433bc (patch)
treedaed4342e58b70c564af9221a5c10c72b6eab75b /src/sim/syscall_desc.cc
parentd81ea82a23a1f8fe3f7ef2f76b4cf7ee73fed0bf (diff)
downloadgem5-3989d7830aec845d89948b1e7aa77099df5433bc.tar.xz
sim: Get rid of the now unused SyscallDesc flags and methods.
Jira Issue: https://gem5.atlassian.net/browse/GEM5-187 Change-Id: Icee18a4bd77a346d7f82ef4988651b753392d51e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23170 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/sim/syscall_desc.cc')
-rw-r--r--src/sim/syscall_desc.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/sim/syscall_desc.cc b/src/sim/syscall_desc.cc
index bf378fe20..3d767f0ba 100644
--- a/src/sim/syscall_desc.cc
+++ b/src/sim/syscall_desc.cc
@@ -84,11 +84,3 @@ SyscallDesc::doSyscall(int callnum, ThreadContext *tc, Fault *fault)
if (!retval.suppressed() && !retval.needsRetry())
process->setSyscallReturn(tc, retval);
}
-
-bool
-SyscallDesc::needWarning()
-{
- bool suppress_warning = warnOnce() && _warned;
- _warned = true;
- return !suppress_warning;
-}