summaryrefslogtreecommitdiff
path: root/src/cpu/simple
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/simple
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/simple')
-rw-r--r--src/cpu/simple/exec_context.hh19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/cpu/simple/exec_context.hh b/src/cpu/simple/exec_context.hh
index de5cc7fd7..b49747dd2 100644
--- a/src/cpu/simple/exec_context.hh
+++ b/src/cpu/simple/exec_context.hh
@@ -566,25 +566,6 @@ class SimpleExecContext : public ExecContext {
{
return cpu->getCpuAddrMonitor(thread->threadId());
}
-
-#if THE_ISA == MIPS_ISA
- RegVal
- readRegOtherThread(const RegId& reg, ThreadID tid=InvalidThreadID)
- override
- {
- panic("Simple CPU models do not support multithreaded "
- "register access.");
- }
-
- void
- setRegOtherThread(const RegId& reg, RegVal val,
- ThreadID tid=InvalidThreadID) override
- {
- panic("Simple CPU models do not support multithreaded "
- "register access.");
- }
-#endif
-
};
#endif // __CPU_EXEC_CONTEXT_HH__