style: [patch 1/22] use /r/3648/ to reorganize includes
authorBrandon Potter <brandon.potter@amd.com>
Wed, 9 Nov 2016 20:27:37 +0000 (14:27 -0600)
committerBrandon Potter <brandon.potter@amd.com>
Wed, 9 Nov 2016 20:27:37 +0000 (14:27 -0600)
353 files changed:
src/arch/alpha/faults.cc
src/arch/alpha/freebsd/system.cc
src/arch/alpha/idle_event.cc
src/arch/alpha/ipr.cc
src/arch/alpha/isa.cc
src/arch/alpha/kernel_stats.cc
src/arch/alpha/linux/process.cc
src/arch/alpha/linux/system.cc
src/arch/alpha/pagetable.cc
src/arch/alpha/process.cc
src/arch/alpha/remote_gdb.cc
src/arch/alpha/stacktrace.cc
src/arch/alpha/system.cc
src/arch/alpha/utility.cc
src/arch/alpha/vtophys.cc
src/arch/arm/faults.cc
src/arch/arm/insts/macromem.cc
src/arch/arm/insts/mem.cc
src/arch/arm/insts/mem64.cc
src/arch/arm/insts/misc.cc
src/arch/arm/insts/pseudo.cc
src/arch/arm/insts/static_inst.cc
src/arch/arm/interrupts.cc
src/arch/arm/isa.cc
src/arch/arm/kvm/base_cpu.cc
src/arch/arm/linux/process.cc
src/arch/arm/linux/system.cc
src/arch/arm/miscregs.cc
src/arch/arm/nativetrace.cc
src/arch/arm/process.cc
src/arch/arm/remote_gdb.cc
src/arch/arm/stacktrace.cc
src/arch/arm/stage2_lookup.cc
src/arch/arm/system.cc
src/arch/arm/tlb.cc
src/arch/arm/utility.cc
src/arch/arm/vtophys.cc
src/arch/generic/decode_cache.cc
src/arch/generic/mmapped_ipr.cc
src/arch/generic/pseudo_inst.cc
src/arch/mips/bare_iron/system.cc
src/arch/mips/dsp.cc
src/arch/mips/faults.cc
src/arch/mips/idle_event.cc
src/arch/mips/interrupts.cc
src/arch/mips/isa.cc
src/arch/mips/linux/process.cc
src/arch/mips/linux/system.cc
src/arch/mips/pagetable.cc
src/arch/mips/process.cc
src/arch/mips/remote_gdb.cc
src/arch/mips/stacktrace.cc
src/arch/mips/system.cc
src/arch/mips/tlb.cc
src/arch/mips/utility.cc
src/arch/mips/vtophys.cc
src/arch/power/insts/branch.cc
src/arch/power/insts/mem.cc
src/arch/power/insts/static_inst.cc
src/arch/power/isa.cc
src/arch/power/linux/process.cc
src/arch/power/pagetable.cc
src/arch/power/process.cc
src/arch/power/stacktrace.cc
src/arch/power/tlb.cc
src/arch/power/utility.cc
src/arch/sparc/faults.cc
src/arch/sparc/isa.cc
src/arch/sparc/linux/process.cc
src/arch/sparc/nativetrace.cc
src/arch/sparc/pagetable.cc
src/arch/sparc/process.cc
src/arch/sparc/remote_gdb.cc
src/arch/sparc/solaris/process.cc
src/arch/sparc/system.cc
src/arch/sparc/tlb.cc
src/arch/sparc/ua2005.cc
src/arch/sparc/utility.cc
src/arch/sparc/vtophys.cc
src/arch/x86/bios/acpi.cc
src/arch/x86/bios/e820.cc
src/arch/x86/bios/intelmp.cc
src/arch/x86/bios/smbios.cc
src/arch/x86/cpuid.cc
src/arch/x86/decoder.cc
src/arch/x86/emulenv.cc
src/arch/x86/faults.cc
src/arch/x86/insts/badmicroop.cc
src/arch/x86/insts/microfpop.cc
src/arch/x86/insts/microldstop.cc
src/arch/x86/insts/micromediaop.cc
src/arch/x86/insts/microop.cc
src/arch/x86/insts/microregop.cc
src/arch/x86/insts/static_inst.cc
src/arch/x86/interrupts.cc
src/arch/x86/isa.cc
src/arch/x86/linux/process.cc
src/arch/x86/linux/system.cc
src/arch/x86/nativetrace.cc
src/arch/x86/pagetable.cc
src/arch/x86/pagetable_walker.cc
src/arch/x86/process.cc
src/arch/x86/pseudo_inst.cc
src/arch/x86/remote_gdb.cc
src/arch/x86/stacktrace.cc
src/arch/x86/system.cc
src/arch/x86/tlb.cc
src/arch/x86/types.cc
src/arch/x86/utility.cc
src/arch/x86/vtophys.cc
src/base/atomicio.cc
src/base/bigint.cc
src/base/cp_annotate.cc
src/base/cprintf.cc
src/base/debug.cc
src/base/hostinfo.cc
src/base/inet.cc
src/base/inifile.cc
src/base/loader/aout_object.cc
src/base/loader/dtb_object.cc
src/base/loader/ecoff_object.cc
src/base/loader/hex_file.cc
src/base/loader/object_file.cc
src/base/loader/raw_object.cc
src/base/loader/symtab.cc
src/base/match.cc
src/base/misc.cc
src/base/output.cc
src/base/pollevent.cc
src/base/random.cc
src/base/remote_gdb.cc
src/base/socket.cc
src/base/statistics.cc
src/base/stats/text.cc
src/base/str.cc
src/base/time.cc
src/base/trace.cc
src/base/vnc/vncinput.cc
src/base/vnc/vncserver.cc
src/cpu/activity.cc
src/cpu/base.cc
src/cpu/checker/cpu.cc
src/cpu/dummy_checker.cc
src/cpu/exetrace.cc
src/cpu/func_unit.cc
src/cpu/inteltrace.cc
src/cpu/intr_control.cc
src/cpu/kvm/base.cc
src/cpu/kvm/perfevent.cc
src/cpu/kvm/timer.cc
src/cpu/kvm/vm.cc
src/cpu/kvm/x86_cpu.cc
src/cpu/minor/activity.cc
src/cpu/minor/cpu.cc
src/cpu/minor/decode.cc
src/cpu/minor/dyn_inst.cc
src/cpu/minor/execute.cc
src/cpu/minor/fetch1.cc
src/cpu/minor/fetch2.cc
src/cpu/minor/func_unit.cc
src/cpu/minor/lsq.cc
src/cpu/minor/pipeline.cc
src/cpu/minor/scoreboard.cc
src/cpu/nativetrace.cc
src/cpu/o3/base_dyn_inst.cc
src/cpu/o3/checker.cc
src/cpu/o3/cpu.cc
src/cpu/o3/deriv.cc
src/cpu/o3/free_list.cc
src/cpu/o3/fu_pool.cc
src/cpu/o3/probe/simple_trace.cc
src/cpu/o3/regfile.cc
src/cpu/o3/rename_map.cc
src/cpu/o3/scoreboard.cc
src/cpu/o3/store_set.cc
src/cpu/o3/thread_context.cc
src/cpu/pc_event.cc
src/cpu/pred/2bit_local.cc
src/cpu/pred/bi_mode.cc
src/cpu/pred/btb.cc
src/cpu/pred/tournament.cc
src/cpu/profile.cc
src/cpu/quiesce_event.cc
src/cpu/simple/atomic.cc
src/cpu/simple/base.cc
src/cpu/simple/probes/simpoint.cc
src/cpu/simple/timing.cc
src/cpu/simple_thread.cc
src/cpu/static_inst.cc
src/cpu/testers/directedtest/DirectedGenerator.cc
src/cpu/testers/directedtest/InvalidateGenerator.cc
src/cpu/testers/directedtest/RubyDirectedTester.cc
src/cpu/testers/directedtest/SeriesRequestGenerator.cc
src/cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.cc
src/cpu/testers/memtest/memtest.cc
src/cpu/testers/rubytest/Check.cc
src/cpu/testers/rubytest/CheckTable.cc
src/cpu/testers/rubytest/RubyTester.cc
src/cpu/thread_context.cc
src/cpu/thread_state.cc
src/cpu/timing_expr.cc
src/dev/alpha/backdoor.cc
src/dev/alpha/tsunami.cc
src/dev/alpha/tsunami_cchip.cc
src/dev/alpha/tsunami_io.cc
src/dev/arm/a9scu.cc
src/dev/arm/amba_device.cc
src/dev/arm/amba_fake.cc
src/dev/arm/energy_ctrl.cc
src/dev/arm/gic_pl390.cc
src/dev/arm/hdlcd.cc
src/dev/arm/kmi.cc
src/dev/arm/pl011.cc
src/dev/arm/pl111.cc
src/dev/arm/realview.cc
src/dev/arm/rtc_pl031.cc
src/dev/arm/timer_cpulocal.cc
src/dev/arm/timer_sp804.cc
src/dev/arm/vgic.cc
src/dev/baddev.cc
src/dev/intel_8254_timer.cc
src/dev/io_device.cc
src/dev/isa_fake.cc
src/dev/mc146818.cc
src/dev/mips/malta.cc
src/dev/mips/malta_cchip.cc
src/dev/mips/malta_io.cc
src/dev/pci/device.cc
src/dev/pci/host.cc
src/dev/platform.cc
src/dev/ps2.cc
src/dev/ps2.hh
src/dev/sparc/dtod.cc
src/dev/sparc/iob.cc
src/dev/sparc/mm_disk.cc
src/dev/sparc/t1000.cc
src/dev/uart.cc
src/dev/uart8250.cc
src/dev/virtio/base.cc
src/dev/virtio/block.cc
src/dev/virtio/console.cc
src/dev/virtio/fs9p.cc
src/dev/virtio/pci.cc
src/dev/x86/cmos.cc
src/dev/x86/i8042.cc
src/dev/x86/i82094aa.cc
src/dev/x86/i8237.cc
src/dev/x86/i8254.cc
src/dev/x86/i8259.cc
src/dev/x86/pc.cc
src/dev/x86/south_bridge.cc
src/dev/x86/speaker.cc
src/kern/linux/linux.cc
src/kern/linux/printk.cc
src/kern/operatingsystem.cc
src/kern/system_events.cc
src/mem/abstract_mem.cc
src/mem/bridge.cc
src/mem/cache/prefetch/base.cc
src/mem/cache/prefetch/queued.cc
src/mem/cache/prefetch/stride.cc
src/mem/coherent_xbar.cc
src/mem/comm_monitor.cc
src/mem/dram_ctrl.cc
src/mem/drampower.cc
src/mem/dramsim2.cc
src/mem/dramsim2_wrapper.cc
src/mem/external_master.cc
src/mem/external_slave.cc
src/mem/fs_translating_port_proxy.cc
src/mem/hmc_controller.cc
src/mem/mem_checker.cc
src/mem/mem_checker_monitor.cc
src/mem/noncoherent_xbar.cc
src/mem/packet.cc
src/mem/packet_queue.cc
src/mem/page_table.cc
src/mem/physical.cc
src/mem/port.cc
src/mem/port_proxy.cc
src/mem/probes/base.cc
src/mem/ruby/common/Histogram.cc
src/mem/ruby/common/NetDest.cc
src/mem/ruby/common/SubBlock.cc
src/mem/ruby/filters/BlockBloomFilter.cc
src/mem/ruby/filters/BulkBloomFilter.cc
src/mem/ruby/filters/H3BloomFilter.cc
src/mem/ruby/filters/LSB_CountingBloomFilter.cc
src/mem/ruby/filters/MultiBitSelBloomFilter.cc
src/mem/ruby/filters/MultiGrainBloomFilter.cc
src/mem/ruby/filters/NonCountingBloomFilter.cc
src/mem/ruby/network/MessageBuffer.cc
src/mem/ruby/network/Network.cc
src/mem/ruby/network/Topology.cc
src/mem/ruby/network/simple/PerfectSwitch.cc
src/mem/ruby/network/simple/PerfectSwitch.hh
src/mem/ruby/network/simple/SimpleNetwork.cc
src/mem/ruby/network/simple/Switch.cc
src/mem/ruby/network/simple/Throttle.cc
src/mem/ruby/profiler/AccessTraceForAddress.cc
src/mem/ruby/profiler/AddressProfiler.cc
src/mem/ruby/profiler/StoreTrace.cc
src/mem/ruby/slicc_interface/AbstractController.cc
src/mem/ruby/slicc_interface/AbstractController.hh
src/mem/ruby/slicc_interface/RubyRequest.cc
src/mem/ruby/structures/BankedArray.cc
src/mem/ruby/structures/CacheMemory.cc
src/mem/ruby/structures/DirectoryMemory.cc
src/mem/ruby/structures/LRUPolicy.cc
src/mem/ruby/structures/Prefetcher.cc
src/mem/ruby/structures/PseudoLRUPolicy.cc
src/mem/ruby/structures/WireBuffer.cc
src/mem/ruby/system/CacheRecorder.cc
src/mem/ruby/system/DMASequencer.cc
src/mem/ruby/system/RubyPort.cc
src/mem/ruby/system/Sequencer.cc
src/mem/se_translating_port_proxy.cc
src/mem/serial_link.cc
src/mem/simple_mem.cc
src/mem/slicc/symbols/StateMachine.py
src/mem/snoop_filter.cc
src/mem/tport.cc
src/mem/xbar.cc
src/proto/protoio.cc
src/python/swig/pyevent.cc
src/python/swig/pyevent.hh
src/python/swig/pyobject.cc
src/sim/arguments.cc
src/sim/backtrace_glibc.cc
src/sim/clock_domain.cc
src/sim/core.cc
src/sim/cxx_manager.cc
src/sim/debug.cc
src/sim/dvfs_handler.cc
src/sim/faults.cc
src/sim/init.cc
src/sim/probe/probe.cc
src/sim/process.cc
src/sim/pseudo_inst.cc
src/sim/py_interact.cc
src/sim/root.cc
src/sim/serialize.cc
src/sim/sim_events.cc
src/sim/sim_object.cc
src/sim/simulate.cc
src/sim/stat_control.cc
src/sim/stat_control.hh
src/sim/sub_system.cc
src/sim/syscall_emul.cc
src/sim/system.cc
src/sim/voltage_domain.cc
src/unittest/circlebuf.cc
src/unittest/unittest.cc

