diff options
author | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:40 -0600 |
commit | a928a438b8a005e5b6059bc5db0687bf64abcfa6 (patch) | |
tree | 4a69371c4f8efdfe784bce80a63e58f8ace665cc /src/cpu | |
parent | 93d8e6b898a70a3f6dba9da385d5933683bf325f (diff) | |
download | gem5-a928a438b8a005e5b6059bc5db0687bf64abcfa6.tar.xz |
style: [patch 3/22] reduce include dependencies in some headers
Used cppclean to help identify useless includes and removed them. This
involved erroneously included headers, but also cases where forward
declarations could have been used rather than a full include.
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/minor/buffers.hh | 1 | ||||
-rw-r--r-- | src/cpu/testers/directedtest/InvalidateGenerator.cc | 1 | ||||
-rw-r--r-- | src/cpu/testers/directedtest/RubyDirectedTester.cc | 1 | ||||
-rw-r--r-- | src/cpu/testers/directedtest/SeriesRequestGenerator.cc | 1 | ||||
-rw-r--r-- | src/cpu/testers/memtest/memtest.cc | 1 | ||||
-rw-r--r-- | src/cpu/testers/rubytest/Check.cc | 1 | ||||
-rw-r--r-- | src/cpu/testers/rubytest/CheckTable.cc | 1 | ||||
-rw-r--r-- | src/cpu/testers/rubytest/RubyTester.cc | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/minor/buffers.hh b/src/cpu/minor/buffers.hh index f4ae91a70..924d7d2af 100644 --- a/src/cpu/minor/buffers.hh +++ b/src/cpu/minor/buffers.hh @@ -50,6 +50,7 @@ #include <queue> #include <sstream> +#include "base/misc.hh" #include "cpu/minor/trace.hh" #include "cpu/activity.hh" #include "cpu/timebuf.hh" diff --git a/src/cpu/testers/directedtest/InvalidateGenerator.cc b/src/cpu/testers/directedtest/InvalidateGenerator.cc index 20ea4f904..c5c48f1ad 100644 --- a/src/cpu/testers/directedtest/InvalidateGenerator.cc +++ b/src/cpu/testers/directedtest/InvalidateGenerator.cc @@ -29,6 +29,7 @@ #include "cpu/testers/directedtest/InvalidateGenerator.hh" +#include "base/trace.hh" #include "cpu/testers/directedtest/DirectedGenerator.hh" #include "cpu/testers/directedtest/RubyDirectedTester.hh" #include "debug/DirectedTest.hh" diff --git a/src/cpu/testers/directedtest/RubyDirectedTester.cc b/src/cpu/testers/directedtest/RubyDirectedTester.cc index 9b4e4543c..667d50ffd 100644 --- a/src/cpu/testers/directedtest/RubyDirectedTester.cc +++ b/src/cpu/testers/directedtest/RubyDirectedTester.cc @@ -41,6 +41,7 @@ #include "cpu/testers/directedtest/RubyDirectedTester.hh" +#include "base/trace.hh" #include "cpu/testers/directedtest/DirectedGenerator.hh" #include "debug/DirectedTest.hh" #include "sim/sim_exit.hh" diff --git a/src/cpu/testers/directedtest/SeriesRequestGenerator.cc b/src/cpu/testers/directedtest/SeriesRequestGenerator.cc index 966ee4974..386a49893 100644 --- a/src/cpu/testers/directedtest/SeriesRequestGenerator.cc +++ b/src/cpu/testers/directedtest/SeriesRequestGenerator.cc @@ -30,6 +30,7 @@ #include "cpu/testers/directedtest/SeriesRequestGenerator.hh" #include "base/random.hh" +#include "base/trace.hh" #include "cpu/testers/directedtest/DirectedGenerator.hh" #include "cpu/testers/directedtest/RubyDirectedTester.hh" #include "debug/DirectedTest.hh" diff --git a/src/cpu/testers/memtest/memtest.cc b/src/cpu/testers/memtest/memtest.cc index 5dc8b7427..46387fa01 100644 --- a/src/cpu/testers/memtest/memtest.cc +++ b/src/cpu/testers/memtest/memtest.cc @@ -46,6 +46,7 @@ #include "base/random.hh" #include "base/statistics.hh" +#include "base/trace.hh" #include "debug/MemTest.hh" #include "mem/mem_object.hh" #include "sim/sim_exit.hh" diff --git a/src/cpu/testers/rubytest/Check.cc b/src/cpu/testers/rubytest/Check.cc index f685d65be..e68196c65 100644 --- a/src/cpu/testers/rubytest/Check.cc +++ b/src/cpu/testers/rubytest/Check.cc @@ -30,6 +30,7 @@ #include "cpu/testers/rubytest/Check.hh" #include "base/random.hh" +#include "base/trace.hh" #include "debug/RubyTest.hh" #include "mem/ruby/common/SubBlock.hh" diff --git a/src/cpu/testers/rubytest/CheckTable.cc b/src/cpu/testers/rubytest/CheckTable.cc index 54248095b..843a7cf9d 100644 --- a/src/cpu/testers/rubytest/CheckTable.cc +++ b/src/cpu/testers/rubytest/CheckTable.cc @@ -31,6 +31,7 @@ #include "base/intmath.hh" #include "base/random.hh" +#include "base/trace.hh" #include "cpu/testers/rubytest/Check.hh" #include "debug/RubyTest.hh" diff --git a/src/cpu/testers/rubytest/RubyTester.cc b/src/cpu/testers/rubytest/RubyTester.cc index 61de05235..baf2b7e5b 100644 --- a/src/cpu/testers/rubytest/RubyTester.cc +++ b/src/cpu/testers/rubytest/RubyTester.cc @@ -42,6 +42,7 @@ #include "cpu/testers/rubytest/RubyTester.hh" #include "base/misc.hh" +#include "base/trace.hh" #include "cpu/testers/rubytest/Check.hh" #include "debug/RubyTest.hh" #include "mem/ruby/common/SubBlock.hh" |