arch: Header clean up for NOISA resurrection
authorAndreas Hansson <andreas.hansson@arm.com>
Wed, 4 Sep 2013 17:22:55 +0000 (13:22 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Wed, 4 Sep 2013 17:22:55 +0000 (13:22 -0400)
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.

src/base/vnc/vncserver.hh
src/cpu/intr_control.hh
src/cpu/static_inst.hh
src/dev/ns_gige.cc
src/dev/sinic.cc
src/kern/kernel_stats.hh
src/sim/stat_control.cc

index 17c0975368f34f14b73a9df1477831a512c5f95b..cd1f186f58e4b3913dd3399f8b90fa9e34ec8775 100644 (file)
@@ -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"
 
index ee7b3ea7f5c51452c77bff62046517d1468c555d..f8ded6f39dae50c5a8bd5fba875519d4cdc5f886 100644 (file)
@@ -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"
index 507decbdf51e37bb1661a6dd385def5135a4fbeb..0464eda145b54ff1cce8f8a5c99826b1471d7263 100644 (file)
 #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;
index 67f8e0345a3f16d1c5ab6af8c1daececd41a29be..9a6ea5c6b46640002fa76846868c6f82fccb3680 100644 (file)
@@ -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"
index c2d5fb49d02eeed6150de0808151f18217610f49..02eb8a11360700d998a06883fb9226384c3d441e 100644 (file)
@@ -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"
index d5abde83f93039d6772be7b8e221c925c172bb7d..0c8ed248aebda703da7e125486a59a4a51574932 100644 (file)
 
 #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;
 
index 715bb54aa5d8c5bc02fc018ff9765112ddc374b2..5429861d6ffec211554e9d6ba1f975fd00a30ab8 100644 (file)
@@ -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;