index 8bb781c13075847aff8a4330139a4ae02a0a78dd..8a6e469f29c9d03a9fb9fbbb111600f2f43eb078 100644 (file)
  *          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 {
 
index 303d5f76289d19fc543629b754f59ec297c715e2..4599c70b06f5d019eb00139a06148d3d257d51ea 100644 (file)
@@ -36,6 +36,7 @@
  */
 
 #include "arch/alpha/freebsd/system.hh"
+
 #include "arch/alpha/system.hh"
 #include "arch/isa_traits.hh"
 #include "arch/vtophys.hh"
index bb68782e7d1c9b5a5a4b68cd8362c51a6751b21f..85e1d441081688fc008ff88707f0e742f2c87cab 100644 (file)
@@ -30,6 +30,7 @@
  */
 
 #include "arch/alpha/idle_event.hh"
+
 #include "arch/alpha/kernel_stats.hh"
 #include "cpu/thread_context.hh"
 
index 502ada5eb30cbd3590baf3fc3b5cf123ea177e59..909f15385cc371e51c518605ccddb72509a4c93f 100644 (file)
  * Authors: Gabe Black
  */
 
+#include "arch/alpha/ipr.hh"
+
 #include <cassert>
 #include <cstring>
 
-#include "arch/alpha/ipr.hh"
-
 namespace AlphaISA {
 
 md_ipr_names MiscRegIndexToIpr[NumInternalProcRegs] = {
index 8240037ccf900b64192d7abec2c6e7b31052c507..fd2dda67ccb8168c76ad5c00121fe85be28418c6 100644 (file)
  * 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"
index ada79c75796e02a92492987a8db6fe5b5304047f..fed8b09e49023876cd232a4fbfb801730932249d 100644 (file)
  *          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"
index ebe06510dcd935fefa76cdc7cb0d3ef5993ced37..9a26bb9b819a122bbdf97fdd5182abe7c0ed693b 100644 (file)
  *          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"
index 80d13cdfaa1c08fde82edcbf773202089fc1f906..3ecf42f0bc7642e42f5b992558f76511d0d7de3b 100644 (file)
@@ -41,6 +41,7 @@
  */
 
 #include "arch/alpha/linux/system.hh"
+
 #include "arch/alpha/idle_event.hh"
 #include "arch/alpha/system.hh"
 #include "arch/generic/linux/threadinfo.hh"
index f2b1147f7ad4393a101cc0af362796f37f9eca32..30d8b336784e1f2d4939c623a59ed18534e2a957 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/alpha/pagetable.hh"
+
 #include "sim/serialize.hh"
 
 namespace AlphaISA {
index 9e298f0c6807ddade781b4f571bfef432a263a0e..be286e30e8f5cc08399d091d4c02c4bc1be199c0 100644 (file)
@@ -29,8 +29,9 @@
  *          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"
index f32d49e97619783acbe43e7fe8e7ab41c24050a1..8c01005da4a2000cb2b26d0d9fd8eec4e6a154f3 100644 (file)
  * "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;
index f489557156f117f2b2ac4c0c8ee70dcce0bbd34e..1dc5956c7e627018e598eef9adfae2a64d2bd0de 100644 (file)
  * 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"
index d2be5492f071fd68a55f3b7cdde76be70e500eab..302942981452765e228f25b6519b0f6b2fe48e2a 100644 (file)
  *          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"
index 2dfe00f967fdcaecb1ff639d7648ec449178ed65..de4b4e34dcf92d0534772be56a9787bf0767e6c0 100644 (file)
@@ -30,6 +30,7 @@
  */
 
 #include "arch/alpha/utility.hh"
+
 #include "arch/alpha/vtophys.hh"
 #include "mem/fs_translating_port_proxy.hh"
 #include "sim/full_system.hh"
index 8ca23fce214b159fe2a4f167708950a39dfc0b83..baf30418a59d51aa1e46e34ac208f78e063e2fe0 100644 (file)
  *          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"
index 0a39dbba63eb76ad64ce8382f63224c3e43ecc2d..b0d7700d16feb91470815c87098266b76a89181a 100644 (file)
  */
 
 #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"
index 154039a7709e32cec60d6590f7dce150322ceeed..9a3e70616dfa9589a735139992bc404ab3c2a18b 100644 (file)
  * 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"
 
index 15702ff83e0c3fcd75e2b755da1c20ece0ccab44..55823534075af3bdbdb5467db7d85fe747ba98aa 100644 (file)
@@ -41,6 +41,7 @@
  */
 
 #include "arch/arm/insts/mem.hh"
+
 #include "base/loader/symtab.hh"
 
 using namespace std;
index 4d1fdd30217d0e26349aba7b4b91118f6e5a5d8e..52e2fc7db36f023341e1d1120ac2bd11a44e5609 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include "arch/arm/insts/mem64.hh"
+
 #include "arch/arm/tlb.hh"
 #include "base/loader/symtab.hh"
 #include "mem/request.hh"
index 7432f436e3c2a6e58d5b3d9d3590489f07d92b0d..790989d9d2a4d8b46a56dc89c352ae9b69868ec0 100644 (file)
@@ -39,6 +39,7 @@
  */
 
 #include "arch/arm/insts/misc.hh"
+
 #include "cpu/reg_class.hh"
 
 std::string
index 526369b337db8db2d713e25466ab4b69ae289591..ab38e29ea273d342df893506cdea93af964b386e 100644 (file)
@@ -42,6 +42,7 @@
  */
 
 #include "arch/arm/insts/pseudo.hh"
+
 #include "cpu/exec_context.hh"
 
 DecoderFaultInst::DecoderFaultInst(ExtMachInst _machInst)
index 3defc07c22e7c46bef19ca671c1680be4965a7e1..df27ed8220dbad1b0f6ea762cb3d040cfbce874c 100644 (file)
  */
 
 #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
index d3ba16142a86daacdc601fe12e5230133f0cc13f..3d841e9f85cb86d2dcd181123bc4c1dcabbd3a55 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include "arch/arm/interrupts.hh"
+
 #include "arch/arm/system.hh"
 
 ArmISA::Interrupts *
index 4f099bf90cc3f1270a0803775c2ceee3b0a48592..0db6d433d9596044bd899be8f56530c5db118219 100644 (file)
  */
 
 #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"
index b802cd600eb89d9089855f67a2e472047ce35ddc..e511fd6613fca5029853c744d6baf5a3d4e8f84a 100644 (file)
@@ -44,7 +44,6 @@
 #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) |               \
index 48aebadc879434d930df69bd69e019999ca959dc..67f25893bf5258d61f07938abf38b674db154fa7 100644 (file)
  *          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"
index 311d81a37b2bed5179d26b06452a6fe545f2fbfa..52e075d8fcb8b3cb76ae4d2cd75b5c91e7bcc565 100644 (file)
  * 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"
index 525d448107316086ec430f3b09195e54229ced96..09af405ad5470c3b08a13ac4a6baedcb48b00fb7 100644 (file)
@@ -39,8 +39,9 @@
  *          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"
index 20f13e69e9baff126220e4212fa03e8e9ed31a08..fcb13fb2a8a79751c8d2b6c16bf0d066f511dc9e 100644 (file)
  * 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"
index a787b1f669a6fbcf4e5fac0c3bbe7046a66de28f..cc3d3e2002db379d121e38250a78492cf239689f 100644 (file)
@@ -41,8 +41,9 @@
  *          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"
index 42ca941a827e85fa27985d0ad89618bd16f13dd9..b0f6d8e5ede54db000f8d7057afe77e8d955fac9 100644 (file)
  * "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"
index 0246ffd4e8c31ec67428a4102be5dd20f6c8e56e..a7e26c6185ff24e944835ab97af56e4937eae169 100644 (file)
  * 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"
index 04d50afbf8323a1dd0b58cfb7d42a572ed1e55d2..82a29e84f0e1f0ecedff3243b8c5bb859e323adb 100755 (executable)
@@ -38,8 +38,9 @@
  *          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"
index b61666339a85d53a11c3a02555759c979d1b3020..322f686dc55f0053ab0af844adc9a076b46ae9d4 100644 (file)
  * 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;
index 6658657aaf539ccd67ed9ebb82a85a5f014bb5cc..85bc12c5b876d3e240f6ab7ab8e907370c20b3bf 100644 (file)
 
 #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"
index 56a21ae2d8877a13318505d060f69abd4a889993..1437801a26aa93f730199e25290efe203a6381a7 100644 (file)
  * 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"
index 24fc5a5c7bac498e9b68ab15680520086976445b..8728678193de9f0d86336d7c953d3766c324f7f1 100644 (file)
  *          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"
index 7211ba355fdc3fd3065e680a8099894096054022..782dfca43f5c26674844df351ff48af3881695c6 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/generic/decode_cache.hh"
+
 #include "arch/decoder.hh"
 #include "arch/types.hh"
 #include "config/the_isa.hh"
index 1a356a5d503864cd071a3e08a9e8d64e5170bcae..c908eff01064827e28551c194eac5ee70e477b26 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/generic/mmapped_ipr.hh"
+
 #include "mem/packet.hh"
 #include "mem/packet_access.hh"
 #include "sim/pseudo_inst.hh"
index e914b05a0a8d63a7c127b83eb9b788048b3186cf..46667c15876f03151f1a57582533087496ff849f 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/generic/pseudo_inst.hh"
+
 #include "base/misc.hh"
 
 class ThreadContext;
index ff928acfcc124b24611a720f34b8c57d31f516a7..e1f5462aa6efbb770c2a7788e3d4a64e29464a8c 100755 (executable)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/mips/bare_iron/system.hh"
+
 #include "params/BareIronMipsSystem.hh"
 
 BareIronMipsSystem::BareIronMipsSystem(Params *p)
index 3f6c6866e3c7afab2470a8adf5b4c429b2eb6d8f..c999955e40f75f6725f038474a3e968a7b857489 100755 (executable)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/mips/dsp.hh"
+
 #include "arch/mips/isa_traits.hh"
 #include "base/bitfield.hh"
 #include "base/misc.hh"
index eae6bc92779c2c3520220f64eddcdebb2dc729a8..9ab1500ec6aac7d7f46d9d01ab4f6c745d74d4a4 100644 (file)
@@ -34,6 +34,7 @@
  */
 
 #include "arch/mips/faults.hh"
+
 #include "arch/mips/pra_constants.hh"
 #include "base/trace.hh"
 #include "cpu/base.hh"
index 8c98c50785275dd077046ac730feeb15abea11bb..a57988c10f5a71195853f6dd9fb59f708d951ab8 100644 (file)
@@ -31,6 +31,7 @@
  */
 
 #include "arch/mips/idle_event.hh"
+
 #include "arch/mips/kernel_stats.hh"
 #include "cpu/thread_context.hh"
 
index 98c1b8e23e80525c848ce18148b9aa3f4326652b..17bb146c46ef8feb547d4334efc8dd9c471f62d8 100755 (executable)
@@ -32,6 +32,7 @@
  */
 
 #include "arch/mips/interrupts.hh"
+
 #include "arch/mips/isa_traits.hh"
 #include "arch/mips/pra_constants.hh"
 #include "base/trace.hh"
index 5090e0b92c32e3d3695bf21df1f8d52d22a08529..6310f67e7192c91c3d5e39f82c94ad45152f8b52 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/mips/isa.hh"
+
 #include "arch/mips/mt.hh"
 #include "arch/mips/mt_constants.hh"
 #include "arch/mips/pra_constants.hh"
index c6c40188ea2d3c884fadb5435e7ff403c729980e..deb6e8b8037d5dabc4e782284b971244f701e564 100644 (file)
  *          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"
index dc2ac7da595f418e377010c6a9d23e10ea7ce26f..4a23aae66b16cef9b881456cec69673cb0033d55 100644 (file)
@@ -39,8 +39,9 @@
  * 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"
index 26d9bf40874e30830eccc28d4df9d0c2297d95b0..0c1734b42de3fe2887d30e5bfcb899791e7eaa21 100644 (file)
@@ -32,6 +32,7 @@
  */
 
 #include "arch/mips/pagetable.hh"
+
 #include "sim/serialize.hh"
 
 namespace MipsISA
index 6947eeafd0bab35caf653067bbac7af4db69677f..dd97fe7f15cd8becd40c4da8abf37292ef3a7f06 100644 (file)
@@ -30,8 +30,9 @@
  *          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"
index 68d8eaa57dee6566ae34a5f743f0ee6e35e047cf..4fa7cac70af39b20266e39ff37161db56796bce6 100644 (file)
  * "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"
index 78457c09c1a1e3fc66e664b7aaf934e9071f02f0..f584855dc732a5a13603927736c9d238aeffb172 100644 (file)
  * 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"
index c6a043e46078bf38b818d7c578da50d5471fbab9..8156747029e2144f41663eb1e193e078cb09baa7 100755 (executable)
@@ -32,6 +32,7 @@
  */
 
 #include "arch/mips/system.hh"
+
 #include "arch/vtophys.hh"
 #include "base/loader/hex_file.hh"
 #include "base/loader/object_file.hh"
index 340c830216603cc406ec6c525004600786ce0587..87a459488bf2717275bf9a5c0516fe597dd0d934 100644 (file)
  *          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"
index 80047fbfdca3b439f2ca14822d867dcca126d664..c56321612d7df94ae462453d30a6b5be8aaf20d3 100644 (file)
  * 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"
@@ -41,7 +42,6 @@
 #include "mem/fs_translating_port_proxy.hh"
 #include "sim/serialize.hh"
 
-
 using namespace MipsISA;
 using namespace std;
 
index 60d9bc1baea14188f7c123acb63f346cdad4c9f4..237b675242ef354da8b79db67e7ab9588a25c831 100755 (executable)
  *          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"
index 352c4ea572ebbb4010496a46cf0dc76266d9f541..f9876db8c19a0bb70f0b629610762b742a653342 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/power/insts/branch.hh"
+
 #include "base/loader/symtab.hh"
 #include "cpu/thread_context.hh"
 
index 447efa2f45f07f1e5b7062f4216de22f27590b22..68a33c6a331efae443876428ac2b5b891141d50e 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/power/insts/mem.hh"
+
 #include "base/loader/symtab.hh"
 
 using namespace PowerISA;
index 087e1f740c13754804a916dfc5bc220d66d7cf2b..db8c0300239b80610100cecd690ff1a900d13364 100644 (file)
@@ -30,6 +30,7 @@
  */
 
 #include "arch/power/insts/static_inst.hh"
+
 #include "cpu/reg_class.hh"
 
 using namespace PowerISA;
index 0b49c97142d91d75d213f3776742e8b0120119e6..faf6dfb9177e73722386d035568b1d3a1d17d57f 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include "arch/power/isa.hh"
+
 #include "params/PowerISA.hh"
 
 namespace PowerISA
index b00e02a872ad54e2232cf6f9ad75caaf7089d7b5..f9c424cea56a02cb1a4f8406fb90db8481d76e3a 100644 (file)
  *          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"
index 4af0b7919ec5a3b0ce77b37b348076d5bc74d7a2..81314a74bf622381d542bcef2bd0f0c786ae948a 100644 (file)
@@ -36,6 +36,7 @@
  */
 
 #include "arch/power/pagetable.hh"
+
 #include "sim/serialize.hh"
 
 namespace PowerISA
index 10e4a85a06c8d8e0fa55f5bcdec70db63513fa35..880d7dd6f582614883a19f55722e077e6cc1877f 100644 (file)
@@ -30,8 +30,9 @@
  *          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"
index f241dfecbb90483805059bf35c4e89c623ae265f..2952c74fa1eb17e926c5ba2c30916ad25987432d 100644 (file)
  * Authors: Nathan Binkert
  */
 
+#include "arch/power/stacktrace.hh"
+
 #include <string>
 
-#include "arch/power/stacktrace.hh"
 #include "base/trace.hh"
 
 using namespace std;
index 90a341d857a9ce06fb1b93cd360003c898be6982..4172778302fba7f01bd60ee4e406cb7448963e65 100644 (file)
  *          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"
index 7be195b8defec7671767d1b324b37f09375563ad..c8076a697d81b5843c976c99c572faf79a1a3088 100644 (file)
@@ -33,6 +33,7 @@
  */
 
 #include "arch/power/utility.hh"
+
 #include "base/misc.hh"
 
 namespace PowerISA {
index 8ace3cb25ee28a8df1265132324d08d22894c4f4..c181e3021353f6e1e1b2572e1b1ed728a48a987f 100644 (file)
  *          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;
 
index aa10a0b469619f91cb2435b267d55194939e592e..b8906e95fa0eae11a8a96f4f45c1bda5ba1c6820 100644 (file)
  * 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"
index ce60940606380655263efad775fb23f082710446..fd4dd981890803c1d0827d248a089a7cd4d7359b 100644 (file)
@@ -31,6 +31,7 @@
  */
 
 #include "arch/sparc/linux/process.hh"
+
 #include "arch/sparc/isa_traits.hh"
 #include "arch/sparc/registers.hh"
 #include "base/trace.hh"
index 8987aa518a513b656af74e075a518e8bd06255ab..509e3adb9657554f70de59340feac32ddd5f8d32 100644 (file)
@@ -28,8 +28,9 @@
  * 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"
index f0d2c10cf96c3718e23d05d31fb0c085542fb196..0a14f0b80ff8bb9f7225343c72b03f6c38a79f0a 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/sparc/pagetable.hh"
+
 #include "sim/serialize.hh"
 
 namespace SparcISA
index 09d52ae6b1c27d7108ed2420648eec4c2e639a36..f863eb0187cb141aa34911669b3c174ce7dcc0c5 100644 (file)
  *          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"
index 46788af1792ec060caa1592f1e87ef0d0cdf9012..b7ecd3b7aafa071470f7fd42a8a1b28fd9211e6b 100644 (file)
  * "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"
index f929877f3527964699a1ecbca9a4f866618d31ba..38159720ac1c95c83719ccd0e13c5fae40c6272c 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/sparc/solaris/process.hh"
+
 #include "arch/sparc/isa_traits.hh"
 #include "arch/sparc/registers.hh"
 #include "base/trace.hh"
index 5c7f06db3056a9e9a34fc29012fff9943f164e40..a68b11cad1433a375dffb5c00a74cf73bb6d56be 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/sparc/system.hh"
+
 #include "arch/vtophys.hh"
 #include "base/loader/object_file.hh"
 #include "base/loader/symtab.hh"
index b4a76129349c28fde6d34fedf536df06debaea71..51eb83ac2ef2ce55def51f5279535a543b8fc716 100644 (file)
  * 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"
index 2c100957f7d316cf984a58b38d27f203519aec56..274301b3704f829d332b4d54b1306a8d231bbc2a 100644 (file)
@@ -35,8 +35,8 @@
 #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;
index 34d4f79b350c936d3ebfce242143f13837bbb3c4..8f997aabfaa9224d8af38b873111c8c319706491 100644 (file)
@@ -29,8 +29,9 @@
  *          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"
 
index e3d4f5066082e887348b0e5e9e3490dbcec82590..6ba62eb9c3a627236ca52700cdd671a29081e42b 100644 (file)
  * 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"
index 4382a3d6bb7e0d95a4ebd37825183a26fa11ae64..4f279c87b1df47709a92c5e3204fb01cf67f8dc5 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include "arch/x86/bios/acpi.hh"
+
 #include "mem/port.hh"
 #include "params/X86ACPIRSDP.hh"
 #include "params/X86ACPIRSDT.hh"
index c966916f520317498ca37e0671ac6f8dfa8b955e..a1daf0a0417c56ebb7be771d4702d407db8da480 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include "arch/x86/bios/e820.hh"
+
 #include "arch/x86/isa_traits.hh"
 #include "mem/port_proxy.hh"
 #include "sim/byteswap.hh"
index 98b3a6f0828fd7b0380031d4b17aa53de280b82a..8d0a9be7da375c1eaa99005a54c7e1c7aacad05d 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include "arch/x86/bios/intelmp.hh"
+
 #include "arch/x86/isa_traits.hh"
 #include "base/misc.hh"
 #include "base/types.hh"
index 9072664bf20f84b627072147993d50ec753795d6..26785f5a80e0e68a419095c63689b91fe3dc0f7d 100644 (file)
@@ -41,6 +41,7 @@
  */
 
 #include "arch/x86/bios/smbios.hh"
+
 #include "arch/x86/isa_traits.hh"
 #include "base/types.hh"
 #include "mem/port_proxy.hh"
index f1424cce4dd0a6b7ce3a998d5b653eb2e7320928..c78b720308b0438250b5f7aa6b614f918139e388 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/x86/cpuid.hh"
+
 #include "base/bitfield.hh"
 #include "cpu/thread_context.hh"
 
index 38394875d85ec863462dd870a335ac21db9168e1..324eb0219a6555cfd9610907c0314068c518a1a8 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/x86/decoder.hh"
+
 #include "arch/x86/regs/misc.hh"
 #include "base/misc.hh"
 #include "base/trace.hh"
index 49df32ecaaf627c9bf33f52330cfd652c09f3011..8abfb6398e544ec0c4619421a585013a82c74244 100644 (file)
  * Authors: Gabe Black
  */
 
+#include "arch/x86/emulenv.hh"
+
 #include <cassert>
 
-#include "arch/x86/emulenv.hh"
 #include "base/misc.hh"
 
 using namespace X86ISA;
index 7724c0217f8ecd0d30ad8f59136cb0da7b816e55..4198bcc7cf444c59cd396c9750ca82eb0bb727d0 100644 (file)
@@ -40,8 +40,9 @@
  * 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"
index 96125f175591faa2dc6e596fb608916b53b13527..21af1281b728ecc53d127f808acf04837d11792d 100644 (file)
@@ -37,8 +37,9 @@
  * 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
index 000cbf635e214206ec7beed9391de7a584e794f3..52004d9badba763fe5e236d3d9a5a6b30f5736d5 100644 (file)
  * 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
index ea38ebfe1cd56748a5ed16d8e2d057a1b12a0aae..e99e0b9f8d3bd6aca2f416e5ed3b9cebc50e994d 100644 (file)
  * Authors: Gabe Black
  */
 
-#include <string>
-
 #include "arch/x86/insts/microldstop.hh"
 
+#include <string>
+
 namespace X86ISA
 {
     std::string LdStOp::generateDisassembly(Addr pc,
index fa4d3a4734343ff966a69f037e2dc05aa3abcf8f..dc524dafe803dd97288cbb56ae2675cedbc7646f 100644 (file)
  * 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
index 35ee9efaa7636b71f6d12984021de22bb5baddf0..923fb15b0c1207f01f855ed8c8b8b01154fa9166 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include "arch/x86/insts/microop.hh"
+
 #include "arch/x86/regs/misc.hh"
 
 namespace X86ISA
index b49cda3760b47f1feb5761d2cd59969e36d03027..5bc6e2fd8b6547807dcf62e1e7c33ad78839116d 100644 (file)
  * 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"
index 709e0a610cb9dcebdb2d8491afa717cbd13405c0..ff425f6bfb649ee37ddd68aba8f5f1aa94a03949 100644 (file)
@@ -39,6 +39,7 @@
  */
 
 #include "arch/x86/insts/static_inst.hh"
+
 #include "arch/x86/regs/segment.hh"
 #include "cpu/reg_class.hh"
 
index 10387c07afd2b8947abc7915f8ca941c01672a81..b869a929ed978b97a67e5272b62402dffd6cdf05 100644 (file)
  * 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)
index ad7248841cdfa24cb15fff1c467d02aec1f27b8d..eaedfbee376279739201642b248f90e0e13d7187 100644 (file)
@@ -28,8 +28,9 @@
  * 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"
index 8eb064ae45bf1c7b2b275a7d62b1b16334097bfe..88bb204835c19b765a29142c9370b0372d46c501 100644 (file)
  * 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"
index f473af40e46277e89b004e42e23cf76c076ac133..fc5bc2d258d73477d41e41df88c0e1f8e169a4d7 100644 (file)
  */
 
 #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"
index d8b3564a39e2be82f34034c2d9f3d9e6888fb1f2..d7472ef1ff1826a6b12bc2018e208de77b017a29 100644 (file)
  * 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"
index 4e8c39eb960aeefba27265ef9fde71510f82fcce..a1bcee0b336f19fdb535f19b6ebbd2eecf2a8a7b 100644 (file)
  * 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
index 5545bfa6414d5bd7c15fc614c6dddd69056d7514..998ea856a2b2695ffa68615dcb54285397f91915 100644 (file)
  * 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"
index 4b71357b025a0741ea411b6b199085dfe9892c42..3a347e509f171fb5ffa6b16b5009881fb1332209 100644 (file)
  *          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"
index f243df73ab169be9fb9b65fd81697b5012f1495a..edba0474a0966cce12323337ed79363091a8b890 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/x86/pseudo_inst.hh"
+
 #include "arch/x86/system.hh"
 #include "debug/PseudoInst.hh"
 #include "sim/process.hh"
index 99800385aeabf118fb7e6104846f04b9e94bf89b..4a9140e6456b653dfa738e4a17221cd4dbd226a9 100644 (file)
  *          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"
index d887ac2939344dbdb481a64ed4e77d8f91744533..ca2a691b4937ede4da2da5976efa7d830f2394e0 100644 (file)
  * 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"
index d8ea274a659f9bafa6ed5f7a49f7f454e2db51da..25a1bd0dfe04accc4c7949bfb77cf2aa5a1894c0 100644 (file)
  * 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"
index 0e0878669a8e63fb2726e8403c7f226d3d32e5dd..2e24b20e55d72e5d96750de6c9b8ecf49c81e446 100644 (file)
  * 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"
index 59f8b91de8a661c99da9d4148db43286b78d5fb0..6d730604944d46efeec58d6b52b6760190edb9e0 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "arch/x86/types.hh"
+
 #include "sim/serialize.hh"
 
 using namespace X86ISA;
index eb0247d7fb32645c5597760e873d185b086f6112..ae0a833e6aecfc55c6259473e9a7834fe83d0905 100644 (file)
  * 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"
index 4bbeb7119a77a3590f5373f98b2c892389624416..9b76d89a514e368a9cee7d6bb418ed4c92410a12 100644 (file)
  * 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"
index 13eeca05b097cb49d0e2b03086cfc9b3c0c0a0bd..2913221fc94c3e23b4110b3d069533d31c7904b1 100644 (file)
  * 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)
 {
index d741e1f7bbfb766177987671c9e5dc4a24a2cf88..ce9942c9ce67d62f72c07d2f7ee7c332bc268815 100644 (file)
  * Authors: Gabe Black
  */
 
-#include <iostream>
-
 #include "base/bigint.hh"
 
+#include <iostream>
+
 using namespace std;
 
 ostream & operator << (ostream & os, const Twin64_t & t)
index c62398def7f28e6860b36f4313577d31852a5da5..9209ffdd3ac69ee45a0531383cbf6d52cfd3591c 100644 (file)
  * 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"
index 2dd2ab4866f3171f0c5979f0dca7d3ad8d6ca270..5daf196f1f4200d15c742e2b11b3071e362edcde 100644 (file)
  * Authors: Nathan Binkert
  */
 
+#include "base/cprintf.hh"
+
 #include <cassert>
 #include <iomanip>
 #include <iostream>
 #include <sstream>
 
-#include "base/cprintf.hh"
-
 using namespace std;
 
 namespace cp {
index 6161c9e82f7c2f14e8869124755bebd42b6cb39c..6be9cdff5c5884f30b3d26ca78756e4fd37f2315 100644 (file)
@@ -28,6 +28,8 @@
  * Authors: Nathan Binkert
  */
 
+#include "base/debug.hh"
+
 #include <sys/types.h>
 #include <unistd.h>
 
@@ -35,7 +37,6 @@
 #include <csignal>
 
 #include "base/cprintf.hh"
-#include "base/debug.hh"
 #include "base/misc.hh"
 
 using namespace std;
index e5a612c46258226a5e4143c2a373b37e0b31103f..43999a5e5c9466cc918bb3c7f9ae0797cdd33620 100644 (file)
 #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>
@@ -44,7 +47,6 @@
 #include <cstring>
 #include <string>
 
-#include "base/hostinfo.hh"
 #include "base/misc.hh"
 #include "base/str.hh"
 #include "base/types.hh"
index 866b77fcf17af132636f1bbddd0e1f6428079796..57af0e56c8b34ec9eea6bee054215751daba309d 100644 (file)
  *          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;
index 80ed3eb060c0b3113f670c94b50def9844f4abe9..b0ece2e94a6fd7332af0e1b513d5edd07166c747 100644 (file)
  *          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;
index 468b1b1f09719b6afbd9f872acf5ae5d6a89f925..b731c9a8382f66f9a2cc3c2e7e3973c0f8ca0b53 100644 (file)
  * 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"
index 986f6455d4296070c07eaeddfea2b298e5ae371d..fab6a762d6559514fab68793356790e165f0a9a3 100644 (file)
@@ -35,9 +35,9 @@
 
 #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)
index 1869efa136732aff5085de9cb5e651c18b945244..4e94ecd1e7598532f9d859e2db09ef3846fb7ffe 100644 (file)
  * 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"
index dac013d40deacc3bdfc6f45b0be58f6872dc636e..c80343961ec2f803ffd7cea088337042989a72fc 100755 (executable)
  * 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;
index 8bafd3c56ef6fe125030a3e5f7af872687578a2f..a82314e68f7eed7d56ca16864a8c8ad6194dc808 100644 (file)
  *          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;
index 35a952741ee30e6dd577b94bf1741ac60a73a93d..4a04f7dfc8279c7d4f05e268126527151cfa576d 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "base/loader/raw_object.hh"
+
 #include "base/loader/symtab.hh"
 #include "base/trace.hh"
 #include "debug/Loader.hh"
index 853d98cc434bb3a0beb22d8c4b1c0d8b3a4efd71..ea73321143e4eb3893b75eac68e677897780f3c7 100644 (file)
  * 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"
index 65b74007634b154b504b7090f44a3a2dbc096e4f..dc621b482fab63929917e0cedd9a5ad098683e05 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "base/match.hh"
+
 #include "base/str.hh"
 
 using namespace std;
index d95c2ff53951af9807a223a24a20ed23bda8c78f..644545db2382f6b3fbc3824c4ba18bdf9518f0ea 100644 (file)
  *          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"
index cb3c0b7f9751c9b1b71873970240d2f08638222c..dc85c2a5454f78041e2a95f91011305353302bd4 100644 (file)
  *          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;
 
index a6c93c1f3828fb64a722ac0f93aeecac21595d2f..30edb65b656ae068984a9a8f54e4b3ecdf138854 100644 (file)
 
 #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"
index 2eb60c6e5dc387bc07e3d8717c350d8a77718bf4..0121581d6c8a54c1a13b25f248bc055447f15492 100644 (file)
  *          Andreas Hansson
  */
 
+#include "base/random.hh"
+
 #include <sstream>
 
 #include "base/misc.hh"
-#include "base/random.hh"
 #include "sim/serialize.hh"
 
 Random::Random()
index a22ba9fbe32c3a8296e2b178b83d7e57716e78d2..665dba8c5f718e25dd161b9d1c87d75fdf67f0a8 100644 (file)
  * "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"
index 01fb519b4691c5ceb34b2e1434cb1705d6d9d95f..7a444373bfa5d25cfc70260946919fa71f3f25e2 100644 (file)
@@ -28,6 +28,8 @@
  * Authors: Nathan Binkert
  */
 
+#include "base/socket.hh"
+
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 #include <sys/socket.h>
@@ -37,7 +39,6 @@
 #include <cerrno>
 
 #include "base/misc.hh"
-#include "base/socket.hh"
 #include "base/types.hh"
 
 using namespace std;
index b1b5c927ea7fba1d16f2460b860753972eed1b44..96747f0a9214a9d3eb9d4682df53e6bed7f51788 100644 (file)
@@ -28,6 +28,8 @@
  * Authors: Nathan Binkert
  */
 
+#include "base/statistics.hh"
+
 #include <fstream>
 #include <iomanip>
 #include <list>
@@ -39,7 +41,6 @@
 #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"
index ae09b9b8df0a96b1ef4f630856ca5057987bb940..9403ed3ff48e94820c99a0ba75295ab243b9fddc 100644 (file)
 #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;
index 849bc8afa260084605f39c95cf438335994cc261..87724a9348c3b2b25757d3a023ec210970997e9f 100644 (file)
  * Authors: Nathan Binkert
  */
 
+#include "base/str.hh"
+
 #include <string>
 #include <vector>
 
-#include "base/str.hh"
-
 using namespace std;
 
 bool
index 86a31156c8d1706f47171c1e5a7c79101f06179e..5ee286b9c7810c6879ea5838f76a7959e6fea848 100644 (file)
  * 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"
index ff17782499b5da3179d1ef8aeab0501c88b48a54..dfd99686a0961cbc66d313ad21ac3675fa26e28d 100644 (file)
@@ -33,6 +33,8 @@
  *          Andrew Bardsley
  */
 
+#include "base/trace.hh"
+
 #include <cctype>
 #include <fstream>
 #include <iostream>
@@ -43,7 +45,6 @@
 #include "base/misc.hh"
 #include "base/output.hh"
 #include "base/str.hh"
-#include "base/trace.hh"
 
 const std::string &name()
 {
index d97306f035b6029d3191afd3e708901b12b2abb7..5021d407a6150671c91c4d77de5496d66dc3a80b 100644 (file)
  * 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"
index 20f3bc8fedf62a387b66b44552cd28cf02c5e01c..216fa2fb4421a1d8c72b8521eef04ce4ba7ded1d 100644 (file)
@@ -60,8 +60,8 @@
 #include <unistd.h>
 
 #include <cerrno>
-#include <cstdio>
 #include <cstddef>
+#include <cstdio>
 
 #include "base/atomicio.hh"
 #include "base/bitmap.hh"
index 87875c683dfe7b29d833a9683eb9d53eeb9dbe63..84eaf8452fc394f120a837911a094bfdb7f71bf5 100644 (file)
  * Authors: Kevin Lim
  */
 
+#include "cpu/activity.hh"
+
 #include <string>
 
-#include "cpu/activity.hh"
 #include "cpu/timebuf.hh"
 #include "debug/Activity.hh"
 
index aaf5a7a93dd03b268ec85b8de215851cc8348d35..10b8ce297d90d15d8bb4b2f3cf5445e15601a2be 100644 (file)
  *          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"
index 9aae8b812ec36e0725dd9c8d7546defe3aa71706..b22fb2a45351ca48932d087ed54a49f4586d0fad 100644 (file)
  *          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"
index aa4d45e2f35e3d70cb7ba74df3f6d001e3970ab2..f9077bee0b6d07f0b4084035614cdb9bd21af5ef 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include "cpu/dummy_checker.hh"
+
 #include "params/DummyChecker.hh"
 
 ////////////////////////////////////////////////////////////////////////
index dfd39d7ccda9a08bea9616b613cde0fb0de5f8af..bbde89c006b029971e4dfb19e871c2ea4b06ea4c 100644 (file)
@@ -31,6 +31,8 @@
  *          Steve Raasch
  */
 
+#include "cpu/exetrace.hh"
+
 #include <iomanip>
 
 #include "arch/isa_traits.hh"
@@ -38,7 +40,6 @@
 #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"
index 3c2f1049db8c6667b367e581910c3baafe2368f7..d5d56405015f9288e002f9c42c8cf2528462ef0b 100644 (file)
  * Authors: Steve Raasch
  */
 
+#include "cpu/func_unit.hh"
+
 #include <sstream>
 
 #include "base/misc.hh"
-#include "cpu/func_unit.hh"
 
 using namespace std;
 
index 05bdc64d093f734652474117a7bd95eaf2ef27d8..c36f63920a6330afacd418e2ca92413ddd0775b0 100644 (file)
  *          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;
index ca24495f47a64fd2f58c54895669967ab865fe74..9e842d03a9d28a2fd10b03eba7bfad33a763a26a 100644 (file)
  *          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"
index ddf80dbaaa1756063e6a8aabf8b099945e44951f..723feda448b71a4be4a1c9d3ae689b79f49b432b 100644 (file)
@@ -37,6 +37,8 @@
  * Authors: Andreas Sandberg
  */
 
+#include "cpu/kvm/base.hh"
+
 #include <linux/kvm.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
@@ -48,7 +50,6 @@
 
 #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"
@@ -58,8 +59,6 @@
 #include "sim/process.hh"
 #include "sim/system.hh"
 
-#include <signal.h>
-
 /* Used by some KVM macros */
 #define PAGE_SIZE pageSize
 
index acc2af04ba68be7a85981fce6912159b18e74eca..5738b8ecaec89ed0542a1c35bc7e5470d05eea2f 100644 (file)
  * 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>
 
index cb48046f76137db2e174b65d74a7e190313887ff..03b31bd3fb4f7ec9a4fa1d6e950d36d3a42396ef 100644 (file)
  * 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
index 39bce32f45befef6709fd4f69933227ebc401e35..d3ab8c45a6c08b19b1908ba3c831dedcb8ddc671 100644 (file)
  * 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"
index f8f66af2f55a41d3d1c5e032bdc363192a14ebdb..bdbdadf71a1498480ba24f80b7c5c4f1ba6b0da6 100644 (file)
  * 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"
index 8e322d3e7cb06bb1f08fbe0d1b729a7af3131a1f..4a4f9d71c0627b69bcfdb4cbfdca53b4dfad4cfa 100644 (file)
  * Authors: Andrew Bardsley
  */
 
+#include "cpu/minor/activity.hh"
+
 #include <sstream>
 
-#include "cpu/minor/activity.hh"
 #include "cpu/minor/trace.hh"
 
 namespace Minor
index 016a60f47204d7a3acd1eaa85da9207b54b535a4..ae4fda6f69f4e47298ab1652280eb85760f3a009 100644 (file)
@@ -37,8 +37,9 @@
  * 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"
index a8a33d989db0fbe7f03e3631e4a17bd25f661641..390ca5f114a29b305063507f2cdf4f7b59837cc6 100644 (file)
@@ -38,6 +38,7 @@
  */
 
 #include "cpu/minor/decode.hh"
+
 #include "cpu/minor/pipeline.hh"
 #include "debug/Decode.hh"
 
index 5d54f6913dc581512da25def8202044def392237..16af15bd77b9362e300449a44984133c9a21e210 100644 (file)
  * 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"
index f5f00673303463de183722ac666519e2164b0db6..a38a7677add7127327fecc2852f978f4100256ac 100644 (file)
  * 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"
index f47f54962ca69a03a6fe46a67d8c3070008278a2..0620fee1eb7021bf6e47b582f7437476a03fee9c 100644 (file)
  * 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"
index 15d362da77a4a6901fd4793ca0a3654528c2e6f9..986f1f2aeacaa8975c0c0d2e3e7ada6ca1a159b5 100644 (file)
  * 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"
index aeee5cc447704ca36faa63574ebcf5a89d460275..a9248ba9666a463f2e4be89b60214f6e73d0d6a9 100644 (file)
  * 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"
 
index 476f9d4746a8f89a0db7e3092ebe52600ced2e16..3b70c53aabb38b00b3774baf8974f3550f94e24f 100644 (file)
@@ -37,6 +37,8 @@
  * Authors: Andrew Bardsley
  */
 
+#include "cpu/minor/lsq.hh"
+
 #include <iomanip>
 #include <sstream>
 
@@ -45,7 +47,6 @@
 #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"
index 8c04e3949ae1946ec09c14c51cd2025506222fad..08dc3db745ea256289bb9006bd1c51b502bd0367 100644 (file)
  * 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"
index f6b1f7944a6d0638c171418770f4183c5a465c83..4de3f9522902e8c12da9c1d5932a4d715bc89846 100644 (file)
@@ -37,8 +37,9 @@
  * 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"
index 6d1655ba7c637262a771eba90271aeb2c3b65e33..9b5c27021c4129cf8e98405eca1627313f4aef90 100644 (file)
@@ -28,8 +28,9 @@
  * 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"
index 5cf01f230e844d4eb0e03586e18081bbb3b70357..510109d8a9744ba6ae029d658de02594066089e7 100644 (file)
@@ -28,9 +28,9 @@
  * 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>;
index be685d7c2034cca6acdf498ffd40f87857f0425d..970af530059825273877df03ff2faff7e28ab43b 100644 (file)
@@ -40,8 +40,9 @@
  * 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;
index 9bda09bf8aada8f504648bb7e1726e5cfa11d949..d85895030f2fb5f208fe17f25970b15fd94cfa11 100644 (file)
  *          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"
@@ -69,6 +70,7 @@
 #if THE_ISA == ALPHA_ISA
 #include "arch/alpha/osfpal.hh"
 #include "debug/Activity.hh"
+
 #endif
 
 struct BaseCPUParams;
index 9f41b989f99ee84504aeebf94c4757ca4106ad83..6b2af76e079453b1652cce11ae9b9a8527036080 100644 (file)
  * Authors: Kevin Lim
  */
 
+#include "cpu/o3/deriv.hh"
+
 #include <string>
 
-#include "cpu/o3/deriv.hh"
 #include "params/DerivO3CPU.hh"
 
 DerivO3CPU *
index a9544587efaaded4e992dc3ce1dcf2bcdf3a20d0..d4b3a2fd3d60b81a3294213256879996edfd7cbd 100644 (file)
  * 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,
index b99eeab699371cc25d815aece055e80addae2940..414066e4080aaa9ccc4b5f212622e93e227559c1 100644 (file)
  * 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;
index 35d1365cb1a90178cf7c897eadebd6888f8880dd..060b4df13ab41bac5b02b302cd893be80dc6ba4c 100644 (file)
@@ -37,8 +37,9 @@
  * 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)
index 96ce44bddb1e3ea4265315bf56724cfc13b7d8e1..e1d84c68319b04ce4c2850d3641ecddbdde81bc3 100644 (file)
@@ -31,9 +31,9 @@
  *          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,
index b0232df2084c1c1fc1779e24982903996fcb59d0..18c20cf8c2b712d46952a3055a3defc5285e569b 100644 (file)
  * Authors: Kevin Lim
  */
 
+#include "cpu/o3/rename_map.hh"
+
 #include <vector>
 
-#include "cpu/o3/rename_map.hh"
 #include "debug/Rename.hh"
 
 using namespace std;
index 11b2858da2589551d42c1b112ab9318e0ab5d529..2b2b091af74ecef3d5bcad961576604083289e90 100644 (file)
@@ -30,8 +30,9 @@
  *          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,
index acd4a8d0a5cd985818ca972d042c932723a5889a..9c21fbff37839dca06cbd852fe51c06e968fde4c 100644 (file)
  * 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)
index 7ca716dd17ec6e41454f6cb661c612238cac098b..672491193efb5856f7ba6f65d49e06542faa042c 100755 (executable)
@@ -28,8 +28,9 @@
  * 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>;
index 837b17e34f9275fd6f6194548813070f2d3c5633..4d01ca7722b1e54c2face2aa7fb09fcd6b5869c0 100644 (file)
@@ -29,6 +29,8 @@
  *          Steve Reinhardt
  */
 
+#include "cpu/pc_event.hh"
+
 #include <algorithm>
 #include <string>
 #include <utility>
@@ -36,7 +38,6 @@
 #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"
index 6f821e94c67617d03e10fb5650f8684fb1963339..adbb07583b6fb1b8eee08643d67ede07677c8034 100644 (file)
  * 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)
index 355d0d8f7f4128619c39f671cae5d89bbfda78a3..69af4584a8254ed1c82e3ed9a4b3d9d5ce9c622d 100644 (file)
  * 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),
index c7ef1959fc004ed837c6e74ec806814addcfbf41..9de3bb4997b05aff89312656143026cff9c6ed11 100644 (file)
  * 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,
index c0c1c12cf55a89571c27f90433163ab499229917..276338151939e936f0802d2d9c1de3ccede1909d 100644 (file)
  * 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),
index 79ae22ca1054d7f4cdb3556564a3754ba0937d10..7558c38fe749a5f8835038c30cbffbbf6e22427a 100644 (file)
  * 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;
index d5c3fe240208a53ac54977433f070a7b2747e3cf..a152448d06bb6eab9c99486336f76d11ed70f829 100644 (file)
@@ -28,8 +28,9 @@
  * 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"
 
index 8dd81ae0b4c579d6d0dd85eab0f7d07b45b7f480..c09f0c52635cebc03c9535bf029638fbbc5ab52c 100644 (file)
  * 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"
@@ -57,8 +58,8 @@
 #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;
index bd68611022066960f8074267f2435985bd8c82ae..77d2fb4accbb79970311ac0e2476c58e6dcab0cc 100644 (file)
  * 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"
index 4f4b5da397186ec2ab329834e39634910d85920e..5fa4a2671df5719b23104dd4a8763c02ec5b80e9 100644 (file)
  *          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),
index 65fea15ee6a2cc29842e8641a7119e9c17e40cc4..43c50b948b008ca194dfd0f08ff9ceeab2e0fa3f 100644 (file)
  * 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"
@@ -59,8 +61,6 @@
 #include "sim/full_system.hh"
 #include "sim/system.hh"
 
-#include "debug/Mwait.hh"
-
 using namespace std;
 using namespace TheISA;
 
index 0e17c07b5404b06354c5a1dc988d9580bd5d2080..7c3568cb3bb64ce1229037fbc89c31f96809bf2e 100644 (file)
@@ -31,6 +31,8 @@
  *          Kevin Lim
  */
 
+#include "cpu/simple_thread.hh"
+
 #include <string>
 
 #include "arch/isa_traits.hh"
@@ -45,7 +47,6 @@
 #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"
index 387cf057527956798d218077e228b7fdb422505e..d50c9f15daedf85772efbce4190cb09f1130f5ba 100644 (file)
  *          Nathan Binkert
  */
 
+#include "cpu/static_inst.hh"
+
 #include <iostream>
 
-#include "cpu/static_inst.hh"
 #include "sim/core.hh"
 
 StaticInstPtr StaticInst::nullStaticInstPtr;
index 5aee2a91c8e9a8298cd820371d4bcc14d7d90cf0..e37868b651146f14a209b247e2e4b2de49f9b698 100644 (file)
@@ -28,6 +28,7 @@
  */
 
 #include "cpu/testers/directedtest/DirectedGenerator.hh"
+
 #include "sim/system.hh"
 
 DirectedGenerator::DirectedGenerator(const Params *p)
index 6f487730957504ea5470f2b29a5010e905d358bb..20ea4f904f68ae8ef5584a8521bc6b7f310c4d59 100644 (file)
@@ -27,8 +27,9 @@
  * 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"
 
index b850317209a8a79c9d828735c328d6620b8c016f..9b4e4543c1a70298fedd8094fbdbed5171af9465 100644 (file)
@@ -39,8 +39,9 @@
  * 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"
 
index 62d03fbf6032ddd9bf8897ab9b351fdea4fd637d..966ee4974cca807eac74fc89357bd476bdb52589 100644 (file)
  * 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)
index f5a718697a5f1d2f5ceb7fcea89e0f9e32c0ad46..0f8c877292ea8b31babd55845451fba951694d51 100644 (file)
@@ -28,6 +28,8 @@
  * Authors: Tushar Krishna
  */
 
+#include "cpu/testers/garnet_synthetic_traffic/GarnetSyntheticTraffic.hh"
+
 #include <cmath>
 #include <iomanip>
 #include <set>
@@ -37,7 +39,6 @@
 #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"
index c2c721bcfbb343abb82dfaec20775673f8896da8..5dc8b7427c786a5ca7a1760cef1030a61effbb33 100644 (file)
  *          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"
index c869bd72826b3d69a842b40a2266d2ccb391d5c9..f685d65be05d3cb4a3f0c9def1b855d7f70ab7e5 100644 (file)
@@ -27,8 +27,9 @@
  * 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"
 
index 3bdd73f27bf1380afced44edd41036e20b775d51..54248095b40400addce08019696af61685b4f73a 100644 (file)
  * 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)
