Remove #include statments in various files within kern/
authorBenjamin Nash <benash@umich.edu>
Thu, 30 Jun 2005 20:18:07 +0000 (16:18 -0400)
committerBenjamin Nash <benash@umich.edu>
Thu, 30 Jun 2005 20:18:07 +0000 (16:18 -0400)
kern/freebsd/freebsd_system.cc:
kern/freebsd/freebsd_system.hh:
kern/kernel_stats.cc:
kern/kernel_stats.hh:
kern/linux/aligned.hh:
kern/linux/linux_system.cc:
kern/linux/linux_system.hh:
kern/linux/linux_threadinfo.hh:
kern/linux/printk.cc:
kern/linux/sched.hh:
kern/linux/thread_info.hh:
kern/system_events.cc:
kern/system_events.hh:
    Remove unecessary #include statements.

--HG--
extra : convert_revision : 7e32d3b096fc92708ea45db9b172bada906024cd

13 files changed:
kern/freebsd/freebsd_system.cc
kern/freebsd/freebsd_system.hh
kern/kernel_stats.cc
kern/kernel_stats.hh
kern/linux/aligned.hh
kern/linux/linux_system.cc
kern/linux/linux_system.hh
kern/linux/linux_threadinfo.hh
kern/linux/printk.cc
kern/linux/sched.hh
kern/linux/thread_info.hh
kern/system_events.cc
kern/system_events.hh

index d7d32cc662f5ff652d3e8e20451fa103003ceb11..bce746a832ee5a1321b3a0d25be79c8e6f865875 100644 (file)
 
 /**
  * @file
- * Modifications for the FreeBSD kernel.  Based off of kern/linux/linux_system.cc.
+ * Modifications for the FreeBSD kernel.
+ * Based on kern/linux/linux_system.cc.
  * Currently only used to skip DELAY function.
  *
  */
 
 #include "base/loader/symtab.hh"
-#include "base/trace.hh"
 #include "cpu/exec_context.hh"
-#include "cpu/base.hh"
 #include "kern/freebsd/freebsd_system.hh"
-#include "kern/system_events.hh"
 #include "mem/functional/memory_control.hh"
 #include "mem/functional/physical.hh"
 #include "sim/builder.hh"
-#include "dev/platform.hh"
-#include "targetarch/isa_traits.hh"
 #include "targetarch/vtophys.hh"
-#include "sim/debug.hh"
 
 using namespace std;
 
index a3c5f8b92dfc8734314139ded36ebf0ddf6efaca..6b236e52e44b31b7b7a6afbb35ca5123ccd1ad17 100644 (file)
 #ifndef __KERN_FREEBSD_FREEBSD_SYSTEM_HH__
 #define __KERN_FREEBSD_FREEBSD_SYSTEM_HH__
 
-#include "sim/host.hh"
-#include "sim/system.hh"
-#include "targetarch/isa_traits.hh"
 #include "kern/freebsd/freebsd_events.hh"
 
