diff options
author | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:37 -0600 |
---|---|---|
committer | Brandon Potter <brandon.potter@amd.com> | 2016-11-09 14:27:37 -0600 |
commit | 7a8dda49a4ec33be17bbd101ebd68e02562b9c3d (patch) | |
tree | 98b3bb80b66ebe424af78671c604bf0483f3db2d /src/cpu/simple | |
parent | 63bb17e4bd1d37aa22a87a9614957ce1302f95a9 (diff) | |
download | gem5-7a8dda49a4ec33be17bbd101ebd68e02562b9c3d.tar.xz |
style: [patch 1/22] use /r/3648/ to reorganize includes
Diffstat (limited to 'src/cpu/simple')
-rw-r--r-- | src/cpu/simple/atomic.cc | 5 | ||||
-rw-r--r-- | src/cpu/simple/base.cc | 5 | ||||
-rw-r--r-- | src/cpu/simple/probes/simpoint.cc | 3 | ||||
-rw-r--r-- | src/cpu/simple/timing.cc | 6 |
4 files changed, 11 insertions, 8 deletions
diff --git a/src/cpu/simple/atomic.cc b/src/cpu/simple/atomic.cc index 8dd81ae0b..c09f0c526 100644 --- a/src/cpu/simple/atomic.cc +++ b/src/cpu/simple/atomic.cc @@ -41,13 +41,14 @@ * 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; diff --git a/src/cpu/simple/base.cc b/src/cpu/simple/base.cc index bd6861102..77d2fb4ac 100644 --- a/src/cpu/simple/base.cc +++ b/src/cpu/simple/base.cc @@ -41,21 +41,22 @@ * 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" diff --git a/src/cpu/simple/probes/simpoint.cc b/src/cpu/simple/probes/simpoint.cc index 4f4b5da39..5fa4a2671 100644 --- a/src/cpu/simple/probes/simpoint.cc +++ b/src/cpu/simple/probes/simpoint.cc @@ -38,9 +38,10 @@ * 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), diff --git a/src/cpu/simple/timing.cc b/src/cpu/simple/timing.cc index 65fea15ee..43c50b948 100644 --- a/src/cpu/simple/timing.cc +++ b/src/cpu/simple/timing.cc @@ -41,16 +41,18 @@ * 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; |