summaryrefslogtreecommitdiff
path: root/src/cpu/DummyChecker.py
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-02-15 17:40:08 -0500
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>2013-02-15 17:40:08 -0500
commit7f1263f1446b789e9f88685ae763ba575e81e454 (patch)
tree1d85759bb1afa6dd98bc8c4a6a88ba55612349f3 /src/cpu/DummyChecker.py
parent7cd1fd4324bc1f465a9f96a447d240ab697febd2 (diff)
downloadgem5-7f1263f1446b789e9f88685ae763ba575e81e454.tar.xz
cpu: Make checker CPUs inherit from CheckerCPU in the Python hierarchy
Checker CPUs currently don't inherit from the CheckerCPU in the Python object hierarchy. This has two consequences: * It makes CPU model discovery from the Python world somewhat complicated as there is no way of testing if a CPU is a checker. * Parameters are duplicated in the checker configuration specification. This changeset makes all checker CPUs inherit from the base checker CPU class.
Diffstat (limited to 'src/cpu/DummyChecker.py')
-rw-r--r--src/cpu/DummyChecker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/DummyChecker.py b/src/cpu/DummyChecker.py
index e75f7057e..3bf021a14 100644
--- a/src/cpu/DummyChecker.py
+++ b/src/cpu/DummyChecker.py
@@ -36,8 +36,8 @@
# Authors: Geoffrey Blake
from m5.params import *
-from BaseCPU import BaseCPU
+from CheckerCPU import CheckerCPU
-class DummyChecker(BaseCPU):
+class DummyChecker(CheckerCPU):
type = 'DummyChecker'
cxx_header = 'cpu/dummy_checker.hh'