* Kevin Lim
*/
-#include "arch/alpha/ev5.hh"
#include "arch/alpha/faults.hh"
+
+#include "arch/alpha/ev5.hh"
#include "arch/alpha/tlb.hh"
#include "base/trace.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "mem/page_table.hh"
-#include "sim/process.hh"
#include "sim/full_system.hh"
+#include "sim/process.hh"
namespace AlphaISA {
*/
#include "arch/alpha/freebsd/system.hh"
+
#include "arch/alpha/system.hh"
#include "arch/isa_traits.hh"
#include "arch/vtophys.hh"
*/
#include "arch/alpha/idle_event.hh"
+
#include "arch/alpha/kernel_stats.hh"
#include "cpu/thread_context.hh"
* Authors: Gabe Black
*/
+#include "arch/alpha/ipr.hh"
+
#include <cassert>
#include <cstring>
-#include "arch/alpha/ipr.hh"
-
namespace AlphaISA {
md_ipr_names MiscRegIndexToIpr[NumInternalProcRegs] = {
* Authors: Gabe Black
*/
+#include "arch/alpha/isa.hh"
+
#include <cassert>
-#include "arch/alpha/isa.hh"
#include "base/misc.hh"
#include "cpu/thread_context.hh"
#include "params/AlphaISA.hh"
* Nathan Binkert
*/
+#include "arch/alpha/kernel_stats.hh"
+
#include <map>
#include <stack>
#include <string>
-#include "arch/generic/linux/threadinfo.hh"
-#include "arch/alpha/kernel_stats.hh"
#include "arch/alpha/osfpal.hh"
+#include "arch/generic/linux/threadinfo.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "debug/Context.hh"
* Ali Saidi
*/
-#include "arch/alpha/linux/linux.hh"
#include "arch/alpha/linux/process.hh"
+
#include "arch/alpha/isa_traits.hh"
+#include "arch/alpha/linux/linux.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "debug/SyscallVerbose.hh"
*/
#include "arch/alpha/linux/system.hh"
+
#include "arch/alpha/idle_event.hh"
#include "arch/alpha/system.hh"
#include "arch/generic/linux/threadinfo.hh"
*/
#include "arch/alpha/pagetable.hh"
+
#include "sim/serialize.hh"
namespace AlphaISA {
* Ali Saidi
*/
-#include "arch/alpha/isa_traits.hh"
#include "arch/alpha/process.hh"
+
+#include "arch/alpha/isa_traits.hh"
#include "base/loader/elf_object.hh"
#include "base/loader/object_file.hh"
#include "base/misc.hh"
* "Stub" to allow remote cpu to debug over a serial line using gdb.
*/
+#include "arch/alpha/remote_gdb.hh"
+
#include <sys/signal.h>
#include <unistd.h>
#include <string>
-
#include "arch/alpha/decoder.hh"
#include "arch/alpha/regredir.hh"
-#include "arch/alpha/remote_gdb.hh"
#include "arch/alpha/utility.hh"
#include "arch/alpha/vtophys.hh"
#include "base/intmath.hh"
#include "debug/GDBMisc.hh"
#include "mem/physical.hh"
#include "mem/port.hh"
-#include "sim/system.hh"
#include "sim/full_system.hh"
+#include "sim/system.hh"
using namespace std;
using namespace AlphaISA;
* Authors: Nathan Binkert
*/
+#include "arch/alpha/stacktrace.hh"
+
#include <string>
#include "arch/alpha/isa_traits.hh"
-#include "arch/alpha/stacktrace.hh"
#include "arch/alpha/vtophys.hh"
#include "base/bitfield.hh"
#include "base/trace.hh"
* Nathan Binkert
*/
+#include "arch/alpha/system.hh"
+
#include <sys/signal.h>
#include "arch/alpha/ev5.hh"
-#include "arch/alpha/system.hh"
#include "arch/vtophys.hh"
#include "base/loader/object_file.hh"
#include "base/loader/symtab.hh"
*/
#include "arch/alpha/utility.hh"
+
#include "arch/alpha/vtophys.hh"
#include "mem/fs_translating_port_proxy.hh"
#include "sim/full_system.hh"
* Ali Saidi
*/
+#include "arch/alpha/vtophys.hh"
+
#include <string>
#include "arch/alpha/ev5.hh"
-#include "arch/alpha/vtophys.hh"
#include "base/chunk_generator.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
*/
#include "arch/arm/faults.hh"
+
+#include "arch/arm/insts/static_inst.hh"
#include "arch/arm/system.hh"
#include "arch/arm/utility.hh"
-#include "arch/arm/insts/static_inst.hh"
#include "base/compiler.hh"
#include "base/trace.hh"
#include "cpu/base.hh"
* Authors: Stephen Hines
*/
-#include <sstream>
-
#include "arch/arm/insts/macromem.hh"
+#include <sstream>
+
#include "arch/arm/generated/decoder.hh"
#include "arch/arm/insts/neon64_mem.hh"
*/
#include "arch/arm/insts/mem.hh"
+
#include "base/loader/symtab.hh"
using namespace std;
*/
#include "arch/arm/insts/mem64.hh"
+
#include "arch/arm/tlb.hh"
#include "base/loader/symtab.hh"
#include "mem/request.hh"
*/
#include "arch/arm/insts/misc.hh"
+
#include "cpu/reg_class.hh"
std::string
*/
#include "arch/arm/insts/pseudo.hh"
+
#include "cpu/exec_context.hh"
DecoderFaultInst::DecoderFaultInst(ExtMachInst _machInst)
*/
#include "arch/arm/insts/static_inst.hh"
+
#include "arch/arm/faults.hh"
-#include "base/loader/symtab.hh"
#include "base/condcodes.hh"
#include "base/cprintf.hh"
+#include "base/loader/symtab.hh"
#include "cpu/reg_class.hh"
namespace ArmISA
*/
#include "arch/arm/interrupts.hh"
+
#include "arch/arm/system.hh"
ArmISA::Interrupts *
*/
#include "arch/arm/isa.hh"
+
#include "arch/arm/pmu.hh"
#include "arch/arm/system.hh"
-#include "cpu/checker/cpu.hh"
#include "cpu/base.hh"
+#include "cpu/checker/cpu.hh"
#include "debug/Arm.hh"
#include "debug/MiscRegs.hh"
#include "dev/arm/generic_timer.hh"
#include "debug/KvmInt.hh"
#include "params/BaseArmKvmCPU.hh"
-
#define INTERRUPT_ID(type, vcpu, irq) ( \
((type) << KVM_ARM_IRQ_TYPE_SHIFT) | \
((vcpu) << KVM_ARM_IRQ_VCPU_SHIFT) | \
* Giacomo Gabrielli
*/
-#include "arch/arm/linux/linux.hh"
#include "arch/arm/linux/process.hh"
+
#include "arch/arm/isa_traits.hh"
+#include "arch/arm/linux/linux.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "kern/linux/linux.hh"
* Authors: Ali Saidi
*/
-#include "arch/arm/linux/atag.hh"
#include "arch/arm/linux/system.hh"
+
#include "arch/arm/isa_traits.hh"
+#include "arch/arm/linux/atag.hh"
#include "arch/arm/utility.hh"
#include "arch/generic/linux/threadinfo.hh"
#include "base/loader/dtb_object.hh"
* Giacomo Gabrielli
*/
-#include "arch/arm/isa.hh"
#include "arch/arm/miscregs.hh"
+
+#include "arch/arm/isa.hh"
#include "base/misc.hh"
#include "cpu/thread_context.hh"
#include "sim/full_system.hh"
* Authors: Gabe Black
*/
+#include "arch/arm/nativetrace.hh"
+
#include "arch/arm/isa_traits.hh"
#include "arch/arm/miscregs.hh"
-#include "arch/arm/nativetrace.hh"
#include "cpu/thread_context.hh"
#include "debug/ExecRegDelta.hh"
#include "params/ArmNativeTrace.hh"
* Ali Saidi
*/
-#include "arch/arm/isa_traits.hh"
#include "arch/arm/process.hh"
+
+#include "arch/arm/isa_traits.hh"
#include "arch/arm/types.hh"
#include "base/loader/elf_object.hh"
#include "base/loader/object_file.hh"
* "Stub" to allow remote cpu to debug over a serial line using gdb.
*/
+#include "arch/arm/remote_gdb.hh"
+
#include <sys/signal.h>
#include <unistd.h>
#include "arch/arm/decoder.hh"
#include "arch/arm/pagetable.hh"
#include "arch/arm/registers.hh"
-#include "arch/arm/remote_gdb.hh"
#include "arch/arm/system.hh"
#include "arch/arm/utility.hh"
#include "arch/arm/vtophys.hh"
* Authors: Nathan Binkert
*/
+#include "arch/arm/stacktrace.hh"
+
#include <string>
#include "arch/arm/isa_traits.hh"
-#include "arch/arm/stacktrace.hh"
#include "arch/arm/vtophys.hh"
#include "base/bitfield.hh"
#include "base/trace.hh"
* Giacomo Gabrielli
*/
-#include "arch/arm/faults.hh"
#include "arch/arm/stage2_lookup.hh"
+
+#include "arch/arm/faults.hh"
#include "arch/arm/system.hh"
#include "arch/arm/table_walker.hh"
#include "arch/arm/tlb.hh"
* Authors: Ali Saidi
*/
+#include "arch/arm/system.hh"
+
#include <iostream>
-#include "arch/arm/system.hh"
#include "base/loader/object_file.hh"
#include "base/loader/symtab.hh"
#include "cpu/thread_context.hh"
-#include "mem/physical.hh"
#include "mem/fs_translating_port_proxy.hh"
+#include "mem/physical.hh"
#include "sim/full_system.hh"
using namespace std;
#include "arch/arm/faults.hh"
#include "arch/arm/pagetable.hh"
-#include "arch/arm/system.hh"
-#include "arch/arm/table_walker.hh"
#include "arch/arm/stage2_lookup.hh"
#include "arch/arm/stage2_mmu.hh"
+#include "arch/arm/system.hh"
+#include "arch/arm/table_walker.hh"
#include "arch/arm/utility.hh"
#include "base/inifile.hh"
#include "base/str.hh"
* Authors: Ali Saidi
*/
+#include "arch/arm/utility.hh"
+
#include <memory>
#include "arch/arm/faults.hh"
#include "arch/arm/isa_traits.hh"
#include "arch/arm/system.hh"
#include "arch/arm/tlb.hh"
-#include "arch/arm/utility.hh"
#include "arch/arm/vtophys.hh"
-#include "cpu/checker/cpu.hh"
#include "cpu/base.hh"
+#include "cpu/checker/cpu.hh"
#include "cpu/thread_context.hh"
#include "mem/fs_translating_port_proxy.hh"
#include "sim/full_system.hh"
* Stephen Hines
*/
+#include "arch/arm/vtophys.hh"
+
#include <string>
#include "arch/arm/faults.hh"
#include "arch/arm/table_walker.hh"
#include "arch/arm/tlb.hh"
-#include "arch/arm/vtophys.hh"
#include "base/chunk_generator.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
*/
#include "arch/generic/decode_cache.hh"
+
#include "arch/decoder.hh"
#include "arch/types.hh"
#include "config/the_isa.hh"
*/
#include "arch/generic/mmapped_ipr.hh"
+
#include "mem/packet.hh"
#include "mem/packet_access.hh"
#include "sim/pseudo_inst.hh"
*/
#include "arch/generic/pseudo_inst.hh"
+
#include "base/misc.hh"
class ThreadContext;
*/
#include "arch/mips/bare_iron/system.hh"
+
#include "params/BareIronMipsSystem.hh"
BareIronMipsSystem::BareIronMipsSystem(Params *p)
*/
#include "arch/mips/dsp.hh"
+
#include "arch/mips/isa_traits.hh"
#include "base/bitfield.hh"
#include "base/misc.hh"
*/
#include "arch/mips/faults.hh"
+
#include "arch/mips/pra_constants.hh"
#include "base/trace.hh"
#include "cpu/base.hh"
*/
#include "arch/mips/idle_event.hh"
+
#include "arch/mips/kernel_stats.hh"
#include "cpu/thread_context.hh"
*/
#include "arch/mips/interrupts.hh"
+
#include "arch/mips/isa_traits.hh"
#include "arch/mips/pra_constants.hh"
#include "base/trace.hh"
*/
#include "arch/mips/isa.hh"
+
#include "arch/mips/mt.hh"
#include "arch/mips/mt_constants.hh"
#include "arch/mips/pra_constants.hh"
* Korey Sewell
*/
-#include "arch/mips/linux/linux.hh"
#include "arch/mips/linux/process.hh"
+
#include "arch/mips/isa_traits.hh"
+#include "arch/mips/linux/linux.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "debug/SyscallVerbose.hh"
* up boot time.
*/
-#include "arch/generic/linux/threadinfo.hh"
#include "arch/mips/linux/system.hh"
+
+#include "arch/generic/linux/threadinfo.hh"
#include "arch/mips/idle_event.hh"
#include "arch/mips/system.hh"
#include "arch/vtophys.hh"
*/
#include "arch/mips/pagetable.hh"
+
#include "sim/serialize.hh"
namespace MipsISA
* Korey Sewell
*/
-#include "arch/mips/isa_traits.hh"
#include "arch/mips/process.hh"
+
+#include "arch/mips/isa_traits.hh"
#include "base/loader/elf_object.hh"
#include "base/loader/object_file.hh"
#include "base/misc.hh"
* "Stub" to allow remote cpu to debug over a serial line using gdb.
*/
+#include "arch/mips/remote_gdb.hh"
+
#include <sys/signal.h>
#include <unistd.h>
#include <string>
#include "arch/mips/decoder.hh"
-#include "arch/mips/remote_gdb.hh"
#include "arch/mips/vtophys.hh"
#include "cpu/thread_state.hh"
#include "debug/GDBAcc.hh"
* Authors: Nathan Binkert
*/
+#include "arch/mips/stacktrace.hh"
+
#include <string>
#include "arch/mips/isa_traits.hh"
-#include "arch/mips/stacktrace.hh"
#include "arch/mips/vtophys.hh"
#include "base/bitfield.hh"
#include "base/trace.hh"
*/
#include "arch/mips/system.hh"
+
#include "arch/vtophys.hh"
#include "base/loader/hex_file.hh"
#include "base/loader/object_file.hh"
* Deyuan Guo
*/
+#include "arch/mips/tlb.hh"
+
#include <string>
#include <vector>
#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 "base/inifile.hh"
#include "base/str.hh"
* Authors: Korey Sewell
*/
+#include "arch/mips/utility.hh"
+
#include <cmath>
#include "arch/mips/isa_traits.hh"
#include "arch/mips/registers.hh"
-#include "arch/mips/utility.hh"
#include "arch/mips/vtophys.hh"
#include "base/bitfield.hh"
#include "base/misc.hh"
#include "mem/fs_translating_port_proxy.hh"
#include "sim/serialize.hh"
-
using namespace MipsISA;
using namespace std;
* Jaidev Patwardhan
*/
+#include "arch/mips/vtophys.hh"
+
#include <string>
-#include "arch/mips/vtophys.hh"
#include "base/chunk_generator.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
*/
#include "arch/power/insts/branch.hh"
+
#include "base/loader/symtab.hh"
#include "cpu/thread_context.hh"
*/
#include "arch/power/insts/mem.hh"
+
#include "base/loader/symtab.hh"
using namespace PowerISA;
*/
#include "arch/power/insts/static_inst.hh"
+
#include "cpu/reg_class.hh"
using namespace PowerISA;
*/
#include "arch/power/isa.hh"
+
#include "params/PowerISA.hh"
namespace PowerISA
* Timothy M. Jones
*/
-#include "arch/power/linux/linux.hh"
#include "arch/power/linux/process.hh"
+
#include "arch/power/isa_traits.hh"
+#include "arch/power/linux/linux.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "kern/linux/linux.hh"
*/
#include "arch/power/pagetable.hh"
+
#include "sim/serialize.hh"
namespace PowerISA
* Timothy M. Jones
*/
-#include "arch/power/isa_traits.hh"
#include "arch/power/process.hh"
+
+#include "arch/power/isa_traits.hh"
#include "arch/power/types.hh"
#include "base/loader/elf_object.hh"
#include "base/loader/object_file.hh"
* Authors: Nathan Binkert
*/
+#include "arch/power/stacktrace.hh"
+
#include <string>
-#include "arch/power/stacktrace.hh"
#include "base/trace.hh"
using namespace std;
* Timothy M. Jones
*/
+#include "arch/power/tlb.hh"
+
#include <string>
#include <vector>
#include "arch/power/faults.hh"
#include "arch/power/pagetable.hh"
-#include "arch/power/tlb.hh"
#include "arch/power/utility.hh"
#include "base/inifile.hh"
#include "base/str.hh"
*/
#include "arch/power/utility.hh"
+
#include "base/misc.hh"
namespace PowerISA {
* Kevin Lim
*/
+#include "arch/sparc/faults.hh"
+
#include <algorithm>
-#include "arch/sparc/faults.hh"
#include "arch/sparc/isa_traits.hh"
#include "arch/sparc/process.hh"
#include "arch/sparc/types.hh"
#include "base/bitfield.hh"
#include "base/trace.hh"
-#include "sim/full_system.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "mem/page_table.hh"
-#include "sim/process.hh"
#include "sim/full_system.hh"
+#include "sim/process.hh"
using namespace std;
* Authors: Gabe Black
*/
+#include "arch/sparc/isa.hh"
+
#include "arch/sparc/asi.hh"
#include "arch/sparc/decoder.hh"
-#include "arch/sparc/isa.hh"
#include "base/bitfield.hh"
#include "base/trace.hh"
#include "cpu/base.hh"
*/
#include "arch/sparc/linux/process.hh"
+
#include "arch/sparc/isa_traits.hh"
#include "arch/sparc/registers.hh"
#include "base/trace.hh"
* Authors: Gabe Black
*/
-#include "arch/sparc/isa_traits.hh"
#include "arch/sparc/nativetrace.hh"
+
+#include "arch/sparc/isa_traits.hh"
#include "arch/sparc/registers.hh"
#include "cpu/thread_context.hh"
#include "params/SparcNativeTrace.hh"
*/
#include "arch/sparc/pagetable.hh"
+
#include "sim/serialize.hh"
namespace SparcISA
* Ali Saidi
*/
+#include "arch/sparc/process.hh"
+
#include "arch/sparc/asi.hh"
#include "arch/sparc/handlers.hh"
#include "arch/sparc/isa_traits.hh"
-#include "arch/sparc/process.hh"
#include "arch/sparc/registers.hh"
#include "arch/sparc/types.hh"
#include "base/loader/elf_object.hh"
* "Stub" to allow remote cpu to debug over a serial line using gdb.
*/
-#include <signal.h>
+#include "arch/sparc/remote_gdb.hh"
+
#include <sys/signal.h>
#include <unistd.h>
+#include <csignal>
#include <string>
-#include "arch/sparc/remote_gdb.hh"
#include "arch/vtophys.hh"
#include "base/intmath.hh"
#include "base/remote_gdb.hh"
*/
#include "arch/sparc/solaris/process.hh"
+
#include "arch/sparc/isa_traits.hh"
#include "arch/sparc/registers.hh"
#include "base/trace.hh"
*/
#include "arch/sparc/system.hh"
+
#include "arch/vtophys.hh"
#include "base/loader/object_file.hh"
#include "base/loader/symtab.hh"
* Authors: Ali Saidi
*/
+#include "arch/sparc/tlb.hh"
+
#include <cstring>
#include "arch/sparc/asi.hh"
#include "arch/sparc/faults.hh"
#include "arch/sparc/registers.hh"
-#include "arch/sparc/tlb.hh"
#include "base/bitfield.hh"
#include "base/trace.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "debug/Quiesce.hh"
#include "debug/Timer.hh"
-#include "sim/system.hh"
#include "sim/full_system.hh"
+#include "sim/system.hh"
using namespace SparcISA;
using namespace std;
* Ali Saidi
*/
-#include "arch/sparc/faults.hh"
#include "arch/sparc/utility.hh"
+
+#include "arch/sparc/faults.hh"
#include "arch/sparc/vtophys.hh"
#include "mem/fs_translating_port_proxy.hh"
* Authors: Ali Saidi
*/
+#include "arch/sparc/vtophys.hh"
+
#include <string>
#include "arch/sparc/tlb.hh"
-#include "arch/sparc/vtophys.hh"
#include "base/chunk_generator.hh"
#include "base/compiler.hh"
#include "base/trace.hh"
*/
#include "arch/x86/bios/acpi.hh"
+
#include "mem/port.hh"
#include "params/X86ACPIRSDP.hh"
#include "params/X86ACPIRSDT.hh"
*/
#include "arch/x86/bios/e820.hh"
+
#include "arch/x86/isa_traits.hh"
#include "mem/port_proxy.hh"
#include "sim/byteswap.hh"
*/
#include "arch/x86/bios/intelmp.hh"
+
#include "arch/x86/isa_traits.hh"
#include "base/misc.hh"
#include "base/types.hh"
*/
#include "arch/x86/bios/smbios.hh"
+
#include "arch/x86/isa_traits.hh"
#include "base/types.hh"
#include "mem/port_proxy.hh"
*/
#include "arch/x86/cpuid.hh"
+
#include "base/bitfield.hh"
#include "cpu/thread_context.hh"
*/
#include "arch/x86/decoder.hh"
+
#include "arch/x86/regs/misc.hh"
#include "base/misc.hh"
#include "base/trace.hh"
* Authors: Gabe Black
*/
+#include "arch/x86/emulenv.hh"
+
#include <cassert>
-#include "arch/x86/emulenv.hh"
#include "base/misc.hh"
using namespace X86ISA;
* Authors: Gabe Black
*/
-#include "arch/x86/generated/decoder.hh"
#include "arch/x86/faults.hh"
+
+#include "arch/x86/generated/decoder.hh"
#include "arch/x86/isa_traits.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
* Authors: Gabe Black
*/
-#include "arch/x86/generated/decoder.hh"
#include "arch/x86/insts/badmicroop.hh"
+
+#include "arch/x86/generated/decoder.hh"
#include "arch/x86/isa_traits.hh"
namespace X86ISA
* Authors: Gabe Black
*/
+#include "arch/x86/insts/microfpop.hh"
+
#include <string>
-#include "arch/x86/insts/microfpop.hh"
#include "arch/x86/regs/misc.hh"
namespace X86ISA
* Authors: Gabe Black
*/
-#include <string>
-
#include "arch/x86/insts/microldstop.hh"
+#include <string>
+
namespace X86ISA
{
std::string LdStOp::generateDisassembly(Addr pc,
* Authors: Gabe Black
*/
+#include "arch/x86/insts/micromediaop.hh"
+
#include <string>
-#include "arch/x86/insts/micromediaop.hh"
#include "arch/x86/regs/misc.hh"
namespace X86ISA
*/
#include "arch/x86/insts/microop.hh"
+
#include "arch/x86/regs/misc.hh"
namespace X86ISA
* Authors: Gabe Black
*/
+#include "arch/x86/insts/microregop.hh"
+
#include <string>
-#include "arch/x86/insts/microregop.hh"
#include "arch/x86/regs/misc.hh"
#include "base/condcodes.hh"
#include "debug/X86.hh"
*/
#include "arch/x86/insts/static_inst.hh"
+
#include "arch/x86/regs/segment.hh"
#include "cpu/reg_class.hh"
* Authors: Gabe Black
*/
+#include "arch/x86/interrupts.hh"
+
#include <memory>
-#include "arch/x86/regs/apic.hh"
-#include "arch/x86/interrupts.hh"
#include "arch/x86/intmessage.hh"
+#include "arch/x86/regs/apic.hh"
#include "cpu/base.hh"
#include "debug/LocalApic.hh"
#include "dev/x86/i82094aa.hh"
#include "dev/x86/pc.hh"
#include "dev/x86/south_bridge.hh"
#include "mem/packet_access.hh"
-#include "sim/system.hh"
#include "sim/full_system.hh"
+#include "sim/system.hh"
int
divideFromConf(uint32_t conf)
* Authors: Gabe Black
*/
-#include "arch/x86/decoder.hh"
#include "arch/x86/isa.hh"
+
+#include "arch/x86/decoder.hh"
#include "arch/x86/tlb.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
* Authors: Gabe Black
*/
-#include "arch/x86/linux/linux.hh"
#include "arch/x86/linux/process.hh"
+
#include "arch/x86/isa_traits.hh"
+#include "arch/x86/linux/linux.hh"
#include "arch/x86/registers.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
*/
#include "arch/x86/linux/system.hh"
-#include "arch/x86/regs/int.hh"
-#include "arch/x86/isa_traits.hh"
+
#include "arch/vtophys.hh"
+#include "arch/x86/isa_traits.hh"
+#include "arch/x86/regs/int.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "mem/port_proxy.hh"
* Authors: Gabe Black
*/
+#include "arch/x86/nativetrace.hh"
+
+#include "arch/x86/isa_traits.hh"
#include "arch/x86/regs/float.hh"
#include "arch/x86/regs/int.hh"
-#include "arch/x86/isa_traits.hh"
-#include "arch/x86/nativetrace.hh"
#include "cpu/thread_context.hh"
#include "debug/ExecRegDelta.hh"
#include "params/X86NativeTrace.hh"
* Authors: Gabe Black
*/
+#include "arch/x86/pagetable.hh"
+
#include <cmath>
+
#include "arch/x86/isa_traits.hh"
-#include "arch/x86/pagetable.hh"
#include "sim/serialize.hh"
namespace X86ISA
* Authors: Gabe Black
*/
+#include "arch/x86/pagetable_walker.hh"
+
#include <memory>
#include "arch/x86/pagetable.hh"
-#include "arch/x86/pagetable_walker.hh"
#include "arch/x86/tlb.hh"
#include "arch/x86/vtophys.hh"
#include "base/bitfield.hh"
* Ali Saidi
*/
+#include "arch/x86/process.hh"
+
+#include "arch/x86/isa_traits.hh"
#include "arch/x86/regs/misc.hh"
#include "arch/x86/regs/segment.hh"
-#include "arch/x86/isa_traits.hh"
-#include "arch/x86/process.hh"
#include "arch/x86/system.hh"
#include "arch/x86/types.hh"
#include "base/loader/elf_object.hh"
*/
#include "arch/x86/pseudo_inst.hh"
+
#include "arch/x86/system.hh"
#include "debug/PseudoInst.hh"
#include "sim/process.hh"
* Boris Shingarov
*/
+#include "arch/x86/remote_gdb.hh"
+
#include <sys/signal.h>
#include <unistd.h>
#include <string>
-#include "arch/x86/regs/int.hh"
-#include "arch/x86/regs/misc.hh"
+#include "arch/vtophys.hh"
#include "arch/x86/pagetable_walker.hh"
#include "arch/x86/process.hh"
-#include "arch/x86/remote_gdb.hh"
-#include "arch/vtophys.hh"
+#include "arch/x86/regs/int.hh"
+#include "arch/x86/regs/misc.hh"
#include "base/remote_gdb.hh"
#include "base/socket.hh"
#include "base/trace.hh"
* Authors: Nathan Binkert
*/
+#include "arch/x86/stacktrace.hh"
+
#include <string>
#include "arch/x86/isa_traits.hh"
-#include "arch/x86/stacktrace.hh"
#include "arch/x86/vtophys.hh"
#include "base/bitfield.hh"
#include "base/trace.hh"
* Authors: Gabe Black
*/
+#include "arch/x86/system.hh"
+
+#include "arch/vtophys.hh"
#include "arch/x86/bios/intelmp.hh"
#include "arch/x86/bios/smbios.hh"
-#include "arch/x86/regs/misc.hh"
#include "arch/x86/isa_traits.hh"
-#include "arch/x86/system.hh"
-#include "arch/vtophys.hh"
+#include "arch/x86/regs/misc.hh"
+#include "base/intmath.hh"
#include "base/loader/object_file.hh"
#include "base/loader/symtab.hh"
-#include "base/intmath.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "mem/port_proxy.hh"
* Authors: Gabe Black
*/
+#include "arch/x86/tlb.hh"
+
#include <cstring>
#include <memory>
#include "arch/generic/mmapped_ipr.hh"
-#include "arch/x86/insts/microldstop.hh"
-#include "arch/x86/regs/misc.hh"
-#include "arch/x86/regs/msr.hh"
#include "arch/x86/faults.hh"
+#include "arch/x86/insts/microldstop.hh"
#include "arch/x86/pagetable.hh"
#include "arch/x86/pagetable_walker.hh"
-#include "arch/x86/tlb.hh"
+#include "arch/x86/regs/misc.hh"
+#include "arch/x86/regs/msr.hh"
#include "arch/x86/x86_traits.hh"
#include "base/bitfield.hh"
#include "base/trace.hh"
*/
#include "arch/x86/types.hh"
+
#include "sim/serialize.hh"
using namespace X86ISA;
* Authors: Gabe Black
*/
+#include "arch/x86/utility.hh"
+
#include "arch/x86/interrupts.hh"
#include "arch/x86/registers.hh"
#include "arch/x86/tlb.hh"
-#include "arch/x86/utility.hh"
#include "arch/x86/x86_traits.hh"
#include "cpu/base.hh"
#include "fputils/fp80.h"
* Authors: Gabe Black
*/
+#include "arch/x86/vtophys.hh"
+
#include <string>
#include "arch/x86/pagetable_walker.hh"
#include "arch/x86/tlb.hh"
-#include "arch/x86/vtophys.hh"
#include "base/trace.hh"
#include "cpu/thread_context.hh"
#include "debug/VtoPhys.hh"
* Authors: Nathan Binkert
*/
+#include "base/atomicio.hh"
+
#include <cerrno>
#include <cstdio>
-#include "base/atomicio.hh"
-
ssize_t
atomic_read(int fd, void *s, size_t n)
{
* Authors: Gabe Black
*/
-#include <iostream>
-
#include "base/bigint.hh"
+#include <iostream>
+
using namespace std;
ostream & operator << (ostream & os, const Twin64_t & t)
* Authors: Ali Saidi
*/
+#include "base/cp_annotate.hh"
+
#include "arch/generic/linux/threadinfo.hh"
#include "arch/utility.hh"
-#include "base/loader/object_file.hh"
#include "base/callback.hh"
-#include "base/cp_annotate.hh"
+#include "base/loader/object_file.hh"
#include "base/output.hh"
#include "base/trace.hh"
#include "config/the_isa.hh"
* Authors: Nathan Binkert
*/
+#include "base/cprintf.hh"
+
#include <cassert>
#include <iomanip>
#include <iostream>
#include <sstream>
-#include "base/cprintf.hh"
-
using namespace std;
namespace cp {
* Authors: Nathan Binkert
*/
+#include "base/debug.hh"
+
#include <sys/types.h>
#include <unistd.h>
#include <csignal>
#include "base/cprintf.hh"
-#include "base/debug.hh"
#include "base/misc.hh"
using namespace std;
#include <mach/mach_init.h>
#include <mach/shared_region.h>
#include <mach/task.h>
+
#endif
+#include "base/hostinfo.hh"
+
#include <cctype>
#include <cerrno>
#include <cmath>
#include <cstring>
#include <string>
-#include "base/hostinfo.hh"
#include "base/misc.hh"
#include "base/str.hh"
#include "base/types.hh"
* Geoffrey Blake
*/
+#include "base/inet.hh"
+
#include <cstddef>
#include <cstdio>
#include <sstream>
#include <string>
#include "base/cprintf.hh"
-#include "base/inet.hh"
#include "base/types.hh"
using namespace std;
* Steve Reinhardt
*/
+#include "base/inifile.hh"
+
#include <algorithm>
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
-#include "base/inifile.hh"
#include "base/str.hh"
using namespace std;
* Authors: Steve Reinhardt
*/
+#include "base/loader/aout_object.hh"
+
#include <string>
-#include "base/loader/aout_object.hh"
#include "base/loader/exec_aout.h"
#include "base/loader/symtab.hh"
#include "base/trace.hh"
#include <cassert>
-#include "sim/byteswap.hh"
#include "fdt.h"
#include "libfdt.h"
+#include "sim/byteswap.hh"
ObjectFile *
DtbObject::tryFile(const std::string &fname, size_t len, uint8_t *data)
* Authors: Steve Reinhardt
*/
+#include "base/loader/ecoff_object.hh"
+
#include <string>
-#include "base/loader/ecoff_object.hh"
#include "base/loader/symtab.hh"
#include "base/misc.hh"
#include "base/trace.hh"
* Authors: Jaidev Patwardhan
*/
+#include "base/loader/hex_file.hh"
+
#include <cctype>
#include <cstdio>
#include <list>
#include <string>
-#include "base/loader/hex_file.hh"
-#include "base/loader/symtab.hh"
#include "base/cprintf.hh"
+#include "base/loader/symtab.hh"
#include "mem/port_proxy.hh"
using namespace std;
* Steve Reinhardt
*/
+#include "base/loader/object_file.hh"
+
+#include <fcntl.h>
#include <sys/mman.h>
#include <sys/types.h>
-#include <fcntl.h>
#include <unistd.h>
#include <zlib.h>
#include <list>
#include <string>
+#include "base/cprintf.hh"
#include "base/loader/aout_object.hh"
#include "base/loader/dtb_object.hh"
#include "base/loader/ecoff_object.hh"
#include "base/loader/elf_object.hh"
-#include "base/loader/object_file.hh"
#include "base/loader/raw_object.hh"
#include "base/loader/symtab.hh"
-#include "base/cprintf.hh"
#include "mem/port_proxy.hh"
using namespace std;
*/
#include "base/loader/raw_object.hh"
+
#include "base/loader/symtab.hh"
#include "base/trace.hh"
#include "debug/Loader.hh"
* Authors: Nathan Binkert
*/
+#include "base/loader/symtab.hh"
+
#include <fstream>
#include <iostream>
#include <string>
#include <vector>
-#include "base/loader/symtab.hh"
#include "base/misc.hh"
#include "base/str.hh"
#include "base/types.hh"
*/
#include "base/match.hh"
+
#include "base/str.hh"
using namespace std;
* Andreas Sandberg
*/
+#include "base/misc.hh"
+
#include <cstdlib>
#include <cstring>
#include <string>
#include "base/cprintf.hh"
#include "base/hostinfo.hh"
-#include "base/misc.hh"
#include "base/output.hh"
#include "base/trace.hh"
#include "base/types.hh"
* Sascha Bischoff
*/
+#include "base/output.hh"
+
+#include <dirent.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <dirent.h>
#include <unistd.h>
+#include <zfstream.h>
#include <cassert>
#include <cerrno>
#include <cstdlib>
#include <fstream>
-#include <zfstream.h>
-
#include "base/misc.hh"
-#include "base/output.hh"
using namespace std;
#include <sys/ioctl.h>
#include <sys/types.h>
+
#if defined(__sun__) || defined(__SUNPRO_CC)
#include <sys/file.h>
+
#endif
+#include "base/pollevent.hh"
+
#include <fcntl.h>
#include <unistd.h>
#include <csignal>
#include "base/misc.hh"
-#include "base/pollevent.hh"
#include "base/types.hh"
#include "sim/async.hh"
#include "sim/core.hh"
* Andreas Hansson
*/
+#include "base/random.hh"
+
#include <sstream>
#include "base/misc.hh"
-#include "base/random.hh"
#include "sim/serialize.hh"
Random::Random()
* "Stub" to allow remote cpu to debug over a serial line using gdb.
*/
-#include <signal.h>
+#include "base/remote_gdb.hh"
+
#include <sys/signal.h>
#include <unistd.h>
+#include <csignal>
#include <cstdio>
#include <string>
#include "arch/vtophys.hh"
#include "base/intmath.hh"
-#include "base/remote_gdb.hh"
#include "base/socket.hh"
#include "base/trace.hh"
#include "config/the_isa.hh"
#include "cpu/static_inst.hh"
#include "cpu/thread_context.hh"
#include "debug/GDBAll.hh"
-#include "mem/port.hh"
#include "mem/fs_translating_port_proxy.hh"
+#include "mem/port.hh"
#include "mem/se_translating_port_proxy.hh"
#include "sim/full_system.hh"
#include "sim/system.hh"
* Authors: Nathan Binkert
*/
+#include "base/socket.hh"
+
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include <cerrno>
#include "base/misc.hh"
-#include "base/socket.hh"
#include "base/types.hh"
using namespace std;
* Authors: Nathan Binkert
*/
+#include "base/statistics.hh"
+
#include <fstream>
#include <iomanip>
#include <list>
#include "base/debug.hh"
#include "base/hostinfo.hh"
#include "base/misc.hh"
-#include "base/statistics.hh"
#include "base/str.hh"
#include "base/time.hh"
#include "base/trace.hh"
#endif
#if defined(__sun)
-#include <math.h>
+#include <cmath>
+
#endif
#include <cassert>
+
#ifdef __SUNPRO_CC
-#include <math.h>
+#include <cmath>
+
#endif
+#include "base/stats/text.hh"
+
#include <cmath>
#include <fstream>
#include <iostream>
#include <sstream>
#include <string>
-#include "base/stats/info.hh"
-#include "base/stats/text.hh"
#include "base/cast.hh"
#include "base/misc.hh"
+#include "base/stats/info.hh"
#include "base/str.hh"
using namespace std;
* Authors: Nathan Binkert
*/
+#include "base/str.hh"
+
#include <string>
#include <vector>
-#include "base/str.hh"
-
using namespace std;
bool
* Authors: Nathan Binkert
*/
+#include "base/time.hh"
+
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <sstream>
-#include "base/time.hh"
#include "config/use_posix_clock.hh"
#include "sim/core.hh"
#include "sim/serialize.hh"
* Andrew Bardsley
*/
+#include "base/trace.hh"
+
#include <cctype>
#include <fstream>
#include <iostream>
#include "base/misc.hh"
#include "base/output.hh"
#include "base/str.hh"
-#include "base/trace.hh"
const std::string &name()
{
* Implementiation of a VNC input
*/
+#include "base/vnc/vncinput.hh"
+
#include <sys/types.h>
-#include "base/vnc/vncinput.hh"
#include "base/output.hh" //simout
#include "base/trace.hh"
#include "debug/VNC.hh"
#include <unistd.h>
#include <cerrno>
-#include <cstdio>
#include <cstddef>
+#include <cstdio>
#include "base/atomicio.hh"
#include "base/bitmap.hh"
* Authors: Kevin Lim
*/
+#include "cpu/activity.hh"
+
#include <string>
-#include "cpu/activity.hh"
#include "cpu/timebuf.hh"
#include "debug/Activity.hh"
* Rick Strong
*/
+#include "cpu/base.hh"
+
#include <iostream>
#include <sstream>
#include <string>
#include "arch/tlb.hh"
-#include "base/loader/symtab.hh"
#include "base/cprintf.hh"
+#include "base/loader/symtab.hh"
#include "base/misc.hh"
#include "base/output.hh"
#include "base/trace.hh"
#include "cpu/checker/cpu.hh"
-#include "cpu/base.hh"
#include "cpu/cpuevent.hh"
#include "cpu/profile.hh"
#include "cpu/thread_context.hh"
* Geoffrey Blake
*/
+#include "cpu/checker/cpu.hh"
+
#include <list>
#include <string>
#include "arch/generic/tlb.hh"
#include "arch/kernel_stats.hh"
#include "arch/vtophys.hh"
-#include "cpu/checker/cpu.hh"
#include "cpu/base.hh"
#include "cpu/simple_thread.hh"
#include "cpu/static_inst.hh"
*/
#include "cpu/dummy_checker.hh"
+
#include "params/DummyChecker.hh"
////////////////////////////////////////////////////////////////////////
* Steve Raasch
*/
+#include "cpu/exetrace.hh"
+
#include <iomanip>
#include "arch/isa_traits.hh"
#include "base/loader/symtab.hh"
#include "config/the_isa.hh"
#include "cpu/base.hh"
-#include "cpu/exetrace.hh"
#include "cpu/static_inst.hh"
#include "cpu/thread_context.hh"
#include "debug/ExecAll.hh"
* Authors: Steve Raasch
*/
+#include "cpu/func_unit.hh"
+
#include <sstream>
#include "base/misc.hh"
-#include "cpu/func_unit.hh"
using namespace std;
* Steve Raasch
*/
+#include "cpu/inteltrace.hh"
+
#include <iomanip>
#include "config/the_isa.hh"
#include "cpu/exetrace.hh"
-#include "cpu/inteltrace.hh"
#include "cpu/static_inst.hh"
using namespace std;
* Ron Dreslinski
*/
+#include "cpu/intr_control.hh"
+
#include <string>
#include <vector>
#include "base/trace.hh"
#include "cpu/base.hh"
-#include "cpu/intr_control.hh"
#include "cpu/thread_context.hh"
#include "debug/IntrControl.hh"
#include "sim/sim_object.hh"
* Authors: Andreas Sandberg
*/
+#include "cpu/kvm/base.hh"
+
#include <linux/kvm.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include "arch/mmapped_ipr.hh"
#include "arch/utility.hh"
-#include "cpu/kvm/base.hh"
#include "debug/Checkpoint.hh"
#include "debug/Drain.hh"
#include "debug/Kvm.hh"
#include "sim/process.hh"
#include "sim/system.hh"
-#include <signal.h>
-
/* Used by some KVM macros */
#define PAGE_SIZE pageSize
* Authors: Andreas Sandberg
*/
+#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/syscall.h>
#include <sys/types.h>
-#include <fcntl.h>
#include <syscall.h>
#include <unistd.h>
* Authors: Andreas Sandberg
*/
+#include "cpu/kvm/timer.hh"
+
+#include <sys/syscall.h>
+#include <unistd.h>
+
#include <algorithm>
#include <csignal>
#include <ctime>
-#include <unistd.h>
-#include <sys/syscall.h>
#include "base/misc.hh"
#include "base/trace.hh"
-#include "cpu/kvm/timer.hh"
#include "debug/KvmTimer.hh"
/* According to timer_create(2), the value SIGEV_THREAD_ID can be used
* Authors: Andreas Sandberg
*/
+#include "cpu/kvm/vm.hh"
+
+#include <fcntl.h>
#include <linux/kvm.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <fcntl.h>
#include <unistd.h>
#include <cerrno>
#include <memory>
-#include "cpu/kvm/vm.hh"
#include "debug/Kvm.hh"
#include "params/KvmVM.hh"
#include "sim/system.hh"
* Authors: Andreas Sandberg
*/
+#include "cpu/kvm/x86_cpu.hh"
+
#include <linux/kvm.h>
#include <algorithm>
#include <cerrno>
#include <memory>
-#include "arch/x86/regs/msr.hh"
+#include "arch/registers.hh"
#include "arch/x86/cpuid.hh"
+#include "arch/x86/regs/msr.hh"
#include "arch/x86/utility.hh"
-#include "arch/registers.hh"
#include "cpu/kvm/base.hh"
-#include "cpu/kvm/x86_cpu.hh"
#include "debug/Drain.hh"
#include "debug/Kvm.hh"
#include "debug/KvmContext.hh"
* Authors: Andrew Bardsley
*/
+#include "cpu/minor/activity.hh"
+
#include <sstream>
-#include "cpu/minor/activity.hh"
#include "cpu/minor/trace.hh"
namespace Minor
* Authors: Andrew Bardsley
*/
-#include "arch/utility.hh"
#include "cpu/minor/cpu.hh"
+
+#include "arch/utility.hh"
#include "cpu/minor/dyn_inst.hh"
#include "cpu/minor/fetch1.hh"
#include "cpu/minor/pipeline.hh"
*/
#include "cpu/minor/decode.hh"
+
#include "cpu/minor/pipeline.hh"
#include "debug/Decode.hh"
* Authors: Andrew Bardsley
*/
+#include "cpu/minor/dyn_inst.hh"
+
#include <iomanip>
#include <sstream>
#include "arch/isa.hh"
#include "arch/registers.hh"
-#include "cpu/minor/dyn_inst.hh"
-#include "cpu/minor/trace.hh"
#include "cpu/base.hh"
+#include "cpu/minor/trace.hh"
#include "cpu/reg_class.hh"
#include "debug/MinorExecute.hh"
#include "enums/OpClass.hh"
* Authors: Andrew Bardsley
*/
+#include "cpu/minor/execute.hh"
+
#include "arch/locked_mem.hh"
#include "arch/registers.hh"
#include "arch/utility.hh"
#include "cpu/minor/cpu.hh"
#include "cpu/minor/exec_context.hh"
-#include "cpu/minor/execute.hh"
#include "cpu/minor/fetch1.hh"
#include "cpu/minor/lsq.hh"
#include "cpu/op_class.hh"
* Authors: Andrew Bardsley
*/
+#include "cpu/minor/fetch1.hh"
+
#include <cstring>
#include <iomanip>
#include <sstream>
#include "base/cast.hh"
-#include "cpu/minor/fetch1.hh"
#include "cpu/minor/pipeline.hh"
#include "debug/Drain.hh"
#include "debug/Fetch.hh"
* Authors: Andrew Bardsley
*/
+#include "cpu/minor/fetch2.hh"
+
#include <string>
#include "arch/decoder.hh"
#include "arch/utility.hh"
-#include "cpu/minor/fetch2.hh"
#include "cpu/minor/pipeline.hh"
#include "cpu/pred/bpred_unit.hh"
#include "debug/Branch.hh"
* Authors: Andrew Bardsley
*/
+#include "cpu/minor/func_unit.hh"
+
#include <iomanip>
#include <sstream>
#include <typeinfo>
-#include "cpu/minor/func_unit.hh"
#include "debug/MinorTiming.hh"
#include "enums/OpClass.hh"
* Authors: Andrew Bardsley
*/
+#include "cpu/minor/lsq.hh"
+
#include <iomanip>
#include <sstream>
#include "cpu/minor/cpu.hh"
#include "cpu/minor/exec_context.hh"
#include "cpu/minor/execute.hh"
-#include "cpu/minor/lsq.hh"
#include "cpu/minor/pipeline.hh"
#include "debug/Activity.hh"
#include "debug/MinorMem.hh"
* Authors: Andrew Bardsley
*/
+#include "cpu/minor/pipeline.hh"
+
#include <algorithm>
#include "cpu/minor/decode.hh"
#include "cpu/minor/execute.hh"
#include "cpu/minor/fetch1.hh"
#include "cpu/minor/fetch2.hh"
-#include "cpu/minor/pipeline.hh"
#include "debug/Drain.hh"
#include "debug/MinorCPU.hh"
#include "debug/MinorTrace.hh"
* Authors: Andrew Bardsley
*/
-#include "arch/registers.hh"
#include "cpu/minor/scoreboard.hh"
+
+#include "arch/registers.hh"
#include "cpu/reg_class.hh"
#include "debug/MinorScoreboard.hh"
#include "debug/MinorTiming.hh"
* Authors: Gabe Black
*/
-#include "base/socket.hh"
#include "cpu/nativetrace.hh"
+
+#include "base/socket.hh"
#include "cpu/static_inst.hh"
#include "debug/GDBMisc.hh"
#include "params/NativeTrace.hh"
* Authors: Kevin Lim
*/
+#include "cpu/base_dyn_inst_impl.hh"
#include "cpu/o3/cpu.hh"
#include "cpu/o3/isa_specific.hh"
-#include "cpu/base_dyn_inst_impl.hh"
// Explicit instantiation
template class BaseDynInst<O3CPUImpl>;
* Authors: Kevin Lim
*/
-#include "cpu/checker/cpu_impl.hh"
#include "cpu/o3/checker.hh"
+
+#include "cpu/checker/cpu_impl.hh"
#include "params/O3Checker.hh"
class MemObject;
* Rick Strong
*/
+#include "cpu/o3/cpu.hh"
+
#include "arch/kernel_stats.hh"
#include "config/the_isa.hh"
+#include "cpu/activity.hh"
#include "cpu/checker/cpu.hh"
#include "cpu/checker/thread_context.hh"
-#include "cpu/o3/cpu.hh"
#include "cpu/o3/isa_specific.hh"
#include "cpu/o3/thread_context.hh"
-#include "cpu/activity.hh"
#include "cpu/quiesce_event.hh"
#include "cpu/simple_thread.hh"
#include "cpu/thread_context.hh"
#if THE_ISA == ALPHA_ISA
#include "arch/alpha/osfpal.hh"
#include "debug/Activity.hh"
+
#endif
struct BaseCPUParams;
* Authors: Kevin Lim
*/
+#include "cpu/o3/deriv.hh"
+
#include <string>
-#include "cpu/o3/deriv.hh"
#include "params/DerivO3CPU.hh"
DerivO3CPU *
* Authors: Kevin Lim
*/
+#include "cpu/o3/free_list.hh"
+
#include "arch/registers.hh"
#include "base/trace.hh"
#include "config/the_isa.hh"
-#include "cpu/o3/free_list.hh"
#include "debug/FreeList.hh"
UnifiedFreeList::UnifiedFreeList(const std::string &_my_name,
* Authors: Kevin Lim
*/
+#include "cpu/o3/fu_pool.hh"
+
#include <sstream>
-#include "cpu/o3/fu_pool.hh"
#include "cpu/func_unit.hh"
using namespace std;
* Authors: Matt Horsnell
*/
-#include "base/trace.hh"
#include "cpu/o3/probe/simple_trace.hh"
+
+#include "base/trace.hh"
#include "debug/SimpleTrace.hh"
void SimpleTrace::traceCommit(const O3CPUImpl::DynInstPtr &dynInst)
* Steve Reinhardt
*/
-#include "cpu/o3/free_list.hh"
#include "cpu/o3/regfile.hh"
+#include "cpu/o3/free_list.hh"
PhysRegFile::PhysRegFile(unsigned _numPhysicalIntRegs,
unsigned _numPhysicalFloatRegs,
* Authors: Kevin Lim
*/
+#include "cpu/o3/rename_map.hh"
+
#include <vector>
-#include "cpu/o3/rename_map.hh"
#include "debug/Rename.hh"
using namespace std;
* Kevin Lim
*/
-#include "config/the_isa.hh"
#include "cpu/o3/scoreboard.hh"
+
+#include "config/the_isa.hh"
#include "debug/Scoreboard.hh"
Scoreboard::Scoreboard(const std::string &_my_name,
* Authors: Kevin Lim
*/
+#include "cpu/o3/store_set.hh"
+
#include "base/intmath.hh"
#include "base/misc.hh"
#include "base/trace.hh"
-#include "cpu/o3/store_set.hh"
#include "debug/StoreSet.hh"
StoreSet::StoreSet(uint64_t clear_period, int _SSIT_size, int _LFST_size)
* Authors: Kevin Lim
*/
-#include "cpu/o3/impl.hh"
#include "cpu/o3/thread_context.hh"
+
+#include "cpu/o3/impl.hh"
#include "cpu/o3/thread_context_impl.hh"
template class O3ThreadContext<O3CPUImpl>;
* Steve Reinhardt
*/
+#include "cpu/pc_event.hh"
+
#include <algorithm>
#include <string>
#include <utility>
#include "base/debug.hh"
#include "base/trace.hh"
#include "cpu/base.hh"
-#include "cpu/pc_event.hh"
#include "cpu/thread_context.hh"
#include "debug/PCEvent.hh"
#include "sim/core.hh"
* Authors: Kevin Lim
*/
+#include "cpu/pred/2bit_local.hh"
+
#include "base/intmath.hh"
#include "base/misc.hh"
#include "base/trace.hh"
-#include "cpu/pred/2bit_local.hh"
#include "debug/Fetch.hh"
LocalBP::LocalBP(const LocalBPParams *params)
* Implementation of a bi-mode branch predictor
*/
+#include "cpu/pred/bi_mode.hh"
+
#include "base/bitfield.hh"
#include "base/intmath.hh"
-#include "cpu/pred/bi_mode.hh"
BiModeBP::BiModeBP(const BiModeBPParams *params)
: BPredUnit(params),
* Authors: Kevin Lim
*/
+#include "cpu/pred/btb.hh"
+
#include "base/intmath.hh"
#include "base/trace.hh"
-#include "cpu/pred/btb.hh"
#include "debug/Fetch.hh"
DefaultBTB::DefaultBTB(unsigned _numEntries,
* Authors: Kevin Lim
*/
+#include "cpu/pred/tournament.hh"
+
#include "base/bitfield.hh"
#include "base/intmath.hh"
-#include "cpu/pred/tournament.hh"
TournamentBP::TournamentBP(const TournamentBPParams *params)
: BPredUnit(params),
* Authors: Nathan Binkert
*/
+#include "cpu/profile.hh"
+
#include <string>
-#include "base/loader/symtab.hh"
#include "base/bitfield.hh"
#include "base/callback.hh"
+#include "base/loader/symtab.hh"
#include "base/statistics.hh"
#include "base/trace.hh"
#include "cpu/base.hh"
-#include "cpu/profile.hh"
#include "cpu/thread_context.hh"
using namespace std;
* Authors: Kevin Lim
*/
-#include "cpu/base.hh"
#include "cpu/quiesce_event.hh"
+
+#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "debug/Quiesce.hh"
* Authors: Steve Reinhardt
*/
+#include "cpu/simple/atomic.hh"
+
#include "arch/locked_mem.hh"
#include "arch/mmapped_ipr.hh"
#include "arch/utility.hh"
#include "base/bigint.hh"
#include "base/output.hh"
#include "config/the_isa.hh"
-#include "cpu/simple/atomic.hh"
#include "cpu/exetrace.hh"
#include "debug/Drain.hh"
#include "debug/ExecFaulting.hh"
#include "mem/physical.hh"
#include "params/AtomicSimpleCPU.hh"
#include "sim/faults.hh"
-#include "sim/system.hh"
#include "sim/full_system.hh"
+#include "sim/system.hh"
using namespace std;
using namespace TheISA;
* Authors: Steve Reinhardt
*/
+#include "cpu/simple/base.hh"
+
#include "arch/kernel_stats.hh"
#include "arch/stacktrace.hh"
#include "arch/tlb.hh"
#include "arch/utility.hh"
#include "arch/vtophys.hh"
-#include "base/loader/symtab.hh"
#include "base/cp_annotate.hh"
#include "base/cprintf.hh"
#include "base/inifile.hh"
+#include "base/loader/symtab.hh"
#include "base/misc.hh"
#include "base/pollevent.hh"
#include "base/trace.hh"
#include "base/types.hh"
#include "config/the_isa.hh"
-#include "cpu/simple/base.hh"
#include "cpu/base.hh"
#include "cpu/checker/cpu.hh"
#include "cpu/checker/thread_context.hh"
* Curtis Dunham
*/
-#include "base/output.hh"
#include "cpu/simple/probes/simpoint.hh"
+#include "base/output.hh"
+
SimPoint::SimPoint(const SimPointParams *p)
: ProbeListenerObject(p),
intervalSize(p->interval),
* Authors: Steve Reinhardt
*/
+#include "cpu/simple/timing.hh"
+
#include "arch/locked_mem.hh"
#include "arch/mmapped_ipr.hh"
#include "arch/utility.hh"
#include "base/bigint.hh"
#include "config/the_isa.hh"
-#include "cpu/simple/timing.hh"
#include "cpu/exetrace.hh"
#include "debug/Config.hh"
#include "debug/Drain.hh"
#include "debug/ExecFaulting.hh"
+#include "debug/Mwait.hh"
#include "debug/SimpleCPU.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
#include "sim/full_system.hh"
#include "sim/system.hh"
-#include "debug/Mwait.hh"
-
using namespace std;
using namespace TheISA;
* Kevin Lim
*/
+#include "cpu/simple_thread.hh"
+
#include <string>
#include "arch/isa_traits.hh"
#include "cpu/base.hh"
#include "cpu/profile.hh"
#include "cpu/quiesce_event.hh"
-#include "cpu/simple_thread.hh"
#include "cpu/thread_context.hh"
#include "mem/fs_translating_port_proxy.hh"
#include "mem/se_translating_port_proxy.hh"
* Nathan Binkert
*/
+#include "cpu/static_inst.hh"
+
#include <iostream>
-#include "cpu/static_inst.hh"
#include "sim/core.hh"
StaticInstPtr StaticInst::nullStaticInstPtr;
*/
#include "cpu/testers/directedtest/DirectedGenerator.hh"
+
#include "sim/system.hh"
DirectedGenerator::DirectedGenerator(const Params *p)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "cpu/testers/directedtest/DirectedGenerator.hh"
#include "cpu/testers/directedtest/InvalidateGenerator.hh"
+
+#include "cpu/testers/directedtest/DirectedGenerator.hh"
#include "cpu/testers/directedtest/RubyDirectedTester.hh"
#include "debug/DirectedTest.hh"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "cpu/testers/directedtest/DirectedGenerator.hh"
#include "cpu/testers/directedtest/RubyDirectedTester.hh"
+
+#include "cpu/testers/directedtest/DirectedGenerator.hh"
#include "debug/DirectedTest.hh"
#include "sim/sim_exit.hh"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "cpu/testers/directedtest/SeriesRequestGenerator.hh"
+
#include "base/random.hh"
#include "cpu/testers/directedtest/DirectedGenerator.hh"
#include "cpu/testers/directedtest/RubyDirectedTester.hh"
-#include "cpu/testers/directedtest/SeriesRequestGenerator.hh"
#include "debug/DirectedTest.hh"
SeriesRequestGenerator::SeriesRequestGenerator(const Params *p)
* Authors: Tushar Krishna
*/
+#include "cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.hh"
+
#include <cmath>
#include <iomanip>
#include <set>
#include "base/misc.hh"
#include "base/random.hh"
#include "base/statistics.hh"
-#include "cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.hh"
#include "debug/GarnetSyntheticTraffic.hh"
#include "mem/mem_object.hh"
#include "mem/packet.hh"
* Andreas Hansson
*/
+#include "cpu/testers/memtest/memtest.hh"
+
#include "base/random.hh"
#include "base/statistics.hh"
-#include "cpu/testers/memtest/memtest.hh"
#include "debug/MemTest.hh"
#include "mem/mem_object.hh"
#include "sim/sim_exit.hh"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "base/random.hh"
#include "cpu/testers/rubytest/Check.hh"
+
+#include "base/random.hh"
#include "debug/RubyTest.hh"
#include "mem/ruby/common/SubBlock.hh"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "cpu/testers/rubytest/CheckTable.hh"
+
#include "base/intmath.hh"
#include "base/random.hh"
#include "cpu/testers/rubytest/Check.hh"
-#include "cpu/testers/rubytest/CheckTable.hh"
#include "debug/RubyTest.hh"
CheckTable::CheckTable(int _num_writers, int _num_readers, RubyTester* _tester)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "cpu/testers/rubytest/RubyTester.hh"
+
#include "base/misc.hh"
#include "cpu/testers/rubytest/Check.hh"
-#include "cpu/testers/rubytest/RubyTester.hh"
#include "debug/RubyTest.hh"
#include "mem/ruby/common/SubBlock.hh"
#include "sim/sim_exit.hh"
* Authors: Kevin Lim
*/
+#include "cpu/thread_context.hh"
+
#include "arch/kernel_stats.hh"
#include "base/misc.hh"
#include "base/trace.hh"
#include "config/the_isa.hh"
#include "cpu/base.hh"
#include "cpu/quiesce_event.hh"
-#include "cpu/thread_context.hh"
#include "debug/Context.hh"
#include "debug/Quiesce.hh"
#include "params/BaseCPU.hh"
* Authors: Kevin Lim
*/
+#include "cpu/thread_state.hh"
+
#include "arch/kernel_stats.hh"
#include "base/output.hh"
#include "cpu/base.hh"
#include "cpu/profile.hh"
#include "cpu/quiesce_event.hh"
-#include "cpu/thread_state.hh"
#include "mem/fs_translating_port_proxy.hh"
#include "mem/port.hh"
#include "mem/port_proxy.hh"
* Authors: Andrew Bardsley
*/
-#include "base/intmath.hh"
#include "cpu/timing_expr.hh"
+#include "base/intmath.hh"
+
TimingExprEvalContext::TimingExprEvalContext(const StaticInstPtr &inst_,
ThreadContext *thread_,
TimingExprLet *let_) :
* Alpha Console Backdoor Definition
*/
+#include "dev/alpha/backdoor.hh"
+
#include <cstddef>
#include <string>
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "debug/AlphaBackdoor.hh"
-#include "dev/alpha/backdoor.hh"
#include "dev/alpha/tsunami.hh"
#include "dev/alpha/tsunami_cchip.hh"
#include "dev/alpha/tsunami_io.hh"
* Implementation of Tsunami platform.
*/
+#include "dev/alpha/tsunami.hh"
+
#include <deque>
#include <string>
#include <vector>
#include "arch/alpha/system.hh"
#include "config/the_isa.hh"
#include "cpu/intr_control.hh"
-#include "dev/alpha/tsunami.hh"
#include "dev/alpha/tsunami_cchip.hh"
#include "dev/alpha/tsunami_io.hh"
#include "dev/alpha/tsunami_pchip.hh"
* Emulation of the Tsunami CChip CSRs
*/
+#include "dev/alpha/tsunami_cchip.hh"
+
#include <deque>
#include <string>
#include <vector>
#include "debug/IPI.hh"
#include "debug/Tsunami.hh"
#include "dev/alpha/tsunami.hh"
-#include "dev/alpha/tsunami_cchip.hh"
#include "dev/alpha/tsunamireg.h"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Tsunami I/O including PIC, PIT, RTC, DMA
*/
+#include "dev/alpha/tsunami_io.hh"
+
#include <sys/time.h>
#include <deque>
#include "debug/Tsunami.hh"
#include "dev/alpha/tsunami.hh"
#include "dev/alpha/tsunami_cchip.hh"
-#include "dev/alpha/tsunami_io.hh"
#include "dev/alpha/tsunamireg.h"
#include "dev/rtcreg.h"
#include "mem/packet.hh"
* Authors: Ali Saidi
*/
+#include "dev/arm/a9scu.hh"
+
#include "base/intmath.hh"
#include "base/trace.hh"
-#include "dev/arm/a9scu.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
#include "sim/system.hh"
* Authors: Ali Saidi
*/
+#include "dev/arm/amba_device.hh"
+
#include "base/trace.hh"
#include "debug/AMBA.hh"
-#include "dev/arm/amba_device.hh"
#include "dev/arm/amba_fake.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Authors: Ali Saidi
*/
+#include "dev/arm/amba_fake.hh"
+
#include "base/trace.hh"
#include "debug/AMBA.hh"
-#include "dev/arm/amba_fake.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Stephan Diestelhorst
*/
-#include "debug/EnergyCtrl.hh"
#include "dev/arm/energy_ctrl.hh"
+
+#include "debug/EnergyCtrl.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
#include "params/EnergyCtrl.hh"
* Prakash Ramrakhyani
*/
+#include "dev/arm/gic_pl390.hh"
+
#include "base/trace.hh"
#include "debug/Checkpoint.hh"
#include "debug/GIC.hh"
#include "debug/IPI.hh"
#include "debug/Interrupt.hh"
-#include "dev/arm/gic_pl390.hh"
#include "dev/terminal.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
#include "dev/arm/hdlcd.hh"
-#include "base/vnc/vncinput.hh"
#include "base/output.hh"
#include "base/trace.hh"
+#include "base/vnc/vncinput.hh"
#include "debug/Checkpoint.hh"
#include "debug/HDLcd.hh"
#include "dev/arm/amba_device.hh"
* William Wang
*/
-#include "base/vnc/vncinput.hh"
+#include "dev/arm/kmi.hh"
+
#include "base/trace.hh"
+#include "base/vnc/vncinput.hh"
#include "debug/Pl050.hh"
#include "dev/arm/amba_device.hh"
-#include "dev/arm/kmi.hh"
#include "dev/ps2.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
#include "dev/terminal.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
-#include "sim/sim_exit.hh"
#include "params/Pl011.hh"
+#include "sim/sim_exit.hh"
Pl011::Pl011(const Pl011Params *p)
: Uart(p, 0xfff),
* Ali Saidi
*/
-#include "base/vnc/vncinput.hh"
+#include "dev/arm/pl111.hh"
+
#include "base/output.hh"
#include "base/trace.hh"
+#include "base/vnc/vncinput.hh"
#include "debug/PL111.hh"
#include "debug/Uart.hh"
#include "dev/arm/amba_device.hh"
#include "dev/arm/base_gic.hh"
-#include "dev/arm/pl111.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
#include "sim/system.hh"
* Implementation of RealView platform.
*/
+#include "dev/arm/realview.hh"
+
#include <deque>
#include <string>
#include <vector>
#include "config/the_isa.hh"
#include "cpu/intr_control.hh"
#include "dev/arm/base_gic.hh"
-#include "dev/arm/realview.hh"
#include "dev/terminal.hh"
#include "sim/system.hh"
* Authors: Ali Saidi
*/
+#include "dev/arm/rtc_pl031.hh"
+
#include "base/intmath.hh"
#include "base/time.hh"
#include "base/trace.hh"
#include "debug/Checkpoint.hh"
#include "debug/Timer.hh"
#include "dev/arm/amba_device.hh"
-#include "dev/arm/rtc_pl031.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Geoffrey Blake
*/
+#include "dev/arm/timer_cpulocal.hh"
+
#include "base/intmath.hh"
#include "base/trace.hh"
#include "debug/Checkpoint.hh"
#include "debug/Timer.hh"
#include "dev/arm/base_gic.hh"
-#include "dev/arm/timer_cpulocal.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Authors: Ali Saidi
*/
+#include "dev/arm/timer_sp804.hh"
+
#include "base/intmath.hh"
#include "base/trace.hh"
#include "debug/Checkpoint.hh"
#include "debug/Timer.hh"
#include "dev/arm/base_gic.hh"
-#include "dev/arm/timer_sp804.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Authors: Matt Evans
*/
+#include "dev/arm/vgic.hh"
+
#include "base/trace.hh"
#include "debug/Checkpoint.hh"
#include "debug/VGIC.hh"
#include "dev/arm/base_gic.hh"
-#include "dev/arm/vgic.hh"
#include "dev/terminal.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* BadDevice implemenation
*/
+#include "dev/baddev.hh"
+
#include <string>
#include "base/trace.hh"
-#include "dev/baddev.hh"
#include "params/BadDevice.hh"
#include "sim/system.hh"
* Miguel J. Serrano
*/
+#include "dev/intel_8254_timer.hh"
+
#include "base/misc.hh"
#include "debug/Intel8254Timer.hh"
-#include "dev/intel_8254_timer.hh"
using namespace std;
* Nathan Binkert
*/
+#include "dev/io_device.hh"
+
#include "base/trace.hh"
#include "debug/AddrRanges.hh"
-#include "dev/io_device.hh"
#include "sim/system.hh"
PioPort::PioPort(PioDevice *dev)
* Isa Fake Device implementation
*/
+#include "dev/isa_fake.hh"
+
#include "base/trace.hh"
#include "debug/IsaFake.hh"
-#include "dev/isa_fake.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
#include "sim/system.hh"
* Miguel Serrano
*/
+#include "dev/mc146818.hh"
+
#include <sys/time.h>
#include <ctime>
#include "base/time.hh"
#include "base/trace.hh"
#include "debug/MC146818.hh"
-#include "dev/mc146818.hh"
#include "dev/rtcreg.h"
using namespace std;
* Implementation of Malta platform.
*/
+#include "dev/mips/malta.hh"
+
#include <deque>
#include <string>
#include <vector>
#include "config/the_isa.hh"
#include "cpu/intr_control.hh"
#include "debug/Malta.hh"
-#include "dev/mips/malta.hh"
#include "dev/mips/malta_cchip.hh"
#include "dev/mips/malta_io.hh"
#include "dev/terminal.hh"
* Emulation of the Malta CChip CSRs
*/
+#include "dev/mips/malta_cchip.hh"
+
#include <deque>
#include <string>
#include <vector>
#include "cpu/thread_context.hh"
#include "debug/Malta.hh"
#include "dev/mips/malta.hh"
-#include "dev/mips/malta_cchip.hh"
#include "dev/mips/maltareg.h"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Malta I/O including PIC, PIT, RTC, DMA
*/
+#include "dev/mips/malta_io.hh"
+
#include <sys/time.h>
#include <deque>
#include "debug/Malta.hh"
#include "dev/mips/malta.hh"
#include "dev/mips/malta_cchip.hh"
-#include "dev/mips/malta_io.hh"
#include "dev/mips/maltareg.h"
#include "dev/rtcreg.h"
#include "mem/packet.hh"
#include "sim/byteswap.hh"
#include "sim/core.hh"
-
PciDevice::PciDevice(const PciDeviceParams *p)
: DmaDevice(p),
_busAddr(p->pci_bus, p->pci_dev, p->pci_func),
#include "params/GenericPciHost.hh"
#include "params/PciHost.hh"
-
PciHost::PciHost(const PciHostParams *p)
: PioDevice(p)
{
* Nathan Binkert
*/
+#include "dev/platform.hh"
+
#include "base/misc.hh"
#include "config/the_isa.hh"
-#include "dev/platform.hh"
#include "sim/sim_exit.hh"
using namespace std;
* Authors: Ali Saidi
*/
+#include "dev/ps2.hh"
+
#include <list>
#include "base/misc.hh"
-#include "dev/ps2.hh"
#include "x11keysym/keysym.h"
namespace Ps2 {
#define __DEV_PS2_HH__
#include <stdint.h>
+#include <list>
#include "base/bitunion.hh"
/** @file
* Time of date device implementation
*/
+#include "dev/sparc/dtod.hh"
+
#include <sys/time.h>
#include <deque>
#include "base/time.hh"
#include "base/trace.hh"
#include "config/the_isa.hh"
-#include "dev/sparc/dtod.hh"
#include "dev/platform.hh"
#include "mem/packet_access.hh"
#include "mem/port.hh"
* well as facilities to send IPIs to other cpus.
*/
+#include "dev/sparc/iob.hh"
+
#include <cstring>
#include "arch/sparc/faults.hh"
#include "cpu/intr_control.hh"
#include "cpu/thread_context.hh"
#include "debug/Iob.hh"
-#include "dev/sparc/iob.hh"
#include "dev/platform.hh"
#include "mem/packet_access.hh"
#include "mem/port.hh"
* in legion. Any access is translated to an offset in the disk image.
*/
+#include "dev/sparc/mm_disk.hh"
+
#include <cstring>
#include "base/trace.hh"
#include "debug/IdeDisk.hh"
-#include "dev/sparc/mm_disk.hh"
#include "dev/platform.hh"
#include "mem/packet_access.hh"
#include "mem/port.hh"
* Implementation of T1000 platform.
*/
+#include "dev/sparc/t1000.hh"
+
#include <deque>
#include <string>
#include <vector>
#include "config/the_isa.hh"
#include "cpu/intr_control.hh"
-#include "dev/sparc/t1000.hh"
#include "dev/terminal.hh"
#include "sim/system.hh"
* Implements a base class for UARTs
*/
+#include "dev/uart.hh"
+
#include "dev/platform.hh"
#include "dev/terminal.hh"
-#include "dev/uart.hh"
using namespace std;
* Implements a 8250 UART
*/
+#include "dev/uart8250.hh"
+
#include <string>
#include <vector>
#include "debug/Uart.hh"
#include "dev/platform.hh"
#include "dev/terminal.hh"
-#include "dev/uart8250.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Authors: Andreas Sandberg
*/
-#include "debug/VIO.hh"
#include "dev/virtio/base.hh"
+
+#include "debug/VIO.hh"
#include "params/VirtIODeviceBase.hh"
VirtDescriptor::VirtDescriptor(PortProxy &_memProxy, VirtQueue &_queue,
* Authors: Andreas Sandberg
*/
-#include "debug/VIOBlock.hh"
#include "dev/virtio/block.hh"
+
+#include "debug/VIOBlock.hh"
#include "params/VirtIOBlock.hh"
#include "sim/system.hh"
* Authors: Andreas Sandberg
*/
-#include "debug/VIOConsole.hh"
#include "dev/virtio/console.hh"
+
+#include "debug/VIOConsole.hh"
#include "params/VirtIOConsole.hh"
#include "sim/system.hh"
-
VirtIOConsole::VirtIOConsole(Params *params)
: VirtIODeviceBase(params, ID_CONSOLE, sizeof(Config), F_SIZE),
qRecv(params->system->physProxy, params->qRecvSize, *this),
* Authors: Andreas Sandberg
*/
+#include "dev/virtio/fs9p.hh"
+
+#include <fcntl.h>
+#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
-#include <fcntl.h>
-#include <netdb.h>
#include <unistd.h>
#include "debug/VIO9P.hh"
#include "debug/VIO9PData.hh"
-#include "dev/virtio/fs9p.hh"
#include "params/VirtIO9PBase.hh"
#include "params/VirtIO9PDiod.hh"
#include "params/VirtIO9PProxy.hh"
* Authors: Andreas Sandberg
*/
-#include "debug/VIOPci.hh"
#include "dev/virtio/pci.hh"
+
+#include "debug/VIOPci.hh"
#include "mem/packet_access.hh"
#include "params/PciVirtIO.hh"
* Authors: Gabe Black
*/
-#include "debug/CMOS.hh"
#include "dev/x86/cmos.hh"
+
+#include "debug/CMOS.hh"
#include "dev/x86/intdev.hh"
#include "mem/packet_access.hh"
* Authors: Gabe Black
*/
+#include "dev/x86/i8042.hh"
+
#include "base/bitunion.hh"
#include "debug/I8042.hh"
-#include "dev/x86/i8042.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Authors: Gabe Black
*/
+#include "dev/x86/i82094aa.hh"
+
#include "arch/x86/interrupts.hh"
#include "arch/x86/intmessage.hh"
#include "cpu/base.hh"
#include "debug/I82094AA.hh"
-#include "dev/x86/i82094aa.hh"
#include "dev/x86/i8259.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
*/
#include "dev/x86/i8237.hh"
+
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Authors: Gabe Black
*/
-#include "debug/I8254.hh"
#include "dev/x86/i8254.hh"
+
+#include "debug/I8254.hh"
#include "dev/x86/intdev.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Authors: Gabe Black
*/
+#include "dev/x86/i8259.hh"
+
#include "base/bitfield.hh"
#include "debug/I8259.hh"
#include "dev/x86/i82094aa.hh"
-#include "dev/x86/i8259.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Implementation of PC platform.
*/
+#include "dev/x86/pc.hh"
+
#include <deque>
#include <string>
#include <vector>
#include "arch/x86/x86_traits.hh"
#include "config/the_isa.hh"
#include "cpu/intr_control.hh"
+#include "dev/terminal.hh"
#include "dev/x86/i82094aa.hh"
#include "dev/x86/i8254.hh"
#include "dev/x86/i8259.hh"
-#include "dev/x86/pc.hh"
#include "dev/x86/south_bridge.hh"
-#include "dev/terminal.hh"
#include "sim/system.hh"
using namespace std;
* Authors: Gabe Black
*/
+#include "dev/x86/south_bridge.hh"
+
#include <cassert>
#include "dev/x86/pc.hh"
-#include "dev/x86/south_bridge.hh"
using namespace X86ISA;
* Authors: Gabe Black
*/
+#include "dev/x86/speaker.hh"
+
#include "base/bitunion.hh"
#include "base/trace.hh"
#include "debug/PcSpeaker.hh"
#include "dev/x86/i8254.hh"
-#include "dev/x86/speaker.hh"
#include "mem/packet.hh"
#include "mem/packet_access.hh"
* Authors: Ali Saidi
*/
+#include "kern/linux/linux.hh"
+
#include <cstdio>
#include <string>
#include "cpu/thread_context.hh"
#include "debug/SyscallVerbose.hh"
-#include "kern/linux/linux.hh"
#include "sim/process.hh"
#include "sim/system.hh"
* Ali Saidi
*/
+#include "kern/linux/printk.hh"
+
#include <sys/types.h>
#include <algorithm>
#include "base/trace.hh"
#include "cpu/thread_context.hh"
-#include "kern/linux/printk.hh"
#include "sim/arguments.hh"
using namespace std;
*/
-#include "base/misc.hh"
#include "kern/operatingsystem.hh"
+#include "base/misc.hh"
+
int
OperatingSystem::openSpecialFile(std::string path, LiveProcess *process,
ThreadContext *tc)
* Nathan Binkert
*/
+#include "kern/system_events.hh"
+
#include "arch/isa_traits.hh"
#include "arch/utility.hh"
#include "base/trace.hh"
#include "config/the_isa.hh"
#include "cpu/thread_context.hh"
#include "debug/PCEvent.hh"
-#include "kern/system_events.hh"
using namespace TheISA;
* Andreas Hansson
*/
+#include "mem/abstract_mem.hh"
+
#include <vector>
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "debug/LLSC.hh"
#include "debug/MemoryAccess.hh"
-#include "mem/abstract_mem.hh"
#include "mem/packet_access.hh"
#include "sim/system.hh"
* and a slave through a request and response queue.
*/
+#include "mem/bridge.hh"
+
#include "base/trace.hh"
#include "debug/Bridge.hh"
-#include "mem/bridge.hh"
#include "params/Bridge.hh"
Bridge::BridgeSlavePort::BridgeSlavePort(const std::string& _name,
* Hardware Prefetcher Definition.
*/
+#include "mem/cache/prefetch/base.hh"
+
#include <list>
#include "base/intmath.hh"
-#include "mem/cache/prefetch/base.hh"
#include "mem/cache/base.hh"
#include "sim/system.hh"
* Authors: Mitch Hayenga
*/
-#include "debug/HWPrefetch.hh"
#include "mem/cache/prefetch/queued.hh"
+
+#include "debug/HWPrefetch.hh"
#include "mem/cache/base.hh"
QueuedPrefetcher::QueuedPrefetcher(const QueuedPrefetcherParams *p)
* Stride Prefetcher template instantiations.
*/
+#include "mem/cache/prefetch/stride.hh"
+
#include "base/random.hh"
#include "debug/HWPrefetch.hh"
-#include "mem/cache/prefetch/stride.hh"
StridePrefetcher::StridePrefetcher(const StridePrefetcherParams *p)
: QueuedPrefetcher(p),
* Definition of a crossbar object.
*/
+#include "mem/coherent_xbar.hh"
+
#include "base/misc.hh"
#include "base/trace.hh"
#include "debug/AddrRanges.hh"
#include "debug/CoherentXBar.hh"
-#include "mem/coherent_xbar.hh"
#include "sim/system.hh"
CoherentXBar::CoherentXBar(const CoherentXBarParams *p)
* Andreas Hansson
*/
+#include "mem/comm_monitor.hh"
+
#include "base/trace.hh"
#include "debug/CommMonitor.hh"
-#include "mem/comm_monitor.hh"
#include "sim/stats.hh"
CommMonitor::CommMonitor(Params* params)
* Wendy Elsasser
*/
+#include "mem/dram_ctrl.hh"
+
#include "base/bitfield.hh"
#include "base/trace.hh"
#include "debug/DRAM.hh"
#include "debug/DRAMPower.hh"
#include "debug/DRAMState.hh"
#include "debug/Drain.hh"
-#include "mem/dram_ctrl.hh"
#include "sim/system.hh"
using namespace std;
* Authors: Omar Naji
*/
-#include "base/intmath.hh"
#include "mem/drampower.hh"
+
+#include "base/intmath.hh"
#include "sim/core.hh"
using namespace Data;
* Authors: Andreas Hansson
*/
+#include "mem/dramsim2.hh"
+
#include "DRAMSim2/Callback.h"
#include "base/callback.hh"
#include "base/trace.hh"
#include "debug/DRAMSim2.hh"
#include "debug/Drain.hh"
-#include "mem/dramsim2.hh"
#include "sim/system.hh"
DRAMSim2::DRAMSim2(const Params* p) :
#undef DEBUG
#endif
+#include "mem/dramsim2_wrapper.hh"
+
#include <fstream>
#include "DRAMSim2/MultiChannelMemorySystem.h"
#include "base/compiler.hh"
#include "base/misc.hh"
-#include "mem/dramsim2_wrapper.hh"
/**
* DRAMSim2 requires SHOW_SIM_OUTPUT to be defined (declared extern in
* Curtis Dunham
*/
+#include "mem/external_master.hh"
+
#include <cctype>
#include <iomanip>
#include "debug/ExternalPort.hh"
-#include "mem/external_master.hh"
std::map<std::string, ExternalMaster::Handler *>
ExternalMaster::portHandlers;
* Authors: Andrew Bardsley
*/
+#include "mem/external_slave.hh"
+
#include <cctype>
#include <iomanip>
#include "debug/ExternalPort.hh"
-#include "mem/external_slave.hh"
/** Implement a `stub' port which just responds to requests by printing
* a message. The stub port can be used to configure and test a system
* Port object definitions.
*/
+#include "mem/fs_translating_port_proxy.hh"
+
#include "arch/vtophys.hh"
#include "base/chunk_generator.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
-#include "mem/fs_translating_port_proxy.hh"
#include "sim/system.hh"
using namespace TheISA;
+#include "mem/hmc_controller.hh"
+
#include "base/random.hh"
#include "debug/HMCController.hh"
-#include "mem/hmc_controller.hh"
HMCController::HMCController(const HMCControllerParams* p) :
NoncoherentXBar(p),
* Marco Elver
*/
-#include <cassert>
-
#include "mem/mem_checker.hh"
+#include <cassert>
+
void
MemChecker::WriteCluster::startWrite(MemChecker::Serial serial, Tick _start,
uint8_t data)
* Marco Elver
*/
+#include "mem/mem_checker_monitor.hh"
+
#include <memory>
#include "base/output.hh"
#include "base/trace.hh"
#include "debug/MemCheckerMonitor.hh"
-#include "mem/mem_checker_monitor.hh"
using namespace std;
* Definition of a non-coherent crossbar object.
*/
+#include "mem/noncoherent_xbar.hh"
+
#include "base/misc.hh"
#include "base/trace.hh"
#include "debug/NoncoherentXBar.hh"
#include "debug/XBar.hh"
-#include "mem/noncoherent_xbar.hh"
NoncoherentXBar::NoncoherentXBar(const NoncoherentXBarParams *p)
: BaseXBar(p)
* between a single level of the memory heirarchy (ie L1->L2).
*/
+#include "mem/packet.hh"
+
#include <cstring>
#include <iostream>
#include "base/cprintf.hh"
#include "base/misc.hh"
#include "base/trace.hh"
-#include "mem/packet.hh"
using namespace std;
* Andreas Hansson
*/
+#include "mem/packet_queue.hh"
+
#include "base/trace.hh"
#include "debug/Drain.hh"
#include "debug/PacketQueue.hh"
-#include "mem/packet_queue.hh"
using namespace std;
* @file
* Definitions of functional page table.
*/
+#include "mem/page_table.hh"
+
#include <fstream>
#include <map>
#include <memory>
#include "base/trace.hh"
#include "config/the_isa.hh"
#include "debug/MMU.hh"
-#include "mem/page_table.hh"
#include "sim/faults.hh"
#include "sim/sim_object.hh"
* Authors: Andreas Hansson
*/
+#include "mem/physical.hh"
+
+#include <fcntl.h>
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/user.h>
-#include <fcntl.h>
#include <unistd.h>
#include <zlib.h>
#include "debug/AddrRanges.hh"
#include "debug/Checkpoint.hh"
#include "mem/abstract_mem.hh"
-#include "mem/physical.hh"
/**
* On Linux, MAP_NORESERVE allow us to simulate a very large memory
* @file
* Port object definitions.
*/
+#include "mem/port.hh"
+
#include "base/trace.hh"
#include "mem/mem_object.hh"
-#include "mem/port.hh"
Port::Port(const std::string &_name, MemObject& _owner, PortID _id)
: portName(_name), id(_id), owner(_owner)
* Authors: Andreas Hansson
*/
-#include "base/chunk_generator.hh"
#include "mem/port_proxy.hh"
+#include "base/chunk_generator.hh"
+
void
PortProxy::readBlob(Addr addr, uint8_t *p, int size) const
{
#include "params/BaseMemProbe.hh"
-
BaseMemProbe::BaseMemProbe(BaseMemProbeParams *p)
: SimObject(p)
{
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/common/Histogram.hh"
+
#include <cmath>
#include <iomanip>
#include "base/intmath.hh"
-#include "mem/ruby/common/Histogram.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <algorithm>
-
#include "mem/ruby/common/NetDest.hh"
+#include <algorithm>
+
NetDest::NetDest()
{
resize();
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "base/stl_helpers.hh"
#include "mem/ruby/common/SubBlock.hh"
+#include "base/stl_helpers.hh"
+
using m5::stl_helpers::operator<<;
SubBlock::SubBlock(Addr addr, int size)
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/filters/BlockBloomFilter.hh"
+
#include "base/intmath.hh"
#include "base/str.hh"
-#include "mem/ruby/filters/BlockBloomFilter.hh"
#include "mem/ruby/system/RubySystem.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/filters/BulkBloomFilter.hh"
+
#include <cassert>
#include "base/intmath.hh"
#include "base/str.hh"
-#include "mem/ruby/filters/BulkBloomFilter.hh"
#include "mem/ruby/system/RubySystem.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "base/intmath.hh"
#include "mem/ruby/filters/H3BloomFilter.hh"
+#include "base/intmath.hh"
+
using namespace std;
static int H3[64][16] = {
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "base/intmath.hh"
#include "mem/ruby/filters/LSB_CountingBloomFilter.hh"
+
+#include "base/intmath.hh"
#include "mem/ruby/system/RubySystem.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/filters/MultiBitSelBloomFilter.hh"
+
#include <vector>
#include "base/intmath.hh"
#include "base/str.hh"
-#include "mem/ruby/filters/MultiBitSelBloomFilter.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/filters/MultiGrainBloomFilter.hh"
+
#include "base/intmath.hh"
#include "base/str.hh"
-#include "mem/ruby/filters/MultiGrainBloomFilter.hh"
#include "mem/ruby/system/RubySystem.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/filters/NonCountingBloomFilter.hh"
+
#include "base/intmath.hh"
#include "base/str.hh"
-#include "mem/ruby/filters/NonCountingBloomFilter.hh"
#include "mem/ruby/system/RubySystem.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/network/MessageBuffer.hh"
+
#include <cassert>
#include "base/cprintf.hh"
#include "base/random.hh"
#include "base/stl_helpers.hh"
#include "debug/RubyQueue.hh"
-#include "mem/ruby/network/MessageBuffer.hh"
#include "mem/ruby/system/RubySystem.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/network/Network.hh"
+
#include "base/misc.hh"
#include "mem/ruby/network/BasicLink.hh"
-#include "mem/ruby/network/Network.hh"
#include "mem/ruby/system/RubySystem.hh"
uint32_t Network::m_virtual_networks;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/network/Topology.hh"
+
#include <cassert>
#include "base/trace.hh"
#include "debug/RubyNetwork.hh"
#include "mem/ruby/common/NetDest.hh"
#include "mem/ruby/network/BasicLink.hh"
-#include "mem/ruby/network/Topology.hh"
+#include "mem/ruby/network/Network.hh"
#include "mem/ruby/slicc_interface/AbstractController.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/network/simple/PerfectSwitch.hh"
+
#include <algorithm>
#include "base/cast.hh"
#include "base/random.hh"
#include "debug/RubyNetwork.hh"
#include "mem/ruby/network/MessageBuffer.hh"
-#include "mem/ruby/network/simple/PerfectSwitch.hh"
#include "mem/ruby/network/simple/SimpleNetwork.hh"
#include "mem/ruby/network/simple/Switch.hh"
#include "mem/ruby/slicc_interface/Message.hh"
#include <vector>
#include "mem/ruby/common/Consumer.hh"
+#include "mem/ruby/common/TypeDefines.hh"
class MessageBuffer;
class NetDest;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/network/simple/SimpleNetwork.hh"
+
#include <cassert>
#include <numeric>
#include "mem/ruby/common/NetDest.hh"
#include "mem/ruby/network/MessageBuffer.hh"
#include "mem/ruby/network/simple/SimpleLink.hh"
-#include "mem/ruby/network/simple/SimpleNetwork.hh"
#include "mem/ruby/network/simple/Switch.hh"
#include "mem/ruby/network/simple/Throttle.hh"
#include "mem/ruby/profiler/Profiler.hh"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/network/simple/Switch.hh"
+
#include <numeric>
#include "base/cast.hh"
#include "mem/ruby/network/MessageBuffer.hh"
#include "mem/ruby/network/simple/PerfectSwitch.hh"
#include "mem/ruby/network/simple/SimpleNetwork.hh"
-#include "mem/ruby/network/simple/Switch.hh"
#include "mem/ruby/network/simple/Throttle.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/network/simple/Throttle.hh"
+
#include <cassert>
#include "base/cast.hh"
#include "base/cprintf.hh"
#include "debug/RubyNetwork.hh"
-#include "mem/ruby/network/simple/Switch.hh"
-#include "mem/ruby/network/simple/Throttle.hh"
#include "mem/ruby/network/MessageBuffer.hh"
#include "mem/ruby/network/Network.hh"
+#include "mem/ruby/network/simple/Switch.hh"
#include "mem/ruby/slicc_interface/Message.hh"
#include "mem/ruby/system/RubySystem.hh"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "mem/ruby/common/Histogram.hh"
#include "mem/ruby/profiler/AccessTraceForAddress.hh"
+#include "mem/ruby/common/Histogram.hh"
+
AccessTraceForAddress::~AccessTraceForAddress()
{
if (m_histogram_ptr) {
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/profiler/AddressProfiler.hh"
+
#include <vector>
#include "base/stl_helpers.hh"
#include "mem/protocol/RubyRequest.hh"
-#include "mem/ruby/profiler/AddressProfiler.hh"
#include "mem/ruby/profiler/Profiler.hh"
using namespace std;
*/
#include "mem/ruby/profiler/StoreTrace.hh"
+
#include "sim/core.hh"
using namespace std;
#include "debug/RubyQueue.hh"
#include "mem/protocol/MemoryMsg.hh"
+#include "mem/ruby/network/Network.hh"
+#include "mem/ruby/system/GPUCoalescer.hh"
#include "mem/ruby/system/RubySystem.hh"
#include "mem/ruby/system/Sequencer.hh"
-#include "mem/ruby/system/GPUCoalescer.hh"
#include "sim/system.hh"
AbstractController::AbstractController(const Params *p)
#include "mem/ruby/common/Histogram.hh"
#include "mem/ruby/common/MachineID.hh"
#include "mem/ruby/network/MessageBuffer.hh"
-#include "mem/ruby/network/Network.hh"
#include "mem/ruby/system/CacheRecorder.hh"
#include "mem/packet.hh"
#include "mem/qport.hh"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <iostream>
-
#include "mem/ruby/slicc_interface/RubyRequest.hh"
+#include <iostream>
+
using namespace std;
void
*
*/
-#include "base/intmath.hh"
#include "mem/ruby/structures/BankedArray.hh"
+
+#include "base/intmath.hh"
#include "mem/ruby/system/RubySystem.hh"
BankedArray::BankedArray(unsigned int banks, Cycles accessLatency,
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/structures/CacheMemory.hh"
+
#include "base/intmath.hh"
#include "debug/RubyCache.hh"
#include "debug/RubyCacheTrace.hh"
#include "debug/RubyResourceStalls.hh"
#include "debug/RubyStats.hh"
#include "mem/protocol/AccessPermission.hh"
-#include "mem/ruby/structures/CacheMemory.hh"
#include "mem/ruby/system/RubySystem.hh"
#include "mem/ruby/system/WeightedLRUPolicy.hh"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/structures/DirectoryMemory.hh"
+
#include "base/intmath.hh"
#include "debug/RubyCache.hh"
#include "debug/RubyStats.hh"
#include "mem/ruby/slicc_interface/RubySlicc_Util.hh"
-#include "mem/ruby/structures/DirectoryMemory.hh"
#include "mem/ruby/system/RubySystem.hh"
using namespace std;
#include "mem/ruby/structures/LRUPolicy.hh"
-
-
LRUPolicy::LRUPolicy(const Params * p)
: AbstractReplacementPolicy(p)
{
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/structures/Prefetcher.hh"
+
#include "debug/RubyPrefetcher.hh"
#include "mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh"
-#include "mem/ruby/structures/Prefetcher.hh"
#include "mem/ruby/system/RubySystem.hh"
Prefetcher*
#include "mem/ruby/structures/PseudoLRUPolicy.hh"
-
-
PseudoLRUPolicy::PseudoLRUPolicy(const Params * p)
: AbstractReplacementPolicy(p)
{
*
*/
+#include "mem/ruby/structures/WireBuffer.hh"
+
#include <algorithm>
#include <functional>
#include "base/cprintf.hh"
#include "base/stl_helpers.hh"
-#include "mem/ruby/structures/WireBuffer.hh"
#include "mem/ruby/system/RubySystem.hh"
using namespace std;
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "debug/RubyCacheTrace.hh"
#include "mem/ruby/system/CacheRecorder.hh"
+
+#include "debug/RubyCacheTrace.hh"
#include "mem/ruby/system/RubySystem.hh"
#include "mem/ruby/system/Sequencer.hh"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/system/DMASequencer.hh"
+
#include <memory>
#include "debug/RubyDma.hh"
#include "debug/RubyStats.hh"
#include "mem/protocol/SequencerMsg.hh"
#include "mem/protocol/SequencerRequestType.hh"
-#include "mem/ruby/system/DMASequencer.hh"
#include "mem/ruby/system/RubySystem.hh"
DMARequest::DMARequest(uint64_t start_paddr, int len, bool write,
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/system/RubyPort.hh"
+
#include "cpu/testers/rubytest/RubyTester.hh"
#include "debug/Config.hh"
#include "debug/Drain.hh"
#include "debug/Ruby.hh"
#include "mem/protocol/AccessPermission.hh"
#include "mem/ruby/slicc_interface/AbstractController.hh"
-#include "mem/ruby/system/RubyPort.hh"
#include "mem/simple_mem.hh"
#include "sim/full_system.hh"
#include "sim/system.hh"
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "mem/ruby/system/Sequencer.hh"
+
#include "arch/x86/ldstflags.hh"
#include "base/misc.hh"
#include "base/str.hh"
#include "debug/ProtocolTrace.hh"
#include "debug/RubySequencer.hh"
#include "debug/RubyStats.hh"
+#include "mem/packet.hh"
#include "mem/protocol/PrefetchBit.hh"
#include "mem/protocol/RubyAccessMode.hh"
#include "mem/ruby/profiler/Profiler.hh"
#include "mem/ruby/slicc_interface/RubyRequest.hh"
#include "mem/ruby/system/RubySystem.hh"
-#include "mem/ruby/system/Sequencer.hh"
-#include "mem/packet.hh"
#include "sim/system.hh"
using namespace std;
* Andreas Hansson
*/
+#include "mem/se_translating_port_proxy.hh"
+
#include <string>
#include "arch/isa_traits.hh"
#include "base/chunk_generator.hh"
#include "config/the_isa.hh"
#include "mem/page_table.hh"
-#include "mem/se_translating_port_proxy.hh"
#include "sim/process.hh"
#include "sim/system.hh"
#include "debug/SerialLink.hh"
#include "params/SerialLink.hh"
-
SerialLink::SerialLinkSlavePort::SerialLinkSlavePort(const std::string& _name,
SerialLink& _serial_link,
SerialLinkMasterPort& _masterPort,
* Andreas Hansson
*/
-#include "base/random.hh"
#include "mem/simple_mem.hh"
+
+#include "base/random.hh"
#include "debug/Drain.hh"
using namespace std;
#include "mem/protocol/${ident}_Event.hh"
#include "mem/protocol/${ident}_State.hh"
#include "mem/protocol/Types.hh"
+#include "mem/ruby/network/Network.hh"
#include "mem/ruby/system/RubySystem.hh"
''')
* Implementation of a snoop filter.
*/
+#include "mem/snoop_filter.hh"
+
#include "base/misc.hh"
#include "base/trace.hh"
#include "debug/SnoopFilter.hh"
-#include "mem/snoop_filter.hh"
#include "sim/system.hh"
void
* Andreas Hansson
*/
-#include "mem/mem_object.hh"
#include "mem/tport.hh"
+#include "mem/mem_object.hh"
+
SimpleTimingPort::SimpleTimingPort(const std::string& _name,
MemObject* _owner) :
QueuedSlavePort(_name, _owner, queueImpl), queueImpl(*_owner, *this)
* Definition of a crossbar object.
*/
+#include "mem/xbar.hh"
+
#include "base/misc.hh"
#include "base/trace.hh"
#include "debug/AddrRanges.hh"
#include "debug/Drain.hh"
#include "debug/XBar.hh"
-#include "mem/xbar.hh"
BaseXBar::BaseXBar(const BaseXBarParams *p)
: MemObject(p),
* Authors: Andreas Hansson
*/
-#include "base/misc.hh"
#include "proto/protoio.hh"
+#include "base/misc.hh"
+
using namespace std;
using namespace google::protobuf;
* Authors: Nathan Binkert
*/
+#include "python/swig/pyevent.hh"
+
#include <Python.h>
-#include "python/swig/pyevent.hh"
#include "sim/async.hh"
#include "sim/eventq.hh"
#define __PYTHON_SWIG_PYEVENT_HH__
#include "sim/eventq.hh"
+#include "sim/init.hh"
#include "sim/sim_events.hh"
class PythonEvent : public Event
#include "base/inifile.hh"
#include "base/output.hh"
#include "config/the_isa.hh"
+
#if THE_ISA != NULL_ISA
#include "dev/net/etherdevice.hh"
#include "dev/net/etherobject.hh"
+
#endif
-#include "mem/ruby/slicc_interface/AbstractController.hh"
-#include "mem/mem_object.hh"
#include "python/swig/pyobject.hh"
+
+#include "mem/mem_object.hh"
+#include "mem/ruby/slicc_interface/AbstractController.hh"
#include "sim/full_system.hh"
#include "sim/sim_object.hh"
* Authors: Nathan Binkert
*/
+#include "sim/arguments.hh"
+
#include "arch/utility.hh"
#include "config/the_isa.hh"
#include "cpu/thread_context.hh"
-#include "sim/arguments.hh"
Arguments::Data::~Data()
{
* Authors: Andreas Sandberg
*/
-#include "sim/backtrace.hh"
-
#include <execinfo.h>
#include <unistd.h>
#include "base/atomicio.hh"
+#include "sim/backtrace.hh"
#define SAFE_MSG(m) \
do { \
* Stephan Diestelhorst
*/
+#include "sim/clock_domain.hh"
+
#include <algorithm>
#include <functional>
#include "params/ClockDomain.hh"
#include "params/DerivedClockDomain.hh"
#include "params/SrcClockDomain.hh"
-#include "sim/clock_domain.hh"
-#include "sim/voltage_domain.hh"
#include "sim/clocked_object.hh"
+#include "sim/voltage_domain.hh"
void
ClockDomain::regStats()
* Steve Reinhardt
*/
+#include "sim/core.hh"
+
#include <iostream>
#include <string>
#include "base/callback.hh"
#include "base/output.hh"
-#include "sim/core.hh"
#include "sim/eventq.hh"
using namespace std;
* Authors: Andrew Bardsley
*/
+#include "sim/cxx_manager.hh"
+
#include <cstdlib>
#include <sstream>
#include "base/str.hh"
#include "debug/CxxConfig.hh"
#include "mem/mem_object.hh"
-#include "sim/cxx_manager.hh"
#include "sim/serialize.hh"
CxxConfigManager::CxxConfigManager(CxxConfigFileBase &configFile_) :
* Steve Reinhardt
*/
+#include "sim/debug.hh"
+
#include <string>
#include <vector>
#include "base/debug.hh"
-#include "sim/debug.hh"
+#include "cpu/pc_event.hh"
#include "sim/eventq_impl.hh"
#include "sim/global_event.hh"
#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
-#include "cpu/pc_event.hh"
#include "sim/system.hh"
using namespace std;
* Stephan Diestelhorst
*/
+#include "sim/dvfs_handler.hh"
+
#include <set>
#include <utility>
#include "debug/DVFS.hh"
#include "params/DVFSHandler.hh"
#include "sim/clock_domain.hh"
-#include "sim/dvfs_handler.hh"
#include "sim/stat_control.hh"
#include "sim/voltage_domain.hh"
* Gabe Black
*/
+#include "sim/faults.hh"
+
#include "arch/isa_traits.hh"
#include "base/misc.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "debug/Fault.hh"
#include "mem/page_table.hh"
-#include "sim/faults.hh"
#include "sim/full_system.hh"
#include "sim/process.hh"
* Authors: Nathan Binkert
*/
+#include "sim/init.hh"
+
#include <Python.h>
#include <marshal.h>
#include "config/have_protobuf.hh"
#include "sim/async.hh"
#include "sim/core.hh"
-#include "sim/init.hh"
#if HAVE_PROTOBUF
#include <google/protobuf/stubs/common.h>
+
#endif
using namespace std;
* Authors: Matt Horsnell
*/
-#include "debug/ProbeVerbose.hh"
#include "sim/probe/probe.hh"
+#include "debug/ProbeVerbose.hh"
+
ProbePoint::ProbePoint(ProbeManager *manager, const std::string& _name)
: name(_name)
{
* Ali Saidi
*/
+#include "sim/process.hh"
+
#include <fcntl.h>
#include <unistd.h>
#include <map>
#include <string>
+#include "base/intmath.hh"
#include "base/loader/object_file.hh"
#include "base/loader/symtab.hh"
-#include "base/intmath.hh"
#include "base/statistics.hh"
#include "config/the_isa.hh"
#include "cpu/thread_context.hh"
-#include "mem/page_table.hh"
#include "mem/multi_level_page_table.hh"
+#include "mem/page_table.hh"
#include "mem/se_translating_port_proxy.hh"
#include "params/LiveProcess.hh"
#include "params/Process.hh"
#include "sim/debug.hh"
-#include "sim/process.hh"
#include "sim/process_impl.hh"
#include "sim/stats.hh"
#include "sim/syscall_emul.hh"
* Authors: Nathan Binkert
*/
+#include "sim/pseudo_inst.hh"
+
#include <fcntl.h>
#include <unistd.h>
#include <vector>
#include "arch/kernel_stats.hh"
+#include "arch/pseudo_inst.hh"
#include "arch/utility.hh"
#include "arch/vtophys.hh"
-#include "arch/pseudo_inst.hh"
#include "base/debug.hh"
#include "base/output.hh"
#include "config/the_isa.hh"
#include "sim/full_system.hh"
#include "sim/initparam_keys.hh"
#include "sim/process.hh"
-#include "sim/pseudo_inst.hh"
#include "sim/serialize.hh"
#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
* Steve Reinhardt
*/
-#include <Python.h>
-
#include "sim/py_interact.hh"
+#include <Python.h>
+
void
py_interact()
{
* Gabe Black
*/
+#include "sim/root.hh"
+
#include "base/misc.hh"
#include "base/trace.hh"
#include "config/the_isa.hh"
#include "debug/TimeSync.hh"
#include "sim/full_system.hh"
-#include "sim/root.hh"
Root *Root::_root = NULL;
* Andreas Sandberg
*/
+#include "sim/serialize.hh"
+
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include "base/trace.hh"
#include "debug/Checkpoint.hh"
#include "sim/eventq.hh"
-#include "sim/serialize.hh"
#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
#include "sim/sim_object.hh"
* Authors: Nathan Binkert
*/
+#include "sim/sim_events.hh"
+
#include <string>
#include "base/callback.hh"
#include "base/hostinfo.hh"
#include "sim/eventq_impl.hh"
-#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
#include "sim/stats.hh"
* Nathan Binkert
*/
+#include "sim/sim_object.hh"
+
#include <cassert>
#include "base/callback.hh"
#include "base/types.hh"
#include "debug/Checkpoint.hh"
#include "sim/probe/probe.hh"
-#include "sim/sim_object.hh"
#include "sim/stats.hh"
using namespace std;
* Steve Reinhardt
*/
+#include "sim/simulate.hh"
+
#include <mutex>
#include <thread>
#include "sim/eventq_impl.hh"
#include "sim/sim_events.hh"
#include "sim/sim_exit.hh"
-#include "sim/simulate.hh"
#include "sim/stat_control.hh"
//! Mutex for handling async events.
// This file will contain default statistics for the simulator that
// don't really belong to a specific simulator object
+#include "sim/stat_control.hh"
+
#include <fstream>
#include <iostream>
#include <list>
#include "base/time.hh"
#include "cpu/base.hh"
#include "sim/global_event.hh"
-#include "sim/stat_control.hh"
using namespace std;
#ifndef __SIM_STAT_CONTROL_HH__
#define __SIM_STAT_CONTROL_HH__
+#include "base/types.hh"
+#include "sim/core.hh"
+
namespace Stats {
double statElapsedTime();
#include "sim/sub_system.hh"
#include "params/SubSystem.hh"
-#include "sim/sub_system.hh"
#include "sim/power/power_model.hh"
#include "sim/power/thermal_domain.hh"
* Ali Saidi
*/
+#include "sim/syscall_emul.hh"
+
#include <fcntl.h>
#include <unistd.h>
#include "mem/page_table.hh"
#include "sim/process.hh"
#include "sim/sim_exit.hh"
-#include "sim/syscall_emul.hh"
#include "sim/system.hh"
using namespace std;
* Rick Strong
*/
+#include "sim/system.hh"
+
#include "arch/remote_gdb.hh"
#include "arch/utility.hh"
#include "base/loader/object_file.hh"
#include "sim/byteswap.hh"
#include "sim/debug.hh"
#include "sim/full_system.hh"
-#include "sim/system.hh"
/**
* To avoid linking errors with LTO, only include the header if we
*/
#if THE_ISA != NULL_ISA
#include "kern/kernel_stats.hh"
+
#endif
using namespace std;
* Akash Bagdia
*/
+#include "sim/voltage_domain.hh"
+
#include <algorithm>
#include "base/statistics.hh"
#include "debug/VoltageDomain.hh"
#include "params/VoltageDomain.hh"
#include "sim/sim_object.hh"
-#include "sim/voltage_domain.hh"
VoltageDomain::VoltageDomain(const Params *p)
: SimObject(p), voltageOpPoints(p->voltage), _perfLevel(0)
*/
#include "base/circlebuf.hh"
-
#include "unittest/unittest.hh"
const char data[] = {
* Authors: Gabe Black
*/
+#include "unittest/unittest.hh"
+
#include <cstdlib>
#include "base/cprintf.hh"
-#include "unittest/unittest.hh"
namespace {