From 88fc141f72bea768fdf8d6e22611a89f135cfc10 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 28 Apr 2019 08:56:22 +0000 Subject: 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 Reviewed-by: Jason Lowe-Power Maintainer: Andreas Sandberg Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/cpu/simple/exec_context.hh | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/cpu/simple') 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__ -- cgit v1.2.3