includes: sort all includes

This commit is contained in:
Nathan Binkert 2011-04-15 10:44:06 -07:00
parent 50fda09ac7
commit 39a055645f
526 changed files with 1046 additions and 1080 deletions

View file

@ -32,13 +32,13 @@
#include "arch/alpha/ev5.hh" #include "arch/alpha/ev5.hh"
#include "arch/alpha/faults.hh" #include "arch/alpha/faults.hh"
#include "arch/alpha/tlb.hh" #include "arch/alpha/tlb.hh"
#include "cpu/thread_context.hh"
#include "cpu/base.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#if !FULL_SYSTEM #if !FULL_SYSTEM
#include "sim/process.hh"
#include "mem/page_table.hh" #include "mem/page_table.hh"
#include "sim/process.hh"
#endif #endif
namespace AlphaISA { namespace AlphaISA {

View file

@ -31,10 +31,9 @@
#ifndef __ARCH_ALPHA_ISA_HH__ #ifndef __ARCH_ALPHA_ISA_HH__
#define __ARCH_ALPHA_ISA_HH__ #define __ARCH_ALPHA_ISA_HH__
#include <string.h> #include <cstring>
#include <string>
#include <iostream> #include <iostream>
#include <string>
#include "arch/alpha/registers.hh" #include "arch/alpha/registers.hh"
#include "arch/alpha/types.hh" #include "arch/alpha/types.hh"

View file

@ -41,16 +41,16 @@
// //
output header {{ output header {{
#include <sstream>
#include <iostream>
#include <iomanip> #include <iomanip>
#include <iostream>
#include <sstream>
#include "arch/alpha/faults.hh" #include "arch/alpha/faults.hh"
#include "arch/alpha/types.hh" #include "arch/alpha/types.hh"
#include "config/ss_compatible_fp.hh" #include "config/ss_compatible_fp.hh"
#include "cpu/static_inst.hh" #include "cpu/static_inst.hh"
#include "mem/request.hh" // some constructors use MemReq flags
#include "mem/packet.hh" #include "mem/packet.hh"
#include "mem/request.hh" // some constructors use MemReq flags
}}; }};
output decoder {{ output decoder {{
@ -58,9 +58,9 @@ output decoder {{
#include "arch/alpha/registers.hh" #include "arch/alpha/registers.hh"
#include "arch/alpha/regredir.hh" #include "arch/alpha/regredir.hh"
#include "base/loader/symtab.hh"
#include "base/cprintf.hh" #include "base/cprintf.hh"
#include "base/fenv.hh" #include "base/fenv.hh"
#include "base/loader/symtab.hh"
#include "config/ss_compatible_fp.hh" #include "config/ss_compatible_fp.hh"
#include "cpu/thread_context.hh" // for Jump::branchTarget() #include "cpu/thread_context.hh" // for Jump::branchTarget()
#include "mem/packet.hh" #include "mem/packet.hh"
@ -71,16 +71,16 @@ using namespace AlphaISA;
output exec {{ output exec {{
#include <math.h> #include <math.h>
#include "arch/alpha/registers.hh"
#include "arch/alpha/regredir.hh" #include "arch/alpha/regredir.hh"
#include "base/cp_annotate.hh" #include "base/cp_annotate.hh"
#include "sim/pseudo_inst.hh"
#include "arch/alpha/registers.hh"
#include "base/fenv.hh" #include "base/fenv.hh"
#include "config/ss_compatible_fp.hh" #include "config/ss_compatible_fp.hh"
#include "cpu/base.hh" #include "cpu/base.hh"
#include "cpu/exetrace.hh" #include "cpu/exetrace.hh"
#include "mem/packet.hh" #include "mem/packet.hh"
#include "mem/packet_access.hh" #include "mem/packet_access.hh"
#include "sim/pseudo_inst.hh"
#include "sim/sim_exit.hh" #include "sim/sim_exit.hh"
using namespace AlphaISA; using namespace AlphaISA;

View file

@ -40,17 +40,17 @@
* up boot time. * up boot time.
*/ */
#include "arch/vtophys.hh"
#include "arch/alpha/idle_event.hh"
#include "arch/alpha/linux/system.hh" #include "arch/alpha/linux/system.hh"
#include "arch/alpha/linux/threadinfo.hh" #include "arch/alpha/linux/threadinfo.hh"
#include "arch/alpha/idle_event.hh"
#include "arch/alpha/system.hh" #include "arch/alpha/system.hh"
#include "arch/vtophys.hh"
#include "base/loader/symtab.hh" #include "base/loader/symtab.hh"
#include "cpu/thread_context.hh"
#include "cpu/base.hh" #include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "dev/platform.hh" #include "dev/platform.hh"
#include "kern/linux/printk.hh"
#include "kern/linux/events.hh" #include "kern/linux/events.hh"
#include "kern/linux/printk.hh"
#include "mem/physical.hh" #include "mem/physical.hh"
#include "mem/port.hh" #include "mem/port.hh"
#include "sim/arguments.hh" #include "sim/arguments.hh"

View file

@ -38,12 +38,12 @@
* ISA-specific helper functions for multithreaded execution. * ISA-specific helper functions for multithreaded execution.
*/ */
#include <iostream>
#include "arch/isa_traits.hh" #include "arch/isa_traits.hh"
#include "base/bitfield.hh" #include "base/bitfield.hh"
#include "base/trace.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "base/trace.hh"
#include <iostream>
using namespace std; using namespace std;
namespace AlphaISA namespace AlphaISA

View file

@ -31,8 +31,8 @@
#include "arch/alpha/isa_traits.hh" #include "arch/alpha/isa_traits.hh"
#include "arch/alpha/process.hh" #include "arch/alpha/process.hh"
#include "base/loader/object_file.hh"
#include "base/loader/elf_object.hh" #include "base/loader/elf_object.hh"
#include "base/loader/object_file.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "mem/page_table.hh" #include "mem/page_table.hh"

View file

@ -127,15 +127,15 @@
#endif #endif
#include "arch/alpha/kgdb.h" #include "arch/alpha/kgdb.h"
#include "arch/alpha/utility.hh"
#include "arch/alpha/regredir.hh" #include "arch/alpha/regredir.hh"
#include "arch/alpha/remote_gdb.hh" #include "arch/alpha/remote_gdb.hh"
#include "arch/alpha/utility.hh"
#include "base/intmath.hh" #include "base/intmath.hh"
#include "base/remote_gdb.hh" #include "base/remote_gdb.hh"
#include "base/socket.hh" #include "base/socket.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "cpu/static_inst.hh" #include "cpu/static_inst.hh"
#include "cpu/thread_context.hh"
#include "mem/physical.hh" #include "mem/physical.hh"
#include "mem/port.hh" #include "mem/port.hh"
#include "sim/system.hh" #include "sim/system.hh"

View file

@ -33,12 +33,12 @@
#include <map> #include <map>
#include "arch/alpha/types.hh"
#include "arch/alpha/kgdb.h" #include "arch/alpha/kgdb.h"
#include "base/remote_gdb.hh" #include "arch/alpha/types.hh"
#include "cpu/pc_event.hh"
#include "base/pollevent.hh" #include "base/pollevent.hh"
#include "base/remote_gdb.hh"
#include "base/socket.hh" #include "base/socket.hh"
#include "cpu/pc_event.hh"
class System; class System;
class ThreadContext; class ThreadContext;

View file

@ -33,9 +33,9 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "arch/alpha/faults.hh"
#include "arch/alpha/pagetable.hh" #include "arch/alpha/pagetable.hh"
#include "arch/alpha/tlb.hh" #include "arch/alpha/tlb.hh"
#include "arch/alpha/faults.hh"
#include "base/inifile.hh" #include "base/inifile.hh"
#include "base/str.hh" #include "base/str.hh"
#include "base/trace.hh" #include "base/trace.hh"

View file

@ -29,9 +29,9 @@
* Ali Saidi * Ali Saidi
*/ */
#include "arch/alpha/tru64/process.hh"
#include "arch/alpha/tru64/tru64.hh" #include "arch/alpha/tru64/tru64.hh"
#include "arch/alpha/isa_traits.hh" #include "arch/alpha/isa_traits.hh"
#include "arch/alpha/tru64/process.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "kern/tru64/tru64.hh" #include "kern/tru64/tru64.hh"
#include "sim/byteswap.hh" #include "sim/byteswap.hh"

View file

@ -32,8 +32,8 @@
#ifndef __ARCH_ALPHA_TYPES_HH__ #ifndef __ARCH_ALPHA_TYPES_HH__
#define __ARCH_ALPHA_TYPES_HH__ #define __ARCH_ALPHA_TYPES_HH__
#include "base/types.hh"
#include "arch/generic/types.hh" #include "arch/generic/types.hh"
#include "base/types.hh"
namespace AlphaISA { namespace AlphaISA {

View file

@ -32,9 +32,9 @@
#ifndef __ARCH_ALPHA_UTILITY_HH__ #ifndef __ARCH_ALPHA_UTILITY_HH__
#define __ARCH_ALPHA_UTILITY_HH__ #define __ARCH_ALPHA_UTILITY_HH__
#include "arch/alpha/types.hh"
#include "arch/alpha/isa_traits.hh" #include "arch/alpha/isa_traits.hh"
#include "arch/alpha/registers.hh" #include "arch/alpha/registers.hh"
#include "arch/alpha/types.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "config/full_system.hh" #include "config/full_system.hh"
#include "cpu/static_inst.hh" #include "cpu/static_inst.hh"

View file

@ -43,9 +43,9 @@
*/ */
#include "arch/arm/faults.hh" #include "arch/arm/faults.hh"
#include "cpu/thread_context.hh"
#include "cpu/base.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
namespace ArmISA namespace ArmISA
{ {

View file

@ -47,9 +47,9 @@
#include "arch/arm/miscregs.hh" #include "arch/arm/miscregs.hh"
#include "arch/arm/types.hh" #include "arch/arm/types.hh"
#include "base/misc.hh"
#include "config/full_system.hh" #include "config/full_system.hh"
#include "sim/faults.hh" #include "sim/faults.hh"
#include "base/misc.hh"
// The design of the "name" and "vect" functions is in sim/faults.hh // The design of the "name" and "vect" functions is in sim/faults.hh

View file

@ -40,9 +40,10 @@
* Authors: Stephen Hines * Authors: Stephen Hines
*/ */
#include <sstream>
#include "arch/arm/insts/macromem.hh" #include "arch/arm/insts/macromem.hh"
#include "arch/arm/decoder.hh" #include "arch/arm/decoder.hh"
#include <sstream>
using namespace std; using namespace std;
using namespace ArmISAInst; using namespace ArmISAInst;

View file

@ -40,11 +40,11 @@
* Authors: Stephen Hines * Authors: Stephen Hines
*/ */
#include "arch/arm/faults.hh"
#include "arch/arm/insts/static_inst.hh" #include "arch/arm/insts/static_inst.hh"
#include "arch/arm/faults.hh"
#include "base/loader/symtab.hh"
#include "base/condcodes.hh" #include "base/condcodes.hh"
#include "base/cprintf.hh" #include "base/cprintf.hh"
#include "base/loader/symtab.hh"
namespace ArmISA namespace ArmISA
{ {

View file

@ -40,10 +40,12 @@
#ifndef __ARCH_ARM_INSTS_VFP_HH__ #ifndef __ARCH_ARM_INSTS_VFP_HH__
#define __ARCH_ARM_INSTS_VFP_HH__ #define __ARCH_ARM_INSTS_VFP_HH__
#include <fenv.h>
#include <cmath>
#include "arch/arm/insts/misc.hh" #include "arch/arm/insts/misc.hh"
#include "arch/arm/miscregs.hh" #include "arch/arm/miscregs.hh"
#include <fenv.h>
#include <cmath>
namespace ArmISA namespace ArmISA
{ {

View file

@ -40,7 +40,7 @@
* Authors: Gabe Black * Authors: Gabe Black
*/ */
#include <assert.h> #include <cassert>
#ifndef __ARCH_ARM_INTREGS_HH__ #ifndef __ARCH_ARM_INTREGS_HH__
#define __ARCH_ARM_INTREGS_HH__ #define __ARCH_ARM_INTREGS_HH__

View file

@ -46,8 +46,8 @@
// //
output header {{ output header {{
#include <sstream>
#include <iostream> #include <iostream>
#include <sstream>
#include "arch/arm/insts/branch.hh" #include "arch/arm/insts/branch.hh"
#include "arch/arm/insts/macromem.hh" #include "arch/arm/insts/macromem.hh"
@ -67,21 +67,21 @@ output decoder {{
#include "arch/arm/intregs.hh" #include "arch/arm/intregs.hh"
#include "arch/arm/isa_traits.hh" #include "arch/arm/isa_traits.hh"
#include "arch/arm/utility.hh" #include "arch/arm/utility.hh"
#include "base/cprintf.hh"
#include "base/loader/symtab.hh" #include "base/loader/symtab.hh"
#include "base/cprintf.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
using namespace ArmISA; using namespace ArmISA;
}}; }};
output exec {{ output exec {{
#include <cmath>
#include "arch/arm/faults.hh" #include "arch/arm/faults.hh"
#include "arch/arm/isa_traits.hh" #include "arch/arm/isa_traits.hh"
#include "arch/arm/utility.hh" #include "arch/arm/utility.hh"
#include "base/condcodes.hh" #include "base/condcodes.hh"
#include "sim/pseudo_inst.hh" #include "sim/pseudo_inst.hh"
#include <cmath>
#if defined(linux) #if defined(linux)
#include <fenv.h> #include <fenv.h>
#endif #endif

View file

@ -42,6 +42,7 @@
#include <cstring> #include <cstring>
#include <string> #include <string>
#include "base/types.hh" #include "base/types.hh"
enum { enum {

View file

@ -29,10 +29,10 @@
* Authors: Stephen Hines * Authors: Stephen Hines
*/ */
#include "arch/arm/linux/linux.hh"
#include <fcntl.h> #include <fcntl.h>
#include "arch/arm/linux/linux.hh"
// open(2) flags translation table // open(2) flags translation table
OpenFlagTransTable ArmLinux::openFlagTable[] = { OpenFlagTransTable ArmLinux::openFlagTable[] = {
#ifdef _MSC_VER #ifdef _MSC_VER

View file

@ -46,11 +46,9 @@
#include "arch/arm/linux/linux.hh" #include "arch/arm/linux/linux.hh"
#include "arch/arm/linux/process.hh" #include "arch/arm/linux/process.hh"
#include "arch/arm/isa_traits.hh" #include "arch/arm/isa_traits.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "kern/linux/linux.hh" #include "kern/linux/linux.hh"
#include "sim/process.hh" #include "sim/process.hh"
#include "sim/syscall_emul.hh" #include "sim/syscall_emul.hh"
#include "sim/system.hh" #include "sim/system.hh"

View file

@ -33,7 +33,6 @@
#include "arch/arm/process.hh" #include "arch/arm/process.hh"
/// A process with emulated Arm/Linux syscalls. /// A process with emulated Arm/Linux syscalls.
class ArmLinuxProcess : public ArmLiveProcess class ArmLinuxProcess : public ArmLiveProcess
{ {

View file

@ -40,9 +40,9 @@
* Authors: Ali Saidi * Authors: Ali Saidi
*/ */
#include "arch/arm/isa_traits.hh"
#include "arch/arm/linux/atag.hh" #include "arch/arm/linux/atag.hh"
#include "arch/arm/linux/system.hh" #include "arch/arm/linux/system.hh"
#include "arch/arm/isa_traits.hh"
#include "arch/arm/utility.hh" #include "arch/arm/utility.hh"
#include "base/loader/object_file.hh" #include "base/loader/object_file.hh"
#include "base/loader/symtab.hh" #include "base/loader/symtab.hh"

View file

@ -43,7 +43,6 @@
#include "arch/arm/miscregs.hh" #include "arch/arm/miscregs.hh"
#include "mem/request.hh" #include "mem/request.hh"
namespace ArmISA namespace ArmISA
{ {
template <class XC> template <class XC>

View file

@ -47,7 +47,6 @@
#include "arch/arm/utility.hh" #include "arch/arm/utility.hh"
#include "arch/arm/vtophys.hh" #include "arch/arm/vtophys.hh"
#include "config/full_system.hh" #include "config/full_system.hh"
#include "sim/serialize.hh" #include "sim/serialize.hh"
namespace ArmISA { namespace ArmISA {

View file

@ -47,8 +47,8 @@
#include <cassert> #include <cassert>
#include "arch/arm/types.hh"
#include "arch/arm/miscregs.hh" #include "arch/arm/miscregs.hh"
#include "arch/arm/types.hh"
#include "base/types.hh" #include "base/types.hh"
class ThreadContext; class ThreadContext;

View file

@ -33,6 +33,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "base/loader/object_file.hh" #include "base/loader/object_file.hh"
#include "sim/process.hh" #include "sim/process.hh"

View file

@ -43,8 +43,8 @@
#ifndef __ARCH_ARM_REGISTERS_HH__ #ifndef __ARCH_ARM_REGISTERS_HH__
#define __ARCH_ARM_REGISTERS_HH__ #define __ARCH_ARM_REGISTERS_HH__
#include "arch/arm/max_inst_regs.hh"
#include "arch/arm/intregs.hh" #include "arch/arm/intregs.hh"
#include "arch/arm/max_inst_regs.hh"
#include "arch/arm/miscregs.hh" #include "arch/arm/miscregs.hh"
namespace ArmISA { namespace ArmISA {

View file

@ -139,22 +139,22 @@
#include "arch/arm/vtophys.hh" #include "arch/arm/vtophys.hh"
#endif #endif
#include "arch/arm/utility.hh" #include "arch/arm/pagetable.hh"
#include "arch/arm/remote_gdb.hh"
#include "arch/arm/registers.hh" #include "arch/arm/registers.hh"
#include "arch/arm/remote_gdb.hh"
#include "arch/arm/utility.hh"
#include "arch/arm/vtophys.hh" #include "arch/arm/vtophys.hh"
#include "base/intmath.hh" #include "base/intmath.hh"
#include "base/remote_gdb.hh" #include "base/remote_gdb.hh"
#include "base/socket.hh" #include "base/socket.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/static_inst.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "cpu/thread_state.hh" #include "cpu/thread_state.hh"
#include "cpu/static_inst.hh" #include "mem/page_table.hh"
#include "mem/physical.hh" #include "mem/physical.hh"
#include "mem/port.hh" #include "mem/port.hh"
#include "sim/system.hh" #include "sim/system.hh"
#include "arch/arm/pagetable.hh"
#include "mem/page_table.hh"
using namespace std; using namespace std;
using namespace ArmISA; using namespace ArmISA;

View file

@ -40,9 +40,10 @@
* Authors: Ali Saidi * Authors: Ali Saidi
*/ */
#include "arch/arm/system.hh"
#include <iostream> #include <iostream>
#include "arch/arm/system.hh"
using namespace std; using namespace std;
using namespace Linux; using namespace Linux;

View file

@ -46,10 +46,10 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "kern/linux/events.hh"
#include "params/ArmSystem.hh" #include "params/ArmSystem.hh"
#include "sim/sim_object.hh" #include "sim/sim_object.hh"
#include "sim/system.hh" #include "sim/system.hh"
#include "kern/linux/events.hh"
class ArmSystem : public System class ArmSystem : public System
{ {

View file

@ -40,9 +40,9 @@
#include "arch/arm/faults.hh" #include "arch/arm/faults.hh"
#include "arch/arm/table_walker.hh" #include "arch/arm/table_walker.hh"
#include "arch/arm/tlb.hh" #include "arch/arm/tlb.hh"
#include "dev/io_device.hh"
#include "cpu/base.hh" #include "cpu/base.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "dev/io_device.hh"
#include "sim/system.hh" #include "sim/system.hh"
using namespace ArmISA; using namespace ArmISA;

View file

@ -46,7 +46,6 @@
#include "arch/arm/tlb.hh" #include "arch/arm/tlb.hh"
#include "mem/mem_object.hh" #include "mem/mem_object.hh"
#include "mem/request.hh" #include "mem/request.hh"
#include "mem/request.hh"
#include "params/ArmTableWalker.hh" #include "params/ArmTableWalker.hh"
#include "sim/eventq.hh" #include "sim/eventq.hh"
#include "sim/fault_fwd.hh" #include "sim/fault_fwd.hh"

View file

@ -46,9 +46,9 @@
#include <map> #include <map>
#include "arch/arm/isa_traits.hh" #include "arch/arm/isa_traits.hh"
#include "arch/arm/pagetable.hh"
#include "arch/arm/utility.hh" #include "arch/arm/utility.hh"
#include "arch/arm/vtophys.hh" #include "arch/arm/vtophys.hh"
#include "arch/arm/pagetable.hh"
#include "base/statistics.hh" #include "base/statistics.hh"
#include "mem/request.hh" #include "mem/request.hh"
#include "params/ArmTLB.hh" #include "params/ArmTLB.hh"

View file

@ -37,7 +37,6 @@
#include "arch/arm/isa_traits.hh" #include "arch/arm/isa_traits.hh"
#include "arch/arm/utility.hh" #include "arch/arm/utility.hh"
class ThreadContext; class ThreadContext;
class FunctionalPort; class FunctionalPort;

View file

@ -40,11 +40,11 @@
#ifndef __ARCH_GENERIC_DEBUGFAULTS_HH__ #ifndef __ARCH_GENERIC_DEBUGFAULTS_HH__
#define __ARCH_GENERIC_DEBUGFAULTS_HH__ #define __ARCH_GENERIC_DEBUGFAULTS_HH__
#include <string>
#include "base/misc.hh" #include "base/misc.hh"
#include "sim/faults.hh" #include "sim/faults.hh"
#include <string>
namespace GenericISA namespace GenericISA
{ {
class M5DebugFault : public FaultBase class M5DebugFault : public FaultBase

View file

@ -33,8 +33,8 @@
#include <iostream> #include <iostream>
#include "base/types.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "base/types.hh"
#include "sim/serialize.hh" #include "sim/serialize.hh"
namespace GenericISA namespace GenericISA

View file

@ -28,13 +28,13 @@
* Authors: Brett Miller * Authors: Brett Miller
*/ */
#include "arch/mips/isa_traits.hh"
#include "arch/mips/dsp.hh" #include "arch/mips/dsp.hh"
#include "arch/mips/isa_traits.hh"
#include "base/bitfield.hh"
#include "base/misc.hh"
#include "config/full_system.hh" #include "config/full_system.hh"
#include "cpu/static_inst.hh" #include "cpu/static_inst.hh"
#include "sim/serialize.hh" #include "sim/serialize.hh"
#include "base/bitfield.hh"
#include "base/misc.hh"
using namespace MipsISA; using namespace MipsISA;
using namespace std; using namespace std;

View file

@ -31,8 +31,8 @@
#ifndef __ARCH_MIPS_DSP_HH__ #ifndef __ARCH_MIPS_DSP_HH__
#define __ARCH_MIPS_DSP_HH__ #define __ARCH_MIPS_DSP_HH__
#include "arch/mips/types.hh"
#include "arch/mips/isa_traits.hh" #include "arch/mips/isa_traits.hh"
#include "arch/mips/types.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "base/types.hh" #include "base/types.hh"
#include "config/full_system.hh" #include "config/full_system.hh"

View file

@ -29,8 +29,8 @@
*/ */
#include "arch/mips/isa.hh" #include "arch/mips/isa.hh"
#include "arch/mips/mt_constants.hh"
#include "arch/mips/mt.hh" #include "arch/mips/mt.hh"
#include "arch/mips/mt_constants.hh"
#include "arch/mips/pra_constants.hh" #include "arch/mips/pra_constants.hh"
#include "base/bitfield.hh" #include "base/bitfield.hh"
#include "cpu/base.hh" #include "cpu/base.hh"

View file

@ -31,8 +31,8 @@
#ifndef __ARCH_MIPS_ISA_HH__ #ifndef __ARCH_MIPS_ISA_HH__
#define __ARCH_MIPS_ISA_HH__ #define __ARCH_MIPS_ISA_HH__
#include <string>
#include <queue> #include <queue>
#include <string>
#include <vector> #include <vector>
#include "arch/mips/registers.hh" #include "arch/mips/registers.hh"

View file

@ -34,9 +34,9 @@
// //
output header {{ output header {{
#include <sstream>
#include <iostream>
#include <iomanip> #include <iomanip>
#include <iostream>
#include <sstream>
#include "arch/mips/isa_traits.hh" #include "arch/mips/isa_traits.hh"
#include "arch/mips/types.hh" #include "arch/mips/types.hh"
@ -45,20 +45,19 @@ output header {{
}}; }};
output decoder {{ output decoder {{
#include "arch/mips/isa_traits.hh" #include <math.h>
#include "base/cprintf.hh"
#include "base/loader/symtab.hh" #include "arch/mips/dsp.hh"
#include "cpu/thread_context.hh" #include "arch/mips/dt_constants.hh"
#include "arch/mips/faults.hh" #include "arch/mips/faults.hh"
#include "arch/mips/isa_traits.hh" #include "arch/mips/isa_traits.hh"
#include "arch/mips/pra_constants.hh"
#include "arch/mips/dt_constants.hh"
#include "arch/mips/mt_constants.hh" #include "arch/mips/mt_constants.hh"
#include "arch/mips/pra_constants.hh"
#include "arch/mips/utility.hh" #include "arch/mips/utility.hh"
#include "arch/mips/dsp.hh" #include "base/loader/symtab.hh"
#include "base/cprintf.hh"
#include "cpu/thread_context.hh"
#include "mem/packet.hh" #include "mem/packet.hh"
#include <math.h>
#if defined(linux) #if defined(linux)
#include <fenv.h> #include <fenv.h>
#endif #endif
@ -67,29 +66,27 @@ using namespace MipsISA;
}}; }};
output exec {{ output exec {{
#include <math.h>
#include "arch/mips/dsp.hh"
#include "arch/mips/dt_constants.hh"
#include "arch/mips/faults.hh" #include "arch/mips/faults.hh"
#include "arch/mips/isa_traits.hh" #include "arch/mips/isa_traits.hh"
#include "arch/mips/utility.hh"
#include "arch/mips/dsp.hh"
#include "arch/mips/mt.hh" #include "arch/mips/mt.hh"
#include "arch/mips/pra_constants.hh"
#include "arch/mips/dt_constants.hh"
#include "arch/mips/mt_constants.hh" #include "arch/mips/mt_constants.hh"
#include "arch/mips/pra_constants.hh"
#include <math.h> #include "arch/mips/utility.hh"
#if defined(linux) #if defined(linux)
#include <fenv.h> #include <fenv.h>
#endif #endif
#include "cpu/base.hh" #include "cpu/base.hh"
#include "cpu/exetrace.hh" #include "cpu/exetrace.hh"
#include "mem/packet.hh" #include "mem/packet.hh"
#include "mem/packet_access.hh" #include "mem/packet_access.hh"
#include "sim/sim_exit.hh"
#include "sim/eventq.hh" #include "sim/eventq.hh"
#include "sim/sim_events.hh" #include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
using namespace MipsISA; using namespace MipsISA;
}}; }};

View file

@ -34,8 +34,8 @@
#ifndef __ARCH_MIPS_ISA_TRAITS_HH__ #ifndef __ARCH_MIPS_ISA_TRAITS_HH__
#define __ARCH_MIPS_ISA_TRAITS_HH__ #define __ARCH_MIPS_ISA_TRAITS_HH__
#include "arch/mips/types.hh"
#include "arch/mips/mips_core_specific.hh" #include "arch/mips/mips_core_specific.hh"
#include "arch/mips/types.hh"
#include "base/types.hh" #include "base/types.hh"
#include "config/full_system.hh" #include "config/full_system.hh"

View file

@ -28,10 +28,10 @@
* Authors: Korey Sewell * Authors: Korey Sewell
*/ */
#include "arch/mips/linux/linux.hh"
#include <fcntl.h> #include <fcntl.h>
#include "arch/mips/linux/linux.hh"
// open(2) flags translation table // open(2) flags translation table
OpenFlagTransTable MipsLinux::openFlagTable[] = { OpenFlagTransTable MipsLinux::openFlagTable[] = {
#ifdef _MSC_VER #ifdef _MSC_VER

View file

@ -36,10 +36,10 @@
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "kern/linux/linux.hh" #include "kern/linux/linux.hh"
#include "sim/process.hh"
#include "sim/system.hh"
#include "sim/syscall_emul.hh"
#include "sim/eventq.hh" #include "sim/eventq.hh"
#include "sim/process.hh"
#include "sim/syscall_emul.hh"
#include "sim/system.hh"
using namespace std; using namespace std;
using namespace MipsISA; using namespace MipsISA;

View file

@ -32,8 +32,8 @@
#ifndef __MIPS_LINUX_PROCESS_HH__ #ifndef __MIPS_LINUX_PROCESS_HH__
#define __MIPS_LINUX_PROCESS_HH__ #define __MIPS_LINUX_PROCESS_HH__
#include "arch/mips/process.hh"
#include "arch/mips/linux/linux.hh" #include "arch/mips/linux/linux.hh"
#include "arch/mips/process.hh"
#include "sim/eventq.hh" #include "sim/eventq.hh"
/// A process with emulated Mips/Linux syscalls. /// A process with emulated Mips/Linux syscalls.

View file

@ -39,17 +39,17 @@
* up boot time. * up boot time.
*/ */
#include "arch/vtophys.hh"
#include "arch/mips/idle_event.hh"
#include "arch/mips/linux/system.hh" #include "arch/mips/linux/system.hh"
#include "arch/mips/linux/threadinfo.hh" #include "arch/mips/linux/threadinfo.hh"
#include "arch/mips/idle_event.hh"
#include "arch/mips/system.hh" #include "arch/mips/system.hh"
#include "arch/vtophys.hh"
#include "base/loader/symtab.hh" #include "base/loader/symtab.hh"
#include "cpu/thread_context.hh"
#include "cpu/base.hh" #include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "dev/platform.hh" #include "dev/platform.hh"
#include "kern/linux/printk.hh"
#include "kern/linux/events.hh" #include "kern/linux/events.hh"
#include "kern/linux/printk.hh"
#include "mem/physical.hh" #include "mem/physical.hh"
#include "mem/port.hh" #include "mem/port.hh"
#include "sim/arguments.hh" #include "sim/arguments.hh"

View file

@ -37,16 +37,16 @@
* ISA-specific helper functions for multithreaded execution. * ISA-specific helper functions for multithreaded execution.
*/ */
#include <iostream>
#include "arch/mips/faults.hh" #include "arch/mips/faults.hh"
#include "arch/mips/isa_traits.hh" #include "arch/mips/isa_traits.hh"
#include "arch/mips/mt_constants.hh" #include "arch/mips/mt_constants.hh"
#include "arch/mips/pra_constants.hh" #include "arch/mips/pra_constants.hh"
#include "arch/mips/registers.hh" #include "arch/mips/registers.hh"
#include "base/bitfield.hh" #include "base/bitfield.hh"
#include "base/trace.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "base/trace.hh"
#include <iostream>
namespace MipsISA namespace MipsISA
{ {

View file

@ -32,8 +32,8 @@
#include "arch/mips/isa_traits.hh" #include "arch/mips/isa_traits.hh"
#include "arch/mips/process.hh" #include "arch/mips/process.hh"
#include "base/loader/object_file.hh"
#include "base/loader/elf_object.hh" #include "base/loader/elf_object.hh"
#include "base/loader/object_file.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "mem/page_table.hh" #include "mem/page_table.hh"

View file

@ -34,6 +34,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "sim/process.hh" #include "sim/process.hh"
class LiveProcess; class LiveProcess;

View file

@ -33,15 +33,14 @@
#include "arch/mips/system.hh" #include "arch/mips/system.hh"
#include "arch/vtophys.hh" #include "arch/vtophys.hh"
#include "base/loader/object_file.hh"
#include "base/loader/hex_file.hh" #include "base/loader/hex_file.hh"
#include "base/loader/object_file.hh"
#include "base/loader/symtab.hh" #include "base/loader/symtab.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "mem/physical.hh" #include "mem/physical.hh"
#include "params/MipsSystem.hh" #include "params/MipsSystem.hh"
#include "sim/byteswap.hh" #include "sim/byteswap.hh"
using namespace LittleEndianGuest; using namespace LittleEndianGuest;
MipsSystem::MipsSystem(Params *p) : System(p) MipsSystem::MipsSystem(Params *p) : System(p)

View file

@ -37,13 +37,13 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "sim/system.hh"
#include "base/loader/symtab.hh"
#include "base/loader/hex_file.hh" #include "base/loader/hex_file.hh"
#include "base/loader/symtab.hh"
#include "cpu/pc_event.hh" #include "cpu/pc_event.hh"
#include "kern/system_events.hh" #include "kern/system_events.hh"
#include "params/MipsSystem.hh" #include "params/MipsSystem.hh"
#include "sim/sim_object.hh" #include "sim/sim_object.hh"
#include "sim/system.hh"
class MipsSystem : public System class MipsSystem : public System
{ {

View file

@ -34,18 +34,18 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "arch/mips/pra_constants.hh"
#include "arch/mips/pagetable.hh"
#include "arch/mips/tlb.hh"
#include "arch/mips/faults.hh" #include "arch/mips/faults.hh"
#include "arch/mips/pagetable.hh"
#include "arch/mips/pra_constants.hh"
#include "arch/mips/tlb.hh"
#include "arch/mips/utility.hh" #include "arch/mips/utility.hh"
#include "base/inifile.hh" #include "base/inifile.hh"
#include "base/str.hh" #include "base/str.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "sim/process.hh"
#include "mem/page_table.hh" #include "mem/page_table.hh"
#include "params/MipsTLB.hh" #include "params/MipsTLB.hh"
#include "sim/process.hh"
using namespace std; using namespace std;
using namespace MipsISA; using namespace MipsISA;

View file

@ -38,15 +38,15 @@
#include <map> #include <map>
#include "arch/mips/isa_traits.hh" #include "arch/mips/isa_traits.hh"
#include "arch/mips/pagetable.hh"
#include "arch/mips/utility.hh" #include "arch/mips/utility.hh"
#include "arch/mips/vtophys.hh" #include "arch/mips/vtophys.hh"
#include "arch/mips/pagetable.hh"
#include "base/statistics.hh" #include "base/statistics.hh"
#include "mem/request.hh" #include "mem/request.hh"
#include "params/MipsTLB.hh" #include "params/MipsTLB.hh"
#include "sim/fault_fwd.hh" #include "sim/fault_fwd.hh"
#include "sim/tlb.hh"
#include "sim/sim_object.hh" #include "sim/sim_object.hh"
#include "sim/tlb.hh"
class ThreadContext; class ThreadContext;

View file

@ -32,12 +32,12 @@
#include "arch/mips/isa_traits.hh" #include "arch/mips/isa_traits.hh"
#include "arch/mips/utility.hh" #include "arch/mips/utility.hh"
#include "config/full_system.hh"
#include "cpu/thread_context.hh"
#include "cpu/static_inst.hh"
#include "sim/serialize.hh"
#include "base/bitfield.hh" #include "base/bitfield.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "config/full_system.hh"
#include "cpu/static_inst.hh"
#include "cpu/thread_context.hh"
#include "sim/serialize.hh"
#if FULL_SYSTEM #if FULL_SYSTEM
#include "arch/mips/registers.hh" #include "arch/mips/registers.hh"

View file

@ -33,9 +33,8 @@
#ifndef __ARCH_MIPS_UTILITY_HH__ #ifndef __ARCH_MIPS_UTILITY_HH__
#define __ARCH_MIPS_UTILITY_HH__ #define __ARCH_MIPS_UTILITY_HH__
#include "config/full_system.hh"
#include "arch/mips/types.hh"
#include "arch/mips/isa_traits.hh" #include "arch/mips/isa_traits.hh"
#include "arch/mips/types.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "base/types.hh" #include "base/types.hh"
#include "config/full_system.hh" #include "config/full_system.hh"

View file

@ -37,7 +37,6 @@
#include "arch/mips/isa_traits.hh" #include "arch/mips/isa_traits.hh"
#include "arch/mips/utility.hh" #include "arch/mips/utility.hh"
class ThreadContext; class ThreadContext;
class FunctionalPort; class FunctionalPort;

View file

@ -33,8 +33,8 @@
#define __ARCH_POWER_INSTS_FLOATING_HH__ #define __ARCH_POWER_INSTS_FLOATING_HH__
#include "arch/power/insts/static_inst.hh" #include "arch/power/insts/static_inst.hh"
#include "base/cprintf.hh"
#include "base/bitfield.hh" #include "base/bitfield.hh"
#include "base/cprintf.hh"
namespace PowerISA namespace PowerISA
{ {

View file

@ -32,8 +32,8 @@
#define __ARCH_POWER_INSTS_INTEGER_HH__ #define __ARCH_POWER_INSTS_INTEGER_HH__
#include "arch/power/insts/static_inst.hh" #include "arch/power/insts/static_inst.hh"
#include "base/cprintf.hh"
#include "base/bitfield.hh" #include "base/bitfield.hh"
#include "base/cprintf.hh"
namespace PowerISA namespace PowerISA
{ {

View file

@ -34,15 +34,15 @@
// //
output header {{ output header {{
#include <sstream>
#include <iostream>
#include <iomanip> #include <iomanip>
#include <iostream>
#include <sstream>
#include "arch/power/insts/branch.hh" #include "arch/power/insts/branch.hh"
#include "arch/power/insts/mem.hh"
#include "arch/power/insts/integer.hh"
#include "arch/power/insts/floating.hh"
#include "arch/power/insts/condition.hh" #include "arch/power/insts/condition.hh"
#include "arch/power/insts/floating.hh"
#include "arch/power/insts/integer.hh"
#include "arch/power/insts/mem.hh"
#include "arch/power/insts/misc.hh" #include "arch/power/insts/misc.hh"
#include "arch/power/insts/static_inst.hh" #include "arch/power/insts/static_inst.hh"
#include "arch/power/isa_traits.hh" #include "arch/power/isa_traits.hh"
@ -61,8 +61,8 @@ output decoder {{
#include "arch/power/faults.hh" #include "arch/power/faults.hh"
#include "arch/power/isa_traits.hh" #include "arch/power/isa_traits.hh"
#include "arch/power/utility.hh" #include "arch/power/utility.hh"
#include "base/cprintf.hh"
#include "base/loader/symtab.hh" #include "base/loader/symtab.hh"
#include "base/cprintf.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
using namespace PowerISA; using namespace PowerISA;
@ -70,11 +70,11 @@ using std::isnan;
}}; }};
output exec {{ output exec {{
#include <cmath>
#include "arch/power/faults.hh" #include "arch/power/faults.hh"
#include "arch/power/isa_traits.hh" #include "arch/power/isa_traits.hh"
#include "arch/power/utility.hh" #include "arch/power/utility.hh"
#include <cmath>
#if defined(linux) #if defined(linux)
#include <fenv.h> #include <fenv.h>
#endif #endif

View file

@ -29,10 +29,10 @@
* Authors: Timothy M. Jones * Authors: Timothy M. Jones
*/ */
#include "arch/power/linux/linux.hh"
#include <fcntl.h> #include <fcntl.h>
#include "arch/power/linux/linux.hh"
// open(2) flags translation table // open(2) flags translation table
OpenFlagTransTable PowerLinux::openFlagTable[] = { OpenFlagTransTable PowerLinux::openFlagTable[] = {
#ifdef _MSC_VER #ifdef _MSC_VER

View file

@ -35,11 +35,9 @@
#include "arch/power/linux/linux.hh" #include "arch/power/linux/linux.hh"
#include "arch/power/linux/process.hh" #include "arch/power/linux/process.hh"
#include "arch/power/isa_traits.hh" #include "arch/power/isa_traits.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "kern/linux/linux.hh" #include "kern/linux/linux.hh"
#include "sim/process.hh" #include "sim/process.hh"
#include "sim/syscall_emul.hh" #include "sim/syscall_emul.hh"
#include "sim/system.hh" #include "sim/system.hh"

View file

@ -35,7 +35,6 @@
#include "arch/power/process.hh" #include "arch/power/process.hh"
/// A process with emulated PPC/Linux syscalls. /// A process with emulated PPC/Linux syscalls.
class PowerLinuxProcess : public PowerLiveProcess class PowerLinuxProcess : public PowerLiveProcess
{ {

View file

@ -35,6 +35,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "sim/process.hh" #include "sim/process.hh"
class LiveProcess; class LiveProcess;

View file

@ -40,9 +40,9 @@
#include <map> #include <map>
#include "arch/power/isa_traits.hh" #include "arch/power/isa_traits.hh"
#include "arch/power/pagetable.hh"
#include "arch/power/utility.hh" #include "arch/power/utility.hh"
#include "arch/power/vtophys.hh" #include "arch/power/vtophys.hh"
#include "arch/power/pagetable.hh"
#include "base/statistics.hh" #include "base/statistics.hh"
#include "mem/request.hh" #include "mem/request.hh"
#include "params/PowerTLB.hh" #include "params/PowerTLB.hh"

View file

@ -39,7 +39,6 @@
#include "arch/power/isa_traits.hh" #include "arch/power/isa_traits.hh"
#include "arch/power/utility.hh" #include "arch/power/utility.hh"
class ThreadContext; class ThreadContext;
class FunctionalPort; class FunctionalPort;

View file

@ -31,14 +31,14 @@
#ifndef __ARCH_SPARC_ISA_HH__ #ifndef __ARCH_SPARC_ISA_HH__
#define __ARCH_SPARC_ISA_HH__ #define __ARCH_SPARC_ISA_HH__
#include <ostream>
#include <string>
#include "arch/sparc/registers.hh" #include "arch/sparc/registers.hh"
#include "arch/sparc/types.hh" #include "arch/sparc/types.hh"
#include "config/full_system.hh" #include "config/full_system.hh"
#include "cpu/cpuevent.hh" #include "cpu/cpuevent.hh"
#include <string>
#include <ostream>
class Checkpoint; class Checkpoint;
class EventManager; class EventManager;
class ThreadContext; class ThreadContext;

View file

@ -35,8 +35,8 @@
output header {{ output header {{
#include <cstring> #include <cstring>
#include <sstream>
#include <iostream> #include <iostream>
#include <sstream>
#include "arch/sparc/faults.hh" #include "arch/sparc/faults.hh"
#include "arch/sparc/isa_traits.hh" #include "arch/sparc/isa_traits.hh"
@ -49,14 +49,14 @@ output header {{
}}; }};
output decoder {{ output decoder {{
#include "base/cprintf.hh" #include <algorithm>
#include "base/loader/symtab.hh" #include "base/loader/symtab.hh"
#include "base/cprintf.hh"
#include "base/fenv.hh"
#include "cpu/thread_context.hh" // for Jump::branchTarget() #include "cpu/thread_context.hh" // for Jump::branchTarget()
#include "mem/packet.hh" #include "mem/packet.hh"
#include "base/fenv.hh"
#include <algorithm>
using namespace SparcISA; using namespace SparcISA;
}}; }};
@ -67,16 +67,16 @@ output exec {{
#include "sim/pseudo_inst.hh" #include "sim/pseudo_inst.hh"
#endif #endif
#include <cmath>
#include <limits> #include <limits>
#include <cmath>
#include "arch/sparc/asi.hh" #include "arch/sparc/asi.hh"
#include "base/bigint.hh" #include "base/bigint.hh"
#include "cpu/base.hh" #include "cpu/base.hh"
#include "cpu/exetrace.hh" #include "cpu/exetrace.hh"
#include "sim/sim_exit.hh"
#include "mem/packet.hh" #include "mem/packet.hh"
#include "mem/packet_access.hh" #include "mem/packet_access.hh"
#include "sim/sim_exit.hh"
using namespace SparcISA; using namespace SparcISA;
using namespace std; using namespace std;

View file

@ -32,8 +32,8 @@
#ifndef __ARCH_SPARC_ISA_TRAITS_HH__ #ifndef __ARCH_SPARC_ISA_TRAITS_HH__
#define __ARCH_SPARC_ISA_TRAITS_HH__ #define __ARCH_SPARC_ISA_TRAITS_HH__
#include "arch/sparc/types.hh"
#include "arch/sparc/sparc_traits.hh" #include "arch/sparc/sparc_traits.hh"
#include "arch/sparc/types.hh"
#include "base/types.hh" #include "base/types.hh"
#include "config/full_system.hh" #include "config/full_system.hh"

View file

@ -28,9 +28,10 @@
* Authors: Gabe Black * Authors: Gabe Black
*/ */
#include "arch/sparc/linux/linux.hh"
#include <fcntl.h> #include <fcntl.h>
#include "arch/sparc/linux/linux.hh"
// open(2) flags translation table // open(2) flags translation table
OpenFlagTransTable SparcLinux::openFlagTable[] = { OpenFlagTransTable SparcLinux::openFlagTable[] = {
#ifdef _MSC_VER #ifdef _MSC_VER

View file

@ -30,14 +30,12 @@
* Ali Saidi * Ali Saidi
*/ */
#include "arch/sparc/isa_traits.hh"
#include "arch/sparc/linux/process.hh" #include "arch/sparc/linux/process.hh"
#include "arch/sparc/isa_traits.hh"
#include "arch/sparc/registers.hh" #include "arch/sparc/registers.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "kern/linux/linux.hh" #include "kern/linux/linux.hh"
#include "sim/process.hh" #include "sim/process.hh"
#include "sim/syscall_emul.hh" #include "sim/syscall_emul.hh"

View file

@ -39,7 +39,6 @@
#include "mem/request.hh" #include "mem/request.hh"
namespace SparcISA namespace SparcISA
{ {
template <class XC> template <class XC>

View file

@ -37,11 +37,10 @@
* ISA-specific helper functions for memory mapped IPR accesses. * ISA-specific helper functions for memory mapped IPR accesses.
*/ */
#include "arch/sparc/tlb.hh"
#include "config/full_system.hh" #include "config/full_system.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "mem/packet.hh" #include "mem/packet.hh"
#include "arch/sparc/tlb.hh"
namespace SparcISA namespace SparcISA
{ {

View file

@ -29,8 +29,8 @@
*/ */
#include "arch/sparc/isa_traits.hh" #include "arch/sparc/isa_traits.hh"
#include "arch/sparc/registers.hh"
#include "arch/sparc/nativetrace.hh" #include "arch/sparc/nativetrace.hh"
#include "arch/sparc/registers.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "params/SparcNativeTrace.hh" #include "params/SparcNativeTrace.hh"
#include "sim/byteswap.hh" #include "sim/byteswap.hh"

View file

@ -32,16 +32,16 @@
#include "arch/sparc/asi.hh" #include "arch/sparc/asi.hh"
#include "arch/sparc/handlers.hh" #include "arch/sparc/handlers.hh"
#include "arch/sparc/isa_traits.hh" #include "arch/sparc/isa_traits.hh"
#include "arch/sparc/registers.hh"
#include "arch/sparc/process.hh" #include "arch/sparc/process.hh"
#include "arch/sparc/registers.hh"
#include "arch/sparc/types.hh" #include "arch/sparc/types.hh"
#include "base/loader/object_file.hh"
#include "base/loader/elf_object.hh" #include "base/loader/elf_object.hh"
#include "base/loader/object_file.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "mem/page_table.hh" #include "mem/page_table.hh"
#include "sim/process_impl.hh"
#include "mem/translating_port.hh" #include "mem/translating_port.hh"
#include "sim/process_impl.hh"
#include "sim/system.hh" #include "sim/system.hh"
using namespace std; using namespace std;

View file

@ -34,6 +34,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "sim/byteswap.hh" #include "sim/byteswap.hh"
#include "sim/process.hh" #include "sim/process.hh"

View file

@ -117,19 +117,19 @@
*/ */
#include <sys/signal.h> #include <sys/signal.h>
#include <string>
#include <unistd.h> #include <unistd.h>
#include "arch/vtophys.hh" #include <string>
#include "arch/sparc/remote_gdb.hh" #include "arch/sparc/remote_gdb.hh"
#include "arch/vtophys.hh"
#include "base/intmath.hh" #include "base/intmath.hh"
#include "base/remote_gdb.hh" #include "base/remote_gdb.hh"
#include "base/socket.hh" #include "base/socket.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "config/full_system.hh" #include "config/full_system.hh"
#include "cpu/thread_context.hh"
#include "cpu/static_inst.hh" #include "cpu/static_inst.hh"
#include "cpu/thread_context.hh"
#include "mem/page_table.hh" #include "mem/page_table.hh"
#include "mem/physical.hh" #include "mem/physical.hh"
#include "mem/port.hh" #include "mem/port.hh"

View file

@ -34,9 +34,9 @@
#include <map> #include <map>
#include "arch/sparc/types.hh" #include "arch/sparc/types.hh"
#include "base/pollevent.hh"
#include "base/remote_gdb.hh" #include "base/remote_gdb.hh"
#include "cpu/pc_event.hh" #include "cpu/pc_event.hh"
#include "base/pollevent.hh"
class System; class System;
class ThreadContext; class ThreadContext;

View file

@ -28,14 +28,12 @@
* Authors: Ali Saidi * Authors: Ali Saidi
*/ */
#include "arch/sparc/isa_traits.hh"
#include "arch/sparc/solaris/process.hh" #include "arch/sparc/solaris/process.hh"
#include "arch/sparc/isa_traits.hh"
#include "arch/sparc/registers.hh" #include "arch/sparc/registers.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "kern/solaris/solaris.hh" #include "kern/solaris/solaris.hh"
#include "sim/process.hh" #include "sim/process.hh"
#include "sim/syscall_emul.hh" #include "sim/syscall_emul.hh"

View file

@ -28,10 +28,10 @@
* Authors: Ali Saidi * Authors: Ali Saidi
*/ */
#include "arch/sparc/solaris/solaris.hh"
#include <fcntl.h> #include <fcntl.h>
#include "arch/sparc/solaris/solaris.hh"
// open(2) flags translation table // open(2) flags translation table
OpenFlagTransTable SparcSolaris::openFlagTable[] = { OpenFlagTransTable SparcSolaris::openFlagTable[] = {
#ifdef _MSC_VER #ifdef _MSC_VER

View file

@ -37,7 +37,6 @@
#include "params/SparcSystem.hh" #include "params/SparcSystem.hh"
#include "sim/byteswap.hh" #include "sim/byteswap.hh"
using namespace BigEndianGuest; using namespace BigEndianGuest;
SparcSystem::SparcSystem(Params *p) SparcSystem::SparcSystem(Params *p)

View file

@ -36,8 +36,8 @@
#include "arch/sparc/tlb.hh" #include "arch/sparc/tlb.hh"
#include "base/bitfield.hh" #include "base/bitfield.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "cpu/base.hh" #include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "mem/packet_access.hh" #include "mem/packet_access.hh"
#include "mem/request.hh" #include "mem/request.hh"
#include "sim/system.hh" #include "sim/system.hh"

View file

@ -31,9 +31,10 @@
#ifndef __ARCH_SPARC_TLB_MAP_HH__ #ifndef __ARCH_SPARC_TLB_MAP_HH__
#define __ARCH_SPARC_TLB_MAP_HH__ #define __ARCH_SPARC_TLB_MAP_HH__
#include "arch/sparc/pagetable.hh"
#include <map> #include <map>
#include "arch/sparc/pagetable.hh"
namespace SparcISA namespace SparcISA
{ {

View file

@ -31,9 +31,9 @@
#ifndef __ARCH_SPARC_TYPES_HH__ #ifndef __ARCH_SPARC_TYPES_HH__
#define __ARCH_SPARC_TYPES_HH__ #define __ARCH_SPARC_TYPES_HH__
#include "arch/generic/types.hh"
#include "base/bigint.hh" #include "base/bigint.hh"
#include "base/types.hh" #include "base/types.hh"
#include "arch/generic/types.hh"
namespace SparcISA namespace SparcISA
{ {

View file

@ -34,8 +34,8 @@
#include "arch/sparc/isa_traits.hh" #include "arch/sparc/isa_traits.hh"
#include "arch/sparc/registers.hh" #include "arch/sparc/registers.hh"
#include "arch/sparc/tlb.hh" #include "arch/sparc/tlb.hh"
#include "base/misc.hh"
#include "base/bitfield.hh" #include "base/bitfield.hh"
#include "base/misc.hh"
#include "cpu/static_inst.hh" #include "cpu/static_inst.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "sim/fault_fwd.hh" #include "sim/fault_fwd.hh"

View file

@ -30,10 +30,10 @@
#include <string> #include <string>
#include "arch/sparc/vtophys.hh"
#include "arch/sparc/tlb.hh" #include "arch/sparc/tlb.hh"
#include "base/compiler.hh" #include "arch/sparc/vtophys.hh"
#include "base/chunk_generator.hh" #include "base/chunk_generator.hh"
#include "base/compiler.hh"
#include "base/trace.hh" #include "base/trace.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "mem/vport.hh" #include "mem/vport.hh"

View file

@ -39,15 +39,13 @@
#include "arch/x86/bios/acpi.hh" #include "arch/x86/bios/acpi.hh"
#include "mem/port.hh" #include "mem/port.hh"
#include "params/X86ACPIRSDP.hh"
#include "params/X86ACPIRSDT.hh"
#include "params/X86ACPISysDescTable.hh"
#include "params/X86ACPIXSDT.hh"
#include "sim/byteswap.hh" #include "sim/byteswap.hh"
#include "sim/sim_object.hh" #include "sim/sim_object.hh"
#include "params/X86ACPIRSDP.hh"
#include "params/X86ACPISysDescTable.hh"
#include "params/X86ACPIRSDT.hh"
#include "params/X86ACPIXSDT.hh"
using namespace std; using namespace std;
const char X86ISA::ACPI::RSDP::signature[] = "RSD PTR "; const char X86ISA::ACPI::RSDP::signature[] = "RSD PTR ";

View file

@ -44,13 +44,12 @@
#include <vector> #include <vector>
#include "base/bitfield.hh" #include "base/bitfield.hh"
#include "sim/sim_object.hh"
#include "enums/X86IntelMPAddressType.hh" #include "enums/X86IntelMPAddressType.hh"
#include "enums/X86IntelMPInterruptType.hh" #include "enums/X86IntelMPInterruptType.hh"
#include "enums/X86IntelMPPolarity.hh" #include "enums/X86IntelMPPolarity.hh"
#include "enums/X86IntelMPRangeList.hh" #include "enums/X86IntelMPRangeList.hh"
#include "enums/X86IntelMPTriggerMode.hh" #include "enums/X86IntelMPTriggerMode.hh"
#include "sim/sim_object.hh"
class FunctionalPort; class FunctionalPort;

View file

@ -40,9 +40,9 @@
#ifndef __ARCH_X86_EMULENV_HH__ #ifndef __ARCH_X86_EMULENV_HH__
#define __ARCH_X86_EMULENV_HH__ #define __ARCH_X86_EMULENV_HH__
#include "arch/x86/registers.hh"
#include "arch/x86/regs/int.hh" #include "arch/x86/regs/int.hh"
#include "arch/x86/regs/segment.hh" #include "arch/x86/regs/segment.hh"
#include "arch/x86/registers.hh"
#include "arch/x86/types.hh" #include "arch/x86/types.hh"
namespace X86ISA namespace X86ISA

View file

@ -40,13 +40,13 @@
#ifndef __ARCH_X86_FAULTS_HH__ #ifndef __ARCH_X86_FAULTS_HH__
#define __ARCH_X86_FAULTS_HH__ #define __ARCH_X86_FAULTS_HH__
#include <string>
#include "base/bitunion.hh" #include "base/bitunion.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "sim/faults.hh" #include "sim/faults.hh"
#include "sim/tlb.hh" #include "sim/tlb.hh"
#include <string>
namespace X86ISA namespace X86ISA
{ {
// Base class for all x86 "faults" where faults is in the m5 sense // Base class for all x86 "faults" where faults is in the m5 sense

View file

@ -38,8 +38,8 @@
*/ */
#include "arch/x86/insts/badmicroop.hh" #include "arch/x86/insts/badmicroop.hh"
#include "arch/x86/isa_traits.hh"
#include "arch/x86/decoder.hh" #include "arch/x86/decoder.hh"
#include "arch/x86/isa_traits.hh"
namespace X86ISA namespace X86ISA
{ {

View file

@ -40,10 +40,10 @@
#ifndef __ARCH_X86_INSTS_MACROOP_HH__ #ifndef __ARCH_X86_INSTS_MACROOP_HH__
#define __ARCH_X86_INSTS_MACROOP_HH__ #define __ARCH_X86_INSTS_MACROOP_HH__
#include "arch/x86/emulenv.hh"
#include "arch/x86/insts/badmicroop.hh" #include "arch/x86/insts/badmicroop.hh"
#include "arch/x86/types.hh"
#include "arch/x86/insts/static_inst.hh" #include "arch/x86/insts/static_inst.hh"
#include "arch/x86/emulenv.hh"
#include "arch/x86/types.hh"
namespace X86ISA namespace X86ISA
{ {

View file

@ -37,9 +37,10 @@
* Authors: Gabe Black * Authors: Gabe Black
*/ */
#include <string>
#include "arch/x86/insts/microfpop.hh" #include "arch/x86/insts/microfpop.hh"
#include "arch/x86/regs/misc.hh" #include "arch/x86/regs/misc.hh"
#include <string>
namespace X86ISA namespace X86ISA
{ {

View file

@ -37,9 +37,10 @@
* Authors: Gabe Black * Authors: Gabe Black
*/ */
#include "arch/x86/insts/microldstop.hh"
#include <string> #include <string>
#include "arch/x86/insts/microldstop.hh"
namespace X86ISA namespace X86ISA
{ {
std::string LdStOp::generateDisassembly(Addr pc, std::string LdStOp::generateDisassembly(Addr pc,

View file

@ -28,9 +28,10 @@
* Authors: Gabe Black * Authors: Gabe Black
*/ */
#include <string>
#include "arch/x86/insts/micromediaop.hh" #include "arch/x86/insts/micromediaop.hh"
#include "arch/x86/regs/misc.hh" #include "arch/x86/regs/misc.hh"
#include <string>
namespace X86ISA namespace X86ISA
{ {

View file

@ -37,9 +37,9 @@
* Authors: Gabe Black * Authors: Gabe Black
*/ */
#include "arch/x86/regs/apic.hh"
#include "arch/x86/interrupts.hh" #include "arch/x86/interrupts.hh"
#include "arch/x86/intmessage.hh" #include "arch/x86/intmessage.hh"
#include "arch/x86/regs/apic.hh"
#include "cpu/base.hh" #include "cpu/base.hh"
#include "dev/x86/i82094aa.hh" #include "dev/x86/i82094aa.hh"
#include "dev/x86/pc.hh" #include "dev/x86/pc.hh"

View file

@ -40,13 +40,13 @@
#ifndef __ARCH_X86_INTERRUPTS_HH__ #ifndef __ARCH_X86_INTERRUPTS_HH__
#define __ARCH_X86_INTERRUPTS_HH__ #define __ARCH_X86_INTERRUPTS_HH__
#include "arch/x86/regs/apic.hh"
#include "arch/x86/faults.hh" #include "arch/x86/faults.hh"
#include "arch/x86/intmessage.hh" #include "arch/x86/intmessage.hh"
#include "arch/x86/regs/apic.hh"
#include "base/bitfield.hh" #include "base/bitfield.hh"
#include "cpu/thread_context.hh" #include "cpu/thread_context.hh"
#include "dev/io_device.hh"
#include "dev/x86/intdev.hh" #include "dev/x86/intdev.hh"
#include "dev/io_device.hh"
#include "params/X86LocalApic.hh" #include "params/X86LocalApic.hh"
#include "sim/eventq.hh" #include "sim/eventq.hh"

View file

@ -31,14 +31,14 @@
#ifndef __ARCH_X86_ISA_HH__ #ifndef __ARCH_X86_ISA_HH__
#define __ARCH_X86_ISA_HH__ #define __ARCH_X86_ISA_HH__
#include "arch/x86/registers.hh" #include <iostream>
#include <string>
#include "arch/x86/regs/float.hh" #include "arch/x86/regs/float.hh"
#include "arch/x86/regs/misc.hh" #include "arch/x86/regs/misc.hh"
#include "arch/x86/registers.hh"
#include "base/types.hh" #include "base/types.hh"
#include <string>
#include <iostream>
class Checkpoint; class Checkpoint;
class EventManager; class EventManager;
class ThreadContext; class ThreadContext;

View file

@ -50,17 +50,17 @@ let {{
output header {{ output header {{
#include <cstring> #include <cstring>
#include <sstream>
#include <iostream> #include <iostream>
#include <sstream>
#include "arch/generic/debugfaults.hh" #include "arch/generic/debugfaults.hh"
#include "arch/x86/emulenv.hh"
#include "arch/x86/insts/macroop.hh" #include "arch/x86/insts/macroop.hh"
#include "arch/x86/insts/microfpop.hh" #include "arch/x86/insts/microfpop.hh"
#include "arch/x86/insts/microldstop.hh" #include "arch/x86/insts/microldstop.hh"
#include "arch/x86/insts/micromediaop.hh" #include "arch/x86/insts/micromediaop.hh"
#include "arch/x86/insts/microregop.hh" #include "arch/x86/insts/microregop.hh"
#include "arch/x86/insts/static_inst.hh" #include "arch/x86/insts/static_inst.hh"
#include "arch/x86/emulenv.hh"
#include "arch/x86/isa_traits.hh" #include "arch/x86/isa_traits.hh"
#include "arch/x86/registers.hh" #include "arch/x86/registers.hh"
#include "arch/x86/types.hh" #include "arch/x86/types.hh"
@ -73,14 +73,14 @@ using X86ISA::InstRegIndex;
}}; }};
output decoder {{ output decoder {{
#include "arch/x86/faults.hh"
#include "arch/x86/microcode_rom.hh"
#include "arch/x86/regs/float.hh" #include "arch/x86/regs/float.hh"
#include "arch/x86/regs/misc.hh" #include "arch/x86/regs/misc.hh"
#include "arch/x86/regs/segment.hh" #include "arch/x86/regs/segment.hh"
#include "arch/x86/faults.hh"
#include "arch/x86/microcode_rom.hh"
#include "arch/x86/tlb.hh" #include "arch/x86/tlb.hh"
#include "base/cprintf.hh"
#include "base/loader/symtab.hh" #include "base/loader/symtab.hh"
#include "base/cprintf.hh"
#include "base/misc.hh" #include "base/misc.hh"
#include "cpu/thread_context.hh" // for Jump::branchTarget() #include "cpu/thread_context.hh" // for Jump::branchTarget()
#include "mem/packet.hh" #include "mem/packet.hh"
@ -106,23 +106,23 @@ output exec {{
#include "sim/pseudo_inst.hh" #include "sim/pseudo_inst.hh"
#endif #endif
#include <cmath>
#include <limits> #include <limits>
#include <cmath> #include "arch/x86/regs/misc.hh"
#include "arch/x86/cpuid.hh" #include "arch/x86/cpuid.hh"
#include "arch/x86/faults.hh" #include "arch/x86/faults.hh"
#include "arch/x86/regs/misc.hh"
#include "arch/x86/tlb.hh" #include "arch/x86/tlb.hh"
#include "base/bigint.hh" #include "base/bigint.hh"
#include "base/compiler.hh" #include "base/compiler.hh"
#include "base/condcodes.hh" #include "base/condcodes.hh"
#include "cpu/base.hh" #include "cpu/base.hh"
#include "cpu/exetrace.hh" #include "cpu/exetrace.hh"
#include "sim/sim_exit.hh"
#include "mem/packet.hh" #include "mem/packet.hh"
#include "mem/packet_access.hh" #include "mem/packet_access.hh"
#include "mem/request.hh" #include "mem/request.hh"
#include "sim/pseudo_inst.hh" #include "sim/pseudo_inst.hh"
#include "sim/sim_exit.hh"
using namespace X86ISA; using namespace X86ISA;
using namespace std; using namespace std;

Some files were not shown because too many files have changed in this diff Show more