-
 class FreebsdSystem : public System
 {
   private:
index 6e4a77f4e3f80949937008312f21fc35609b6d08..3a7d12443ec65febec244cd1929f16c0cafb3353 100644 (file)
 
 #include "arch/alpha/osfpal.hh"
 #include "base/trace.hh"
-#include "base/statistics.hh"
-#include "base/stats/bin.hh"
 #include "cpu/exec_context.hh"
-#include "cpu/pc_event.hh"
-#include "cpu/static_inst.hh"
 #include "kern/kernel_stats.hh"
-#include "kern/linux/linux_syscalls.hh"
 #include "kern/tru64/tru64_syscalls.hh"
 
 using namespace std;
index 66364d2d70204768ba7c67a51723dbfb96892e92..7b931ef79089840728d6e0fdf03bcec2f86eb9b7 100644 (file)
 #include <string>
 #include <vector>
 
-#include "base/statistics.hh"
-#include "sim/serialize.hh"
-#include "targetarch/isa_traits.hh"
-
 class BaseCPU;
 class ExecContext;
 class FnEvent;
index 426299b5dd6a4c093ff1214e17f2befde4983851..18d1b43c064691fd459e64056aeb49f28bdf9cab 100644 (file)
@@ -30,9 +30,6 @@
 #define __KERN_LINUX_ALIGNED_HH__
 
 
-#include "sim/host.hh"
-#include "targetarch/isa_traits.hh"
-
 /* GCC 3.3.X has a bug in which attributes+typedefs don't work. 3.2.X is fine
  * as in 3.4.X, but the bug is marked will not fix in 3.3.X so here is
  * the work around.
index 21450e40055e6cb868fa4011de5c0af0c51ad5a6..8c57ce29c2982e790f12c0c3ec82311bc2f55d50 100644 (file)
  */
 
 #include "base/loader/symtab.hh"
-#include "base/trace.hh"
 #include "cpu/exec_context.hh"
 #include "cpu/base.hh"
 #include "kern/linux/linux_events.hh"
 #include "kern/linux/linux_system.hh"
-#include "kern/system_events.hh"
 #include "mem/functional/memory_control.hh"
 #include "mem/functional/physical.hh"
 #include "sim/builder.hh"
 #include "dev/platform.hh"
-#include "targetarch/isa_traits.hh"
 #include "targetarch/vtophys.hh"
-#include "sim/debug.hh"
 
 using namespace std;
 
index f870b7744bc6586801e382a7382fa12fcd310d2e..32b92f310c8a6e2a51daa70f36d42431a080a16c 100644 (file)
 #ifndef __KERN_LINUX_LINUX_SYSTEM_HH__
 #define __KERN_LINUX_LINUX_SYSTEM_HH__
 
-#include "sim/host.hh"
-#include "sim/system.hh"
-#include "targetarch/isa_traits.hh"
-
 /**
  * MAGIC address where the kernel arguments should go. Defined as
  * PARAM in linux kernel alpha-asm.
index 92cc181db629c43b8c30ceffdb2f272b580f9387..253b122bc5023b991b3151080720a81947c58c64 100644 (file)
@@ -30,9 +30,7 @@
 #define __LINUX_TREADNIFO_HH__
 
 
-#include "targetarch/isa_traits.hh"
 #include "targetarch/vptr.hh"
-#include "cpu/exec_context.hh"
 #include "kern/linux/thread_info.hh"
 #include "kern/linux/sched.hh"
 
index cafc9172ac5d7a8ab4cfcc79f8687c4d98b7a9a1..fbc8bdad1c8c32557bc068b0285384f469f01797 100644 (file)
 #include <sys/types.h>
 #include <algorithm>
 
-#include "base/cprintf.hh"
 #include "base/trace.hh"
-#include "sim/host.hh"
 #include "targetarch/arguments.hh"
-#include "targetarch/vtophys.hh"
-#include "kern/linux/printk.hh"
 
 using namespace std;
 
index e3febb298c1d5f6be311bde417665faeab350841..a11fa590d37b4bbb56bd4c3295ac5f8488b3dcf0 100644 (file)
@@ -29,9 +29,6 @@
 #ifndef __KERN_LINUX_SCHED_HH__
 #define __KERN_LINUX_SCHED_HH__
 
-#include "targetarch/isa_traits.hh"
-#include "kern/linux/aligned.hh"
-
 namespace Linux {
     struct task_struct {
         uint8_t junk1[0xf4];
index c8bcc726aec4abe7c9d4de34d0c3c400605ee1ab..cf24ef93931b6ee184026749f153cb62385635e8 100644 (file)
@@ -30,7 +30,6 @@
 #define __KERN_LINUX_THREAD_INFO_H__
 
 #include "kern/linux/hwrpb.hh"
-#include "kern/linux/aligned.hh"
 
 namespace Linux {
     struct thread_info {
index 40c223b5e5dda557ada76552a3f15ff32d341940..d5c0d242a19bfa2042ab031c8caa54d8c780f000 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "cpu/exec_context.hh"
-#include "cpu/base.hh"
-#include "encumbered/cpu/full/bpred.hh"
 #include "encumbered/cpu/full/cpu.hh"
 #include "kern/kernel_stats.hh"
-#include "kern/system_events.hh"
-#include "sim/system.hh"
 
 void
 SkipFuncEvent::process(ExecContext *xc)
index 24aa8f1549022be6bc29702b9553036efd3bd3fe..94f6efebaac6d4c6a752c0ec306f55932a8d3ed1 100644 (file)
@@ -29,8 +29,6 @@
 #ifndef __SYSTEM_EVENTS_HH__
 #define __SYSTEM_EVENTS_HH__
 
-#include "cpu/pc_event.hh"
-
 class System;
 
 class SkipFuncEvent : public PCEvent