index 5ed6d7f66e6b2330adf393ad9ea11044c98db4c6..61de05235e25b65cdfd33c67511c7d287b204d57 100644 (file)
  * 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"
index 69146599603d5d321ddf2143ab6b036d3a355c70..cea21e7906159a4ebed1d574ad8b44c3c1078d05 100644 (file)
  * 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"
index 42418761315b6890b32d428303b45d5eb9bd265e..92be17977ea82fab873035e002f9a0c3c4f7d3c0 100644 (file)
  * 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"
index 36a643ed2e065aca9a66a241cc2e9de38a32ca5f..88bc5476f3fca8876755eab7393d3cc5bc91500f 100644 (file)
  * 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_) :
index 93bfedf9d7ac44657ce0d016341ff5818d7a5601..5c627ca34a84bc84a15855487665aea6f3f235f4 100644 (file)
@@ -35,6 +35,8 @@
  * Alpha Console Backdoor Definition
  */
 
+#include "dev/alpha/backdoor.hh"
+
 #include <cstddef>
 #include <string>
 
@@ -45,7 +47,6 @@
 #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"
index 300b481de8d124d64882e54e568e911cfe8ddf86..82a38129b6a33237f7a448ae8394ea4e87318d8f 100644 (file)
@@ -32,6 +32,8 @@
  * Implementation of Tsunami platform.
  */
 
