#include "cpu/thread_context.hh"
#include "cpu/base.hh"
#include "base/trace.hh"
+
#if !FULL_SYSTEM
#include "sim/process.hh"
#include "mem/page_table.hh"
#include "arch/alpha/linux/linux.hh"
#include "arch/alpha/linux/process.hh"
#include "arch/alpha/isa_traits.hh"
-
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "kern/linux/linux.hh"
-
#include "sim/process.hh"
#include "sim/syscall_emul.hh"
*/
#include "arch/mips/faults.hh"
-#include "cpu/thread_context.hh"
-#include "cpu/base.hh"
-#include "base/trace.hh"
#include "arch/mips/pra_constants.hh"
+#include "base/trace.hh"
+#include "cpu/base.hh"
+#include "cpu/thread_context.hh"
+
#if !FULL_SYSTEM
-#include "sim/process.hh"
#include "mem/page_table.hh"
+#include "sim/process.hh"
#endif
namespace MipsISA
#include "arch/mips/linux/linux.hh"
#include "arch/mips/linux/process.hh"
#include "arch/mips/isa_traits.hh"
-
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "kern/linux/linux.hh"
-
#include "sim/process.hh"
#include "sim/system.hh"
#include "sim/syscall_emul.hh"
#include "base/trace.hh"
#include "mem/request.hh"
-
namespace MipsISA
{
#include "arch/mips/isa_traits.hh"
#include "arch/mips/process.hh"
-
#include "base/loader/object_file.hh"
#include "base/loader/elf_object.hh"
#include "base/misc.hh"
#include "cpu/thread_context.hh"
-
#include "mem/page_table.hh"
-
#include "sim/process.hh"
#include "sim/process_impl.hh"
#include "sim/system.hh"
#include "mem/page_table.hh"
#include "params/MipsTLB.hh"
-
using namespace std;
using namespace MipsISA;
#include "params/PowerTLB.hh"
#include "sim/process.hh"
-
using namespace std;
using namespace PowerISA;
* Authors: Gabe Black
*/
+#include <string>
+
#include "arch/x86/insts/microregop.hh"
#include "arch/x86/regs/misc.hh"
#include "base/condcodes.hh"
-#include <string>
namespace X86ISA
{
#include <string>
#include "base/loader/aout_object.hh"
-
#include "base/loader/symtab.hh"
-
-#include "base/trace.hh" // for DPRINTF
-
+#include "base/trace.hh"
#include "base/loader/exec_aout.h"
using namespace std;
#include <string>
#include "base/loader/ecoff_object.hh"
-#include "base/misc.hh"
#include "base/loader/symtab.hh"
-
-#include "base/trace.hh" // for DPRINTF
-
-#include "base/loader/exec_ecoff.h"
+#include "base/misc.hh"
+#include "base/trace.hh"
+#include "base/types.hh"
+
+// Only alpha will be able to load ecoff files for now.
+// base/types.hh and ecoff_machdep.h must be before the other .h files
+// because they are are gathered from other code bases and require some
+// typedefs from those files.
+#include "arch/alpha/ecoff_machdep.h"
#include "base/loader/coff_sym.h"
#include "base/loader/coff_symconst.h"
+#include "base/loader/exec_ecoff.h"
using namespace std;
#include "base/loader/elf_object.hh"
#include "base/loader/symtab.hh"
#include "base/misc.hh"
-#include "base/trace.hh" // for DPRINTF
+#include "base/trace.hh"
#include "sim/byteswap.hh"
using namespace std;
#ifndef _SYS_EXEC_ECOFF_H_
#define _SYS_EXEC_ECOFF_H_
-//Only alpha will be able to load ecoff files for now
-#include "arch/alpha/ecoff_machdep.h"
-
struct ecoff_filehdr {
coff_ushort f_magic; /* magic number */
coff_ushort f_nscns; /* # of sections */
#include "cpu/o3/inst_queue.hh"
#include "cpu/o3/mem_dep_unit.hh"
-
#include "params/DerivO3CPU.hh"
template <class MemDepPred, class Impl>
#include <vector>
#include "base/inifile.hh"
-#include "base/intmath.hh" // for isPowerOf2(
+#include "base/intmath.hh"
#include "base/misc.hh"
-#include "base/str.hh" // for to_number
+#include "base/str.hh"
#include "base/trace.hh"
+#include "dev/alpha/tsunamireg.h"
#include "dev/pciconfigall.hh"
#include "dev/pcidev.hh"
-#include "dev/alpha/tsunamireg.h"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
#include "sim/byteswap.hh"
* Ali Saidi
*/
-#include "sim/arguments.hh"
+#include <sstream>
+
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "kern/linux/events.hh"
#include "kern/linux/printk.hh"
#include "kern/system_events.hh"
+#include "sim/arguments.hh"
#include "sim/system.hh"
-#include <sstream>
-
namespace Linux {
void
#ifndef __BASE_CACHE_HH__
#define __BASE_CACHE_HH__
-#include <vector>
-#include <string>
-#include <list>
#include <algorithm>
+#include <list>
+#include <string>
+#include <vector>
#include "base/misc.hh"
#include "base/statistics.hh"
*/
#include <algorithm>
+#include <cmath>
#include <string>
#include <vector>
-#include <math.h>
-
+#include "base/intmath.hh"
+#include "base/trace.hh"
#include "mem/cache/base.hh"
#include "mem/cache/tags/iic.hh"
-#include "base/intmath.hh"
-#include "sim/core.hh" // for curTick
-
-#include "base/trace.hh" // for DPRINTF
-
+#include "sim/core.hh"
using namespace std;
#include <string>
-#include "mem/cache/base.hh"
#include "base/intmath.hh"
+#include "mem/cache/base.hh"
+#include "mem/cache/tags/cacheset.hh"
#include "mem/cache/tags/lru.hh"
#include "sim/core.hh"
-#include "cacheset.hh"
using namespace std;