diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-09-04 13:22:55 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-09-04 13:22:55 -0400 |
commit | bb1d2f39575795f0b369bb3cabb52c9d42a8b1c6 (patch) | |
tree | 5c153972f9db3abd382046baa33fd3140869f66c | |
parent | cead68a78189f764a98be88206592884cdde75ec (diff) | |
download | gem5-bb1d2f39575795f0b369bb3cabb52c9d42a8b1c6.tar.xz |
arch: Header clean up for NOISA resurrection
This patch is a first step to getting NOISA working again. A number of
redundant includes make life more difficult than it has to be and this
patch simply removes them. There are also some redundant forward
declarations removed.
-rw-r--r-- | src/base/vnc/vncserver.hh | 1 | ||||
-rw-r--r-- | src/cpu/intr_control.hh | 1 | ||||
-rw-r--r-- | src/cpu/static_inst.hh | 6 | ||||
-rw-r--r-- | src/dev/ns_gige.cc | 1 | ||||
-rw-r--r-- | src/dev/sinic.cc | 2 | ||||
-rw-r--r-- | src/kern/kernel_stats.hh | 5 | ||||
-rw-r--r-- | src/sim/stat_control.cc | 2 |
7 files changed, 2 insertions, 16 deletions
diff --git a/src/base/vnc/vncserver.hh b/src/base/vnc/vncserver.hh index 17c097536..cd1f186f5 100644 --- a/src/base/vnc/vncserver.hh +++ b/src/base/vnc/vncserver.hh @@ -53,7 +53,6 @@ #include "base/circlebuf.hh" #include "base/pollevent.hh" #include "base/socket.hh" -#include "cpu/intr_control.hh" #include "params/VncServer.hh" #include "sim/sim_object.hh" diff --git a/src/cpu/intr_control.hh b/src/cpu/intr_control.hh index ee7b3ea7f..f8ded6f39 100644 --- a/src/cpu/intr_control.hh +++ b/src/cpu/intr_control.hh @@ -35,7 +35,6 @@ #include <vector> #include "base/misc.hh" -#include "cpu/base.hh" #include "params/IntrControl.hh" #include "sim/sim_object.hh" #include "sim/system.hh" diff --git a/src/cpu/static_inst.hh b/src/cpu/static_inst.hh index 507decbdf..0464eda14 100644 --- a/src/cpu/static_inst.hh +++ b/src/cpu/static_inst.hh @@ -46,20 +46,14 @@ #include "sim/fault_fwd.hh" // forward declarations -struct AlphaSimpleImpl; -struct OzoneImpl; -struct SimpleImpl; -class DynInst; class Packet; struct O3CPUImpl; template <class Impl> class BaseO3DynInst; typedef BaseO3DynInst<O3CPUImpl> O3DynInst; -template <class Impl> class OzoneDynInst; class InOrderDynInst; class CheckerCPU; -class FastCPU; class AtomicSimpleCPU; class TimingSimpleCPU; class InorderCPU; diff --git a/src/dev/ns_gige.cc b/src/dev/ns_gige.cc index 67f8e0345..9a6ea5c6b 100644 --- a/src/dev/ns_gige.cc +++ b/src/dev/ns_gige.cc @@ -40,7 +40,6 @@ #include "base/inet.hh" #include "base/types.hh" #include "config/the_isa.hh" -#include "cpu/thread_context.hh" #include "debug/EthernetAll.hh" #include "dev/etherlink.hh" #include "dev/ns_gige.hh" diff --git a/src/dev/sinic.cc b/src/dev/sinic.cc index c2d5fb49d..02eb8a113 100644 --- a/src/dev/sinic.cc +++ b/src/dev/sinic.cc @@ -38,8 +38,6 @@ #include "base/inet.hh" #include "base/types.hh" #include "config/the_isa.hh" -#include "cpu/intr_control.hh" -#include "cpu/thread_context.hh" #include "debug/EthernetAll.hh" #include "dev/etherlink.hh" #include "dev/sinic.hh" diff --git a/src/kern/kernel_stats.hh b/src/kern/kernel_stats.hh index d5abde83f..0c8ed248a 100644 --- a/src/kern/kernel_stats.hh +++ b/src/kern/kernel_stats.hh @@ -34,13 +34,10 @@ #include <string> -#include "cpu/static_inst.hh" +#include "config/the_isa.hh" #include "sim/serialize.hh" #include "sim/stats.hh" -class BaseCPU; -class ThreadContext; -class FnEvent; // What does kernel stats expect is included? class System; diff --git a/src/sim/stat_control.cc b/src/sim/stat_control.cc index 715bb54aa..5429861d6 100644 --- a/src/sim/stat_control.cc +++ b/src/sim/stat_control.cc @@ -59,7 +59,7 @@ #include "cpu/base.hh" #endif -#include "sim/eventq.hh" +#include "sim/eventq_impl.hh" #include "sim/stat_control.hh" using namespace std; |