summaryrefslogtreecommitdiff
path: root/src/cpu/thread_context.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-04-28 08:56:22 +0000
committerGabe Black <gabeblack@google.com>2019-04-29 22:57:37 +0000
commit88fc141f72bea768fdf8d6e22611a89f135cfc10 (patch)
tree4e2292f8964180263805ea379a86d8ec72faa678 /src/cpu/thread_context.hh
parenta632ee72adc7056786752973ecfa44ae01fca137 (diff)
downloadgem5-88fc141f72bea768fdf8d6e22611a89f135cfc10.tar.xz
cpu: Get rid of the (read|set)RegOtherThread methods.
These are implemented by MIPS internally now. Change-Id: If7465e1666e51e1314968efb56a5a814e62ee2d1 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18436 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/cpu/thread_context.hh')
-rw-r--r--src/cpu/thread_context.hh11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/cpu/thread_context.hh b/src/cpu/thread_context.hh
index 09f2a1eab..00e97b23c 100644
--- a/src/cpu/thread_context.hh
+++ b/src/cpu/thread_context.hh
@@ -299,17 +299,6 @@ class ThreadContext
virtual RegId flattenRegId(const RegId& regId) const = 0;
- virtual RegVal
- readRegOtherThread(const RegId& misc_reg, ThreadID tid)
- {
- return 0;
- }
-
- virtual void
- setRegOtherThread(const RegId& misc_reg, RegVal val, ThreadID tid)
- {
- }
-
// Also not necessarily the best location for these two. Hopefully will go
// away once we decide upon where st cond failures goes.
virtual unsigned readStCondFailures() const = 0;