diff options
author | Andreas Sandberg <Andreas.Sandberg@arm.com> | 2012-11-02 11:32:01 -0500 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@arm.com> | 2012-11-02 11:32:01 -0500 |
commit | ebe65a394bdb6b23d99fa01bcea105065a648991 (patch) | |
tree | 7a314b86752f4f53c2759c9321f3faf20d9527bb /src/cpu/o3/O3Checker.py | |
parent | df02047d5a362296bde9d07dba6dba59516fa328 (diff) | |
download | gem5-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/o3/O3Checker.py')
-rw-r--r-- | src/cpu/o3/O3Checker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cpu/o3/O3Checker.py b/src/cpu/o3/O3Checker.py index 5021b5ea7..d2dc8e95b 100644 --- a/src/cpu/o3/O3Checker.py +++ b/src/cpu/o3/O3Checker.py @@ -31,6 +31,8 @@ from BaseCPU import BaseCPU class O3Checker(BaseCPU): type = 'O3Checker' + cxx_header = 'cpu/o3/checker.hh' + exitOnError = Param.Bool(False, "Exit on an error") updateOnError = Param.Bool(False, "Update the checker with the main CPU's state on an error") |