Remove #include statments in various files within kern/

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
This commit is contained in:
Benjamin Nash 2005-06-30 16:18:07 -04:00
parent e563acd5c6
commit 6cf1740bf5
13 changed files with 2 additions and 48 deletions

View file

@ -28,24 +28,19 @@
/**
* @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;

View file

@ -29,12 +29,8 @@
#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:

View file

@ -32,13 +32,8 @@
#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;

View file

@ -34,10 +34,6 @@
#include <string>
#include <vector>
#include "base/statistics.hh"
#include "sim/serialize.hh"
#include "targetarch/isa_traits.hh"
class BaseCPU;
class ExecContext;
class FnEvent;

View 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.

View file

@ -36,19 +36,15 @@
*/
#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;

View file

@ -29,10 +29,6 @@
#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.

View 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"

View file

@ -29,12 +29,8 @@
#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;

View 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];

View 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 {

View file

@ -26,13 +26,8 @@
* 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)

View file

@ -29,8 +29,6 @@
#ifndef __SYSTEM_EVENTS_HH__
#define __SYSTEM_EVENTS_HH__
#include "cpu/pc_event.hh"
class System;
class SkipFuncEvent : public PCEvent