+#include "dev/alpha/tsunami.hh"
+
 #include <deque>
 #include <string>
 #include <vector>
@@ -39,7 +41,6 @@
 #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"
index b9a3eb46f419b73dd3c339d1af6491307d478813..7429d8ca9c0260ce69581ac7862caf6d43263abc 100644 (file)
@@ -33,6 +33,8 @@
  * Emulation of the Tsunami CChip CSRs
  */
 
+#include "dev/alpha/tsunami_cchip.hh"
+
 #include <deque>
 #include <string>
 #include <vector>
@@ -45,7 +47,6 @@
 #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"
index 8015ec2fe298b895f9d071df48bbefed7ab83d7f..7112a02a7478c03873abc5c0e2bb495eb7ebd92a 100644 (file)
@@ -34,6 +34,8 @@
  * Tsunami I/O including PIC, PIT, RTC, DMA
  */
 
+#include "dev/alpha/tsunami_io.hh"
+
 #include <sys/time.h>
 
 #include <deque>
@@ -46,7 +48,6 @@
 #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"
index 26b2a452285d5ed78768511cba3578ee964e8bff..32dc3f7dfa070e5a5b7caa19c579837a06e728d2 100644 (file)
  * 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"
index 540d096154e0ba0d62d04674f383fbeef2d4b538..d9acc9a007484c5492a9f08b69f326c9f4661783 100644 (file)
  * 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"
