summaryrefslogtreecommitdiff
path: root/src/cpu/DummyChecker.py
diff options
context:
space:
mode:
authorAndreas Sandberg <Andreas.Sandberg@arm.com>2012-11-02 11:32:01 -0500
committerAndreas Sandberg <Andreas.Sandberg@arm.com>2012-11-02 11:32:01 -0500
commitebe65a394bdb6b23d99fa01bcea105065a648991 (patch)
tree7a314b86752f4f53c2759c9321f3faf20d9527bb /src/cpu/DummyChecker.py
parentdf02047d5a362296bde9d07dba6dba59516fa328 (diff)
downloadgem5-ebe65a394bdb6b23d99fa01bcea105065a648991.tar.xz
cpu: Add header files for checker CPUs
In order to create reliable SWIG wrappers, we need to include the declaration of the wrapped class in the SWIG file. Previously, we didn't expose the declaration of checker CPUs. This patch adds header files for such CPUs and include them in the SWIG wrapper. --HG-- rename : src/cpu/dummy_checker_builder.cc => src/cpu/dummy_checker.cc rename : src/cpu/o3/checker_builder.cc => src/cpu/o3/checker.cc
Diffstat (limited to 'src/cpu/DummyChecker.py')
-rw-r--r--src/cpu/DummyChecker.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cpu/DummyChecker.py b/src/cpu/DummyChecker.py
index 3c276e1d2..e75f7057e 100644
--- a/src/cpu/DummyChecker.py
+++ b/src/cpu/DummyChecker.py
@@ -40,3 +40,4 @@ from BaseCPU import BaseCPU
class DummyChecker(BaseCPU):
type = 'DummyChecker'
+ cxx_header = 'cpu/dummy_checker.hh'