index d415ab2fa7424256dd8bb2965f46d8ead0ec0424..3f8fcd6eebb02e8dc6ff0b99ef94cbbd8379cce5 100644 (file)
  * 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"
 
index 0e6925852faa017511abbce1def4fb578d0ca503..9efdeb12972f6d4f07389499c371139993ee7e75 100644 (file)
@@ -39,8 +39,9 @@
  *          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"
index 5a73c3100ed9a1524367d26c015d6b8412d3851e..3c6fed7120da8b90b79305990f4debd93f52dff4 100644 (file)
  *          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"
index 0f63f23fc0aae6df3326e79a4b43af6ee37e694b..363aeba9471b3b2424aa61f484edb63118c6285e 100644 (file)
@@ -40,9 +40,9 @@
 
 #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"
index d96810351715126a954158cfb71abca52f9cb0a4..941546743f02e299bd95a5dbaf13f14a6c814f75 100644 (file)
  *          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"
index 40f34e1fd78f5d57836f3a095a863ab95eb53519..f7f5d2d0a28dd78ee86e71b2f22cd27c865618f8 100644 (file)
@@ -51,8 +51,8 @@
 #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),
index 23ffe58c9427498c0e6eb7afc7d4e11b7e782b90..b12e7a3527d43bb113606ad78d5b51b81846f3b3 100644 (file)
  *          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"
index 2a6bc63f3514e4cb408be6a1a74fbc8844dda65a..e5e7afdc05d2459450be6159cda3cab68c37de1c 100644 (file)
@@ -44,6 +44,8 @@
  * Implementation of RealView platform.
  */
 
+#include "dev/arm/realview.hh"
+
 #include <deque>
 #include <string>
 #include <vector>
@@ -51,7 +53,6 @@
 #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"
 
index d5661877c10e144a0b11be39c76ce06a819e59b5..46c5d28e7fc7b01e2450b06b03cb760512778df0 100644 (file)
  * 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"
 
index 11ae3b3d238de9d7b4f69ac25eec43b2abf0087c..448ac2189543dee990eed7801a1fb42c3b3f5e30 100644 (file)
  *          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"
 
index 54a5a25165a1df1d11db6ab08242b100b976cb8b..99c722d79b6700e9f0a1632dc7b517b2153fac67 100644 (file)
  * 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"
 
index 71d1d3bb623ebee0a7c428aad30e5d0bbe179e5c..60866f1f472fa72adf0b3feb1b83adeb50cc14b0 100644 (file)
  * 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"
index 918c754d5e58f93d44b493266672238f8170d456..b933853f897ebcdf846b7e1d95ee195d3e0a6ce6 100644 (file)
  * BadDevice implemenation
  */
 
+#include "dev/baddev.hh"
+
 #include <string>
 
 #include "base/trace.hh"
-#include "dev/baddev.hh"
 #include "params/BadDevice.hh"
 #include "sim/system.hh"
 
index e832808536faea2b6b11aafc69f76cb628a05496..3831f21b80394caddef343dc3f7b9a681d7b64b0 100644 (file)
  *          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;
 
index daa939d8f0bf0be62140178af2fdb9636e25161e..28ea52aad6b5b729d3d092dbac56db2447038107 100644 (file)
  *          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)
index 0871fecbbe6d84c099d6d5941abe7d8dbdd8d170..92ee19a97711ff261563432faa5c37eb7cf50a49 100644 (file)
  * 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"
index 1eaaf96a2f3f7a970577026573bc96b463edd271..4f5793543a3117fd7c1b300005600042fb666e75 100644 (file)
@@ -30,6 +30,8 @@
  *          Miguel Serrano
  */
 
+#include "dev/mc146818.hh"
+
 #include <sys/time.h>
 
 #include <ctime>
@@ -39,7 +41,6 @@
 #include "base/time.hh"
 #include "base/trace.hh"
 #include "debug/MC146818.hh"
-#include "dev/mc146818.hh"
 #include "dev/rtcreg.h"
 
 using namespace std;
index 21dfd40bd6466e2aeef3c4aedb8cc33057db82ec..8843d4bf23f47fc7464b3bb87b8b3b7f3428a19b 100755 (executable)
@@ -33,6 +33,8 @@
  * Implementation of Malta platform.
  */
 
+#include "dev/mips/malta.hh"
+
 #include <deque>
 #include <string>
 #include <vector>
@@ -40,7 +42,6 @@
 #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"
index d607acb0809736bd29531be5269dfca98d6f6131..929702f773d6e746020417aaa87155aec4087efd 100755 (executable)
@@ -33,6 +33,8 @@
  * Emulation of the Malta CChip CSRs
  */
 
+#include "dev/mips/malta_cchip.hh"
+
 #include <deque>
 #include <string>
 #include <vector>
@@ -43,7 +45,6 @@
 #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"
index bd37911631932f1ad0495a80f483f22e1b12021e..96de7f97721ef3550a2f1626196938ea819f533a 100755 (executable)
@@ -34,6 +34,8 @@
  * Malta I/O including PIC, PIT, RTC, DMA
  */
 
+#include "dev/mips/malta_io.hh"
+
 #include <sys/time.h>
 
 #include <deque>
@@ -46,7 +48,6 @@
 #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"
index 916cd8422febc39fc9f5fa2d21815575d6b32295..192d824d886f91df6aa35efdc50b169dc2432f2b 100644 (file)
@@ -63,7 +63,6 @@
 #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),
index 3b572f7f4a4b487bb9ea58be5a13f9ccd3e351d6..dfb197ba9d606f7b94b7adb4f42b22ed59e69219 100644 (file)
@@ -47,7 +47,6 @@
 #include "params/GenericPciHost.hh"
 #include "params/PciHost.hh"
 
-
 PciHost::PciHost(const PciHostParams *p)
     : PioDevice(p)
 {
index 8c7706b4825dd06a6704423adfad08486fc584cf..63df9bc0d71228825b6256efbc82ac161473e33f 100644 (file)
  *          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;
index 0d973ad709a84c99674a17a286b33776fa1e408a..2c13e5caf3f3459850031c1fdd2e5c49130ceb03 100644 (file)
  * Authors: Ali Saidi
  */
 
+#include "dev/ps2.hh"
+
 #include <list>
 
 #include "base/misc.hh"
-#include "dev/ps2.hh"
 #include "x11keysym/keysym.h"
 
 namespace Ps2 {
index f1ddb522e4f12cb8653e8d510e4fe6e03a2ce04c..9e99867355a6b49d88905bb1cf7632dd40941bce 100644 (file)
@@ -41,6 +41,7 @@
 #define __DEV_PS2_HH__
 
 #include <stdint.h>
+#include <list>
 
 #include "base/bitunion.hh"
 
index 5b74bbcb70b5c8b66ae62c8dd452867b44f80331..3d47ff6606819ca5ee682b6755e5d6b172d221bf 100644 (file)
@@ -31,6 +31,8 @@
 /** @file
  * Time of date device implementation
  */
+#include "dev/sparc/dtod.hh"
+
 #include <sys/time.h>
 
 #include <deque>
@@ -40,7 +42,6 @@
 #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"
index 55cb93f37b0bdad2521b574799aca5bb737b5bf0..28d384212078ac04223b8620611d802bf3072911 100644 (file)
@@ -35,6 +35,8 @@
  * well as facilities to send IPIs to other cpus.
  */
 
+#include "dev/sparc/iob.hh"
+
 #include <cstring>
 
 #include "arch/sparc/faults.hh"
@@ -44,7 +46,6 @@
 #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"
index 5fe9157bcbc4bdbea245e3db91e01f112eb67369..a6ce1d09f5d20ab3ee392c4500f8ed697f138651 100644 (file)
  * 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"
index 12f43ab23d6e0d11d7f423024da4235eeb261493..f658462976142639076c1b193b4641ce6b69d4da 100644 (file)
  * 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"
 
index f232f0f2847c5916f49d88ed7f9f5e000032998b..01900445f9c2c70c154093d417faea47238fa215 100644 (file)
  * 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;
 
index a9446e6d536ae0b805c5758cadbde56bb6bc2c73..3c97604fd847de1e4b35cc4bd1f3eaf9e8f64440 100644 (file)
@@ -32,6 +32,8 @@
  * Implements a 8250 UART
  */
 
+#include "dev/uart8250.hh"
+
 #include <string>
 #include <vector>
 
@@ -41,7 +43,6 @@
 #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"
 
index 05c1edd6208672ac183dd487ece514db5fedf631..f098784d0a4e4e84a07a3bb804456ce24a9ca2e9 100644 (file)
@@ -37,8 +37,9 @@
  * 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,
index 2b511e2f37b98d41435d296a1cc605bcd96d0a32..a602c3e29954a58c711b2f173db39b7f1afcd46e 100644 (file)
@@ -37,8 +37,9 @@
  * Authors: Andreas Sandberg
  */
 
-#include "debug/VIOBlock.hh"
 #include "dev/virtio/block.hh"
+
+#include "debug/VIOBlock.hh"
 #include "params/VirtIOBlock.hh"
 #include "sim/system.hh"
 
index 70b53c1851c3d7ef06bcda662837e0dadd3f8df8..e3428e95153683aa554063498ca0120fa11e78b9 100644 (file)
  * 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),
index 2006006db6b4117e2340ad0e61f57d213ae115e4..a8d1ee779f0439e12601b7f1889620be6ae44a73 100644 (file)
  * 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"
index fb0735eba170f7c25b550ba856065eb9bdebe4ab..29b92948d9fa8ce5c13b8f43f98b99f98026d07e 100644 (file)
@@ -37,8 +37,9 @@
  * 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"
 
index 73cfe853e3319144f4b4119ec0db5eeb62fd9e93..16286f07e9a53732fe80245292b32cd796b2c8ed 100644 (file)
@@ -28,8 +28,9 @@
  * 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"
 
index 8aef9322341f045b91d0ef804d104e9497452ee5..39b02055b3f6ca6b9b8d4de96d028354329c2425 100644 (file)
  * 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"
 
index 7388036fb7e5e7d5d7854d1f3e171fc2f088d187..a4b05b00705cc50410def8100a9f47f85d12e289 100644 (file)
  * 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"
index b16f78883c6dda1dd4a0773b07d4df51ad1f9408..a9ef53c2cd22507aa703681fe3e742bcf739a36c 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include "dev/x86/i8237.hh"
+
 #include "mem/packet.hh"
 #include "mem/packet_access.hh"
 
index f784a0107264dbbed31d8bd6b2805c2a20c72afa..457db13f7f02d2d371e54302c7de1e9ae8c6683e 100644 (file)
@@ -28,8 +28,9 @@
  * 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"
index 84f2d1321c4679e4257c976f54cbf44f7a85f6a6..03c5cb9485a228e7cd9d896a3852493f14b66049 100644 (file)
  * 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"
 
index fe3119803849f4cddba7605b0ae8abb963032842..6d182c0784fd881d0cf77753fd06c0999a364da9 100644 (file)
@@ -32,6 +32,8 @@
  * 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;
index dbb1ef1be1bd42a68e1adfdbaaa673e31f7f5b3f..e426c70498b051e3234bba4cf614d2691f4dfde6 100644 (file)
  * 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;
 
index 2358608150e118173e3e1956046883dcfe4bbb8b..61a296719930467b4bd7240ec81f3e34df2bd437 100644 (file)
  * 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"
 
index 8214aeb97e12dc5b043e2492ce535705a48f587f..ef5b4417fbca8cf88251ba1d83e40afec9eceef4 100644 (file)
  * 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"
 
index c2cf60964dc559ba25c2e8d3b881932f559887fe..adc2009df7e52f1ba6590580afaf4c6976febbef 100644 (file)
  *          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;
index ce4092c4a914114d84257e252f2b550417fba36e..1ecc94c15d5703320a5d94d3a22be5f885819639 100644 (file)
  */
 
 
-#include "base/misc.hh"
 #include "kern/operatingsystem.hh"
 
+#include "base/misc.hh"
+
 int
 OperatingSystem::openSpecialFile(std::string path, LiveProcess *process,
                                  ThreadContext *tc)
index 3ee7a099a48ec24ac23c751c5cd9f6e6c664acf4..7ac8b57da2682545c37d268032c5a419ad123673 100644 (file)
  *          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;
 
index 75c5b559b6897437d535f63fe9bf1f0bc4d06a5e..e05296c3e285dcd87d6d4e12621de3c51addfd9c 100644 (file)
  *          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"
 
index 8a209e8b732af676c993d7c73f247a8d8830ac09..a7adcba64383e2e2cc102c7212c67f67eca7a173 100644 (file)
  * 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,
index 3d22dcce68f0a86b53898a3b5edea7940f796c38..6b4cf05861f270ca72291821425760d29a28b7b0 100644 (file)
  * 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"
 
index 863d369002c4da792bdaed4d078c3865d69930e5..4a685d88485902ef899ead87ad12696bdca23548 100644 (file)
@@ -37,8 +37,9 @@
  * 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)
index 6b8fee828ea10a1ff11e35daea2aceb49e64a767..e9c83f2ffa91c75a8fad7a43e2359372e5314e96 100644 (file)
  * 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),
index 6cf381c21361096d1b855c8c1d4afc85f1c49ef3..7c3a4e31410de7d85b789d2bcfdac417721718b3 100644 (file)
  * 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)
index 05549fd1cf94502fb6864404858b753441c5f9d8..df2f8ca5e375ad4a851c37c30bcf54a335c161b2 100644 (file)
  *          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)
index 5d4852d3806643374cfa866c0c74b7c366a83ca1..ada70279f257a3d4d1850dff8caf049f5ad0fe66 100644 (file)
  *          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;
index d6293b0b60f5c385dcf1be1ee815d188ca6b47f8..d491c96129634103bb1a722b8fbd60b0b20d7ad8 100644 (file)
@@ -37,8 +37,9 @@
  * Authors: Omar Naji
  */
 
-#include "base/intmath.hh"
 #include "mem/drampower.hh"
+
+#include "base/intmath.hh"
 #include "sim/core.hh"
 
 using namespace Data;
index fb1ee945b16ce53052192455f10a8909697d4942..106ea264fd4cd795d6059bd5cfae1c595f32d608 100644 (file)
  * 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) :
index 34a7ad5d56c837614da93fab42436cfb36ea2100..841ae43912563d7718f51e59813d8b47015ae041 100644 (file)
 #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
index 74c5a6f43b7b0fd278027f3f4855025aa6b492e4..94fdc39cfb33b60b19deb795749db9b25b21ea52 100644 (file)
  *          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;
index fadeff83337df8d0633a7b863a59ed971cdce3a7..2d7ba1a653e07ae2aabb66c8bbd0d6e0636b4b64 100644 (file)
  * 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
index a3229d7d1ef431dbff18aedcf1aa2b1b5503267d..616c12e5e12fed63063124f16fd3ff84899f5dab 100644 (file)
  * 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;
index 18c12622aa33fdc5c24af315de0e8fe03b8a6aa4..c8938b7216cfb8e62f673164d4285f1164191d76 100644 (file)
@@ -1,6 +1,7 @@
+#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),
index dba4b5025eb78cfa228c6b5c4a18d3f28bb269c7..810683ca49cb1773363afc212dd57f290f398af9 100644 (file)
  *          Marco Elver
  */
 
-#include <cassert>
-
 #include "mem/mem_checker.hh"
 
+#include <cassert>
+
 void
 MemChecker::WriteCluster::startWrite(MemChecker::Serial serial, Tick _start,
                                      uint8_t data)
index 971dfc0481f0e127af53e34a6990041a089a9643..2a25d21ab677349fae7894132fdbf1ec441dc11a 100644 (file)
  *          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;
 
index bd7258f9fd6a0892cba03562fa6eebadec9b3cbc..eeaa4fb0bda82e07eb488965c52c3c7ad170ec10 100644 (file)
  * 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)
index 7efed73b0ebe9d1029abdcd3706d36e8b51a3f40..371058b25f4b2d3b6eadc7ff8a7ec73a8f3a01b6 100644 (file)
  * 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;
 
index ca8422f52d25a03d8bac3c25075f70769d991113..f7df3314fe6498526b85f74015ad81dd46bdf59c 100644 (file)
  *          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;
 
index 6875d6f9b5a22ee52db3869a98cd9bff2be15787..f47227f5ab5148f0b8a577a8c12937c511c762d3 100644 (file)
@@ -35,6 +35,8 @@
  * @file
  * Definitions of functional page table.
  */
+#include "mem/page_table.hh"
+
 #include <fstream>
 #include <map>
 #include <memory>
@@ -45,7 +47,6 @@
 #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"
 
index 05881b2248a76b05c62b5bf182501ba30c0398a5..586f1c4756bed9e0ce93847efe63a7ce772328c4 100644 (file)
  * 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>
 
@@ -54,7 +56,6 @@
 #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
index 91b9408eba6f918014549554a5e842b7c2f138d0..2111fa429c10422fc74cae089f9515b6dcdf04ba 100644 (file)
  * @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)
index f0158ec2dcfafbfd12cd173190bf3380798e495f..f40c64e2e54731339a88495563d0039369c412a4 100644 (file)
  * 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
 {
index 36c9a58e48641036e0bd049112bd66972d3ffcda..39c25fc18ce696c1f69f69ec07863b09b15d6d44 100644 (file)
@@ -41,7 +41,6 @@
 
 #include "params/BaseMemProbe.hh"
 
-
 BaseMemProbe::BaseMemProbe(BaseMemProbeParams *p)
     : SimObject(p)
 {
index 31de160cf162e5fdf09111658b3ae4138a4aebbd..209802bf18e297c87321ad42371dc6239232b22e 100644 (file)
  * 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;
 
index 0a89bda530d17b7c4297b4d4263790e18d6ab894..3a28646f31161680ae7dbfce964a4e9cced13341 100644 (file)
  * 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();
index 5175cb9500a59658e249c57522505a08ca2eb266..98fec99a20f063e7d43fa42dd38d93439563af1a 100644 (file)
  * 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)
index a453c373feb7efd01bdd885947d41e191b2532cb..9587fa9277811a094ca83241b24859cc390b3edb 100644 (file)
  * 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;
index f634b13adb6f8653b761dc1c709215772d5e1dc8..3bd2b4d3291c1133314a63042b6223a92c54d14a 100644 (file)
  * 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;
index a9a0cdc5bc63ef7d273a87a3a233fb786cfb823b..10dc4d283ca738708679f255dfe9b7002bedc00a 100644 (file)
  * 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] = {
index eaac5c4a25f55eb6c85f182a2aef756f6fad8e74..e8050b16d32f6f554caded9d916910dc15c8461a 100644 (file)
@@ -26,8 +26,9 @@
  * 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;
index 4cbf25f573639676de08f7acded29ab5627c5071..5faaa10da57a16c824b29e6cd647ef16d8a82975 100644 (file)
  * 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;
 
index 0226a2957beb53e36974e66719c477a7bda468d6..c1d558c8cd7c3ed9cc7a64b826c17fd99cac5b59 100644 (file)
  * 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;
index fe76f7c901e88b2f7b411dda30f4f904b9a1ac54..15b1697941286aa9454cb0a1b172224188f71aed 100644 (file)
  * 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;
index b96b0050483dfe44de50d8d869bec75ed677632c..d7e1d0384d4b1ffffb9ecabd708a5994a4e0960a 100644 (file)
@@ -26,6 +26,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "mem/ruby/network/MessageBuffer.hh"
+
 #include <cassert>
 
 #include "base/cprintf.hh"
@@ -33,7 +35,6 @@
 #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;
index 721dbbabe01fea9d9f37457086263304ec2f6656..e9b28a731e50ce4a316667386972f411eaf84a48 100644 (file)
  * 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;
index c18f379ae4b699749fa8583b0857225202b674df..f7afffd664186afe26a1e11a95c02fe7f130922d 100644 (file)
  * 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;
index 027c8baee69a68aacf6db41c0f819bd76a69bfb6..156b96d23b44dd3cba4fb978130e01806e666002 100644 (file)
  * 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"
index 1cc9869642d3220908efbe1b535eae50814eca38..12d5e468c9eb8a06aa9c6892e64ffaf27b38d8d9 100644 (file)
@@ -41,6 +41,7 @@
 #include <vector>
 
 #include "mem/ruby/common/Consumer.hh"
+#include "mem/ruby/common/TypeDefines.hh"
 
 class MessageBuffer;
 class NetDest;
index 1652ae7bb39188ef40f81ad5873663ab6d30b852..56f948f4c2451bca1834f7ad6b64f009511ed302 100644 (file)
@@ -26,6 +26,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#include "mem/ruby/network/simple/SimpleNetwork.hh"
+
 #include <cassert>
 #include <numeric>
 
@@ -34,7 +36,6 @@
 #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"
index 78f5b609c5c8a26a7c0cdce609d4b7b556daa150..7cc635d2a1c8f3bf67a9ec4c19e36b840bef6d84 100644 (file)
@@ -26,6 +26,8 @@
  * 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"
@@ -33,7 +35,6 @@
 #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;
index 3863ab944ea617ad2463d3da16a43254f6e8d5bd..5ed918c6b9ba3afe73f28b16970f3ce1faa3ecd3 100644 (file)
  * 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"
 
index dc5f1ac8d4f27bb6ece5f070e452e6b6a5614dd3..58227663e750e462eb6b7b901594ec441766e95a 100644 (file)
  * 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) {
index 52c693330aaceca1454f2fbf28dddd0e167a517c..087b77474defc882ba72c6cd86cb11be62d1bfb3 100644 (file)
  * 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;
index c3c1f8a198afe5871b946a83dc328b2b87344036..9db1d489c24a558f25044b7a3947819b2ff139fb 100644 (file)
@@ -27,6 +27,7 @@
  */
 
 #include "mem/ruby/profiler/StoreTrace.hh"
+
 #include "sim/core.hh"
 
 using namespace std;
index f737707bd7749846253fe274a28168042cf53856..19dca90284939a5525af3cee6d6e55d1ad0da2ea 100644 (file)
 
 #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)
index 6f49e5ec42fda925d49d447b3b3479c47c694733..e4562145fb73de8c5b70c6f474989053c6de70e1 100644 (file)
@@ -41,7 +41,6 @@
 #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"
index c4c5b2fafc5b20fa346592fe9ca2abfde35f19f1..dd26ad645489647ea9280c5a2f281d3d90777fdc 100644 (file)
  * 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
index 5054eae8a67830ab961003ae8096309e2b430d9e..091bcbdf6c7e59db10fa839a1add15a22269710f 100644 (file)
@@ -29,8 +29,9 @@
  *
  */
 
-#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,
index 36d109769914ebaaf2b0c6b6eec6cfa1e922393f..8d99c90aa297b277303b5b882bdbe678b786a649 100644 (file)
  * 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"
 
index 8aad6f4faa04b5e65645303bccf3ac7e16d2692f..f79382c268cd3299b62c9acb412bc208c866c39d 100644 (file)
  * 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;
index 1c499029191b79e0ae9dae34ec3ffeea6d02be14..3b6d917540f61a5ee46eee79b0c257e662fe6ede 100644 (file)
@@ -30,8 +30,6 @@
 
 #include "mem/ruby/structures/LRUPolicy.hh"
 
-
-
 LRUPolicy::LRUPolicy(const Params * p)
     : AbstractReplacementPolicy(p)
 {
index eef51dcf7dbd73af75524c15014323a2edca58f5..df8fdfcba7386d5eb3301f6aa2c1e803f322988a 100644 (file)
  * 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*
index 954e7444ae37d1918508d105d8283540f1b690ce..e423bb58d13fd13c3014f07728b17d1985be86a5 100644 (file)
@@ -30,8 +30,6 @@
 
 #include "mem/ruby/structures/PseudoLRUPolicy.hh"
 
-
-
 PseudoLRUPolicy::PseudoLRUPolicy(const Params * p)
     : AbstractReplacementPolicy(p)
 {
index c46aea071dc22250b7032fc914c22f9478c510b0..15398d8c0cb415a5be40aa4ab66c92516f0d03de 100644 (file)
  *
  */
 
+#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;
index 78d6939fc500f8329fdd51473aac49dd6bf6366d..83e8a70dd1f76e355d01811468345d740239e8b6 100644 (file)
@@ -27,8 +27,9 @@
  * 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"
 
index 58714ab10ddb5897abd75c93f750a45fd921537d..0ad8a205de677ecb2307421b17aa284bb43bfbee 100644 (file)
  * 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,
index 7f0e6f82d92ade1f16dbe8a885d2864e994e9552..5b94f80edb27c0ec2c0eaaf586939a71bb29f8cd 100644 (file)
  * 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"
index 982c1c811dea1aac076ea3242b5549fc2fb98004..7fdd52623a21d2405f1bc7b4ff488633ee6dc8a6 100644 (file)
@@ -26,6 +26,8 @@
  * 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;
index 7dfeb934383887df80d892c1e12f5a8e0b7956cc..6c5191cafc7a10160ba8927c4ddd99bfdf39cb4f 100644 (file)
  *          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"
 
index 25f5291bba60278c5ce826a20acfcc384664b277..ee21163b741d88954441015b5d173245b7096bdc 100644 (file)
@@ -56,7 +56,6 @@
 #include "debug/SerialLink.hh"
 #include "params/SerialLink.hh"
 
-
 SerialLink::SerialLinkSlavePort::SerialLinkSlavePort(const std::string& _name,
                                          SerialLink& _serial_link,
                                          SerialLinkMasterPort& _masterPort,
index bb44b8c850ec0172518a956e213957e052edf156..f3a01b5b09e5b4dff82024a87e237c979414a873 100644 (file)
@@ -42,8 +42,9 @@
  *          Andreas Hansson
  */
 
-#include "base/random.hh"
 #include "mem/simple_mem.hh"
+
+#include "base/random.hh"
 #include "debug/Drain.hh"
 
 using namespace std;
index 3f88d8387504c4f939d7596ab432958463d6b9e0..817ddb4812a722242e70d93de439d57261f0e2e3 100644 (file)
@@ -470,6 +470,7 @@ void unset_tbe(${{self.TBEType.c_ident}}*& m_tbe_ptr);
 #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"
 
 ''')
index eb500cf72e16bce65528cfc387e9df679cc406b4..e8f449504de11d4c48489d3487b4f7f90bbecf35 100755 (executable)
  * 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
index b80c2d93a4c17e80cb1da4ccc05ada91ec8942ed..fce4f6ca23ba91fe76d1052de11677c942efefbc 100644 (file)
  *          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)
index 416b0293145c03be7bdead78d33bc7d283f79982..03546194413420677d291879c1cef4e7242dbf2e 100644 (file)
  * 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),
index 70e3fcb44025d6aed279f540adddaeeb51e4cfcb..a666726fe2f587c4227443f1811b4fd0f676ecc9 100644 (file)
  * Authors: Andreas Hansson
  */
 
-#include "base/misc.hh"
 #include "proto/protoio.hh"
 
+#include "base/misc.hh"
+
 using namespace std;
 using namespace google::protobuf;
 
index d83d57cbf432c6cad12c9cfb4ebb7568ea4f26c3..24760fc65ba302d8ad511710e9f03c3192ce54e4 100644 (file)
  * Authors: Nathan Binkert
  */
 
+#include "python/swig/pyevent.hh"
+
 #include <Python.h>
 
-#include "python/swig/pyevent.hh"
 #include "sim/async.hh"
 #include "sim/eventq.hh"
 
index f668c1d9a0ead5c53333bc6597ab3dad0ec454d5..270fc38699bf668d8b28faa639dd4ef724fa042c 100644 (file)
@@ -32,6 +32,7 @@
 #define __PYTHON_SWIG_PYEVENT_HH__
 
 #include "sim/eventq.hh"
+#include "sim/init.hh"
 #include "sim/sim_events.hh"
 
 class PythonEvent : public Event
index dc3a48643457eeb3cf52c80631abe477fef87507..07a2ef864ed707e5b90b0b2d7e59d84e471df84e 100644 (file)
 #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"
 
index 6d45e3b3d4b78bc5946e5bdd4a15f043145c6876..5d6ded9eefbd692acf837e0269aee07a0dca550c 100644 (file)
  * 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()
 {
index 584f9f30ebbe5235b626cb545a1c6d6a1a813827..a2958a6a1cc17802b1c6b6fd0fdf21a45d26a42e 100644 (file)
  * 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 {                                                        \
index 9865c4d116df110d2d650c3d026b6e7f10d079f0..5b05ced9b6d7ed843d1df40326828840beb92fbf 100644 (file)
@@ -42,6 +42,8 @@
  *          Stephan Diestelhorst
  */
 
+#include "sim/clock_domain.hh"
+
 #include <algorithm>
 #include <functional>
 
@@ -49,9 +51,8 @@
 #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()
index 1333c8b22c87e235ce621ee1c9bb7421a06a4f7d..279012f9b6af32d56a65863d46c1b561bffaf020 100644 (file)
  *          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;
index e0b209aa43cb090cab6064f0ed14bc1f1da128fa..a679c61050bd5d33b867a25e11efd9a733280f2c 100644 (file)
  * 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_) :
index 9fab75108de50c2db024d0185f01afd026c985a6..b8291c86205c495160301b7bb0bdde9c62360fdd 100644 (file)
  *          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;
index f11e3f118e5eaeb988127004b23ab890c313964f..254720c5f2ddc590b9057a08c44b620940451a32 100644 (file)
@@ -39,6 +39,8 @@
  *          Stephan Diestelhorst
  */
 
+#include "sim/dvfs_handler.hh"
+
 #include <set>
 #include <utility>
 
@@ -46,7 +48,6 @@
 #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"
 
index abcad6d3c21c610901dc3a8701b1ff775cf4bba5..93e7665268fc01f97bc7d42138413d385324a91d 100644 (file)
  *          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"
 
index 2e1dd629ca0cc0f68ea7bf58c525932f0f3a13fb..d46e763241ee2159fcf59877ffd1a0c9995acab7 100644 (file)
@@ -41,6 +41,8 @@
  * 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;
index 600d9dcc4bfa52237791f1fdd246680d7bbc5d3a..5f20f78610c5519cd06f9d8cc7aa1b26086e55f0 100644 (file)
  * 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)
 {
index ef3ab9ecd8b1fb1b29a7bf04013c474ec9805103..1272949a1c635b016601c62a286ca9a51d5bba62 100644 (file)
@@ -43,6 +43,8 @@
  *          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"
index eed332747ddde513a0f684f3641ec4a642ac20a0..8c2d26b00ed51a5a4777a209333f7d6ba119979a 100644 (file)
@@ -41,6 +41,8 @@
  * Authors: Nathan Binkert
  */
 
+#include "sim/pseudo_inst.hh"
+
 #include <fcntl.h>
 #include <unistd.h>
 
@@ -50,9 +52,9 @@
 #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"
@@ -68,7 +70,6 @@
 #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"
index 7e6527e814067a131629928a3febae15931b2c71..8acff40dd6b1a56d9c98a11848672052ebb02fba 100644 (file)
  *          Steve Reinhardt
  */
 
-#include <Python.h>
-
 #include "sim/py_interact.hh"
 
+#include <Python.h>
+
 void
 py_interact()
 {
index 7647ca5b7f88ead788c1ed65ce9a3336e2087e91..6787564dd4d0f5ec4389f543b574da410efa1aaa 100644 (file)
  *          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;
 
index d2e699c28ca27d00a24a6edc1114457d1e2d3e8d..f06aaf8994a610a958fa38a42ad650775f6c7488 100644 (file)
@@ -45,6 +45,8 @@
  *          Andreas Sandberg
  */
 
+#include "sim/serialize.hh"
+
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/types.h>
@@ -63,7 +65,6 @@
 #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"
index cfd08f7acc77c3e2032e5bb0540ac44f8325ad13..23da8fd8de945d37b78e376c6602224bb86b5da5 100644 (file)
  * 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"
 
index af0ef3c2f5161cbc8841bb7c8cab8c71281fc0f3..0ccc36b35e1493f78e276c746ca83de4c0bd0903 100644 (file)
@@ -30,6 +30,8 @@
  *          Nathan Binkert
  */
 
+#include "sim/sim_object.hh"
+
 #include <cassert>
 
 #include "base/callback.hh"
@@ -40,7 +42,6 @@
 #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;
index e0b80bbe8b70a9b2317f599d3ed19b810ab96fbf..c6eb2ddf61f8512f480b31190c1eac084e827bc7 100644 (file)
@@ -31,6 +31,8 @@
  *          Steve Reinhardt
  */
 
+#include "sim/simulate.hh"
+
 #include <mutex>
 #include <thread>
 
@@ -41,7 +43,6 @@
 #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.
index 75e717bfa52055b6e802acb57437fd24d7eea90e..6324b36ef9e56f54326c063cc538abd731523240 100644 (file)
@@ -46,6 +46,8 @@
 // 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>
@@ -56,7 +58,6 @@
 #include "base/time.hh"
 #include "cpu/base.hh"
 #include "sim/global_event.hh"
-#include "sim/stat_control.hh"
 
 using namespace std;
 
index 889a98364e8b454473f6204a2b218e97be000cac..73961e8b702739bed3f65be3a056f4c25ca9403b 100644 (file)
@@ -44,6 +44,9 @@
 #ifndef __SIM_STAT_CONTROL_HH__
 #define __SIM_STAT_CONTROL_HH__
 
+#include "base/types.hh"
+#include "sim/core.hh"
+
 namespace Stats {
 
 double statElapsedTime();
index 8fc930b99eb5ae719e7a5033705fc62d2fbc7160..2ccdc6bddc04d2eb2f27bbc4525d941787f8c2d5 100644 (file)
@@ -40,7 +40,6 @@
 #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"
 
index 9c3f50bb3ea8049285bf91ee269b65748d1fde7b..499cd25571ab7c9a17a04975bc4302ea84b47350 100644 (file)
@@ -29,6 +29,8 @@
  *          Ali Saidi
  */
 
+#include "sim/syscall_emul.hh"
+
 #include <fcntl.h>
 #include <unistd.h>
 
@@ -47,7 +49,6 @@
 #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;
index 9f240c9bcbb57c14c2303d14683c4039415b4f0d..c0fb08318c7b5b661f42bacbd5285c8a1c75589b 100644 (file)
@@ -45,6 +45,8 @@
  *          Rick Strong
  */
 
+#include "sim/system.hh"
+
 #include "arch/remote_gdb.hh"
 #include "arch/utility.hh"
 #include "base/loader/object_file.hh"
@@ -60,7 +62,6 @@
 #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
@@ -68,6 +69,7 @@
  */
 #if THE_ISA != NULL_ISA
 #include "kern/kernel_stats.hh"
+
 #endif
 
 using namespace std;
index 61715dfbcc9f4297e6a6a27c31b6ad4e4a1d98f7..0c5b65d6aa240140f234657376e09a0e3ea6a6c8 100644 (file)
  *          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)
index 887d2c01bab439a1d7e2bfc5b961256d72c2697b..13f8f701e684ac2d807e1a14aa901e1b138b42ac 100644 (file)
@@ -38,7 +38,6 @@
  */
 
 #include "base/circlebuf.hh"
-
 #include "unittest/unittest.hh"
 
 const char data[] = {
index 36038d6a88257ecfaf24d1f1d3b34d6d05ce6808..0cac20e6d28055dae1f7f0adff35ff3b2f2bef33 100644 (file)
  * Authors: Gabe Black
  */
 
+#include "unittest/unittest.hh"
+
 #include <cstdlib>
 
 #include "base/cprintf.hh"
-#include "unittest/unittest.hh"
 
 namespace {