diff options
author | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:06 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2011-04-15 10:44:06 -0700 |
commit | 39a055645f77e0fa7bf49406635dba6bd65e361f (patch) | |
tree | a7df44358c75ff2de6e6f1549755f72cddb7d735 /src/cpu/ozone | |
parent | 50fda09ac79b2dc1aa31fbced8d19b23d683fbab (diff) | |
download | gem5-39a055645f77e0fa7bf49406635dba6bd65e361f.tar.xz |
includes: sort all includes
Diffstat (limited to 'src/cpu/ozone')
29 files changed, 56 insertions, 58 deletions
diff --git a/src/cpu/ozone/back_end.hh b/src/cpu/ozone/back_end.hh index 95e079d0d..90a336d1b 100644 --- a/src/cpu/ozone/back_end.hh +++ b/src/cpu/ozone/back_end.hh @@ -35,13 +35,13 @@ #include <queue> #include <string> -#include "sim/faults.hh" -#include "cpu/timebuf.hh" -#include "cpu/inst_seq.hh" #include "cpu/ozone/rename_table.hh" #include "cpu/ozone/thread_state.hh" +#include "cpu/inst_seq.hh" +#include "cpu/timebuf.hh" #include "mem/request.hh" #include "sim/eventq.hh" +#include "sim/faults.hh" class ThreadContext; diff --git a/src/cpu/ozone/back_end_impl.hh b/src/cpu/ozone/back_end_impl.hh index fbb363a96..169f328ad 100644 --- a/src/cpu/ozone/back_end_impl.hh +++ b/src/cpu/ozone/back_end_impl.hh @@ -28,8 +28,8 @@ * Authors: Kevin Lim */ -#include "encumbered/cpu/full/op_class.hh" #include "cpu/ozone/back_end.hh" +#include "encumbered/cpu/full/op_class.hh" template <class Impl> BackEnd<Impl>::InstQueue::InstQueue(Params *params) diff --git a/src/cpu/ozone/base_dyn_inst.cc b/src/cpu/ozone/base_dyn_inst.cc index e0570fd16..9fdb9d22e 100644 --- a/src/cpu/ozone/base_dyn_inst.cc +++ b/src/cpu/ozone/base_dyn_inst.cc @@ -28,8 +28,8 @@ * Authors: Kevin Lim */ -#include "cpu/base_dyn_inst_impl.hh" #include "cpu/ozone/ozone_impl.hh" +#include "cpu/base_dyn_inst_impl.hh" // Explicit instantiation template class BaseDynInst<OzoneImpl>; diff --git a/src/cpu/ozone/checker_builder.cc b/src/cpu/ozone/checker_builder.cc index 37b9f951a..6baa95658 100644 --- a/src/cpu/ozone/checker_builder.cc +++ b/src/cpu/ozone/checker_builder.cc @@ -31,9 +31,9 @@ #include <string> #include "cpu/checker/cpu_impl.hh" -#include "cpu/inst_seq.hh" #include "cpu/ozone/dyn_inst.hh" #include "cpu/ozone/ozone_impl.hh" +#include "cpu/inst_seq.hh" #include "params/OzoneChecker.hh" #include "sim/process.hh" #include "sim/sim_object.hh" diff --git a/src/cpu/ozone/cpu.hh b/src/cpu/ozone/cpu.hh index 1b196feb4..1867a4c51 100644 --- a/src/cpu/ozone/cpu.hh +++ b/src/cpu/ozone/cpu.hh @@ -34,16 +34,16 @@ #include <set> #include "base/statistics.hh" -#include "cpu/timebuf.hh" #include "config/full_system.hh" #include "config/the_isa.hh" -#include "cpu/base.hh" -#include "cpu/thread_context.hh" -#include "cpu/inst_seq.hh" #include "cpu/ozone/rename_table.hh" #include "cpu/ozone/thread_state.hh" +#include "cpu/base.hh" +#include "cpu/inst_seq.hh" #include "cpu/pc_event.hh" #include "cpu/static_inst.hh" +#include "cpu/thread_context.hh" +#include "cpu/timebuf.hh" #include "mem/page_table.hh" #include "sim/eventq.hh" diff --git a/src/cpu/ozone/cpu_builder.cc b/src/cpu/ozone/cpu_builder.cc index 9cac3a524..63b7eb6ff 100644 --- a/src/cpu/ozone/cpu_builder.cc +++ b/src/cpu/ozone/cpu_builder.cc @@ -31,10 +31,10 @@ #include <string> #include "cpu/checker/cpu.hh" -#include "cpu/inst_seq.hh" #include "cpu/ozone/cpu.hh" #include "cpu/ozone/ozone_impl.hh" #include "cpu/ozone/simple_params.hh" +#include "cpu/inst_seq.hh" #include "params/DerivOzoneCPU.hh" #include "sim/process.hh" #include "sim/sim_object.hh" diff --git a/src/cpu/ozone/cpu_impl.hh b/src/cpu/ozone/cpu_impl.hh index dd6c3dcf1..bb6e96ecc 100644 --- a/src/cpu/ozone/cpu_impl.hh +++ b/src/cpu/ozone/cpu_impl.hh @@ -29,28 +29,27 @@ * Nathan Binkert */ -#include "config/full_system.hh" -#include "config/use_checker.hh" - #include "arch/isa_traits.hh" // For MachInst #include "base/trace.hh" +#include "config/full_system.hh" #include "config/the_isa.hh" +#include "config/use_checker.hh" +#include "cpu/ozone/cpu.hh" #include "cpu/base.hh" -#include "cpu/simple_thread.hh" -#include "cpu/thread_context.hh" #include "cpu/exetrace.hh" -#include "cpu/ozone/cpu.hh" #include "cpu/quiesce_event.hh" +#include "cpu/simple_thread.hh" #include "cpu/static_inst.hh" +#include "cpu/thread_context.hh" #include "sim/sim_object.hh" #include "sim/stats.hh" #if FULL_SYSTEM -#include "arch/faults.hh" #include "arch/alpha/osfpal.hh" +#include "arch/faults.hh" +#include "arch/kernel_stats.hh" #include "arch/tlb.hh" #include "arch/types.hh" -#include "arch/kernel_stats.hh" #include "arch/vtophys.hh" #include "base/callback.hh" #include "cpu/profile.hh" diff --git a/src/cpu/ozone/dyn_inst.hh b/src/cpu/ozone/dyn_inst.hh index cca72ef18..c1853b1ed 100644 --- a/src/cpu/ozone/dyn_inst.hh +++ b/src/cpu/ozone/dyn_inst.hh @@ -31,17 +31,17 @@ #ifndef __CPU_OZONE_DYN_INST_HH__ #define __CPU_OZONE_DYN_INST_HH__ +#include <list> +#include <vector> + #include "arch/isa_traits.hh" #include "arch/types.hh" #include "config/full_system.hh" #include "config/the_isa.hh" -#include "cpu/base_dyn_inst.hh" -#include "cpu/inst_seq.hh" #include "cpu/ozone/cpu.hh" // MUST include this #include "cpu/ozone/ozone_impl.hh" - -#include <list> -#include <vector> +#include "cpu/base_dyn_inst.hh" +#include "cpu/inst_seq.hh" template <class Impl> class OzoneDynInst : public BaseDynInst<Impl> diff --git a/src/cpu/ozone/dyn_inst_impl.hh b/src/cpu/ozone/dyn_inst_impl.hh index bfefb9428..002b39fa2 100644 --- a/src/cpu/ozone/dyn_inst_impl.hh +++ b/src/cpu/ozone/dyn_inst_impl.hh @@ -28,10 +28,10 @@ * Authors: Kevin Lim */ -#include "sim/faults.hh" #include "config/full_system.hh" #include "config/the_isa.hh" #include "cpu/ozone/dyn_inst.hh" +#include "sim/faults.hh" #if FULL_SYSTEM #include "kern/kernel_stats.hh" diff --git a/src/cpu/ozone/ea_list.cc b/src/cpu/ozone/ea_list.cc index 5ef240700..4fc6c0a5f 100644 --- a/src/cpu/ozone/ea_list.cc +++ b/src/cpu/ozone/ea_list.cc @@ -30,8 +30,8 @@ */ #include "arch/isa_traits.hh" -#include "cpu/inst_seq.hh" #include "cpu/ooo_cpu/ea_list.hh" +#include "cpu/inst_seq.hh" void EAList::addAddr(const InstSeqNum &new_sn, const Addr &new_ea) diff --git a/src/cpu/ozone/front_end.hh b/src/cpu/ozone/front_end.hh index 7f400e82a..1d200ef7d 100644 --- a/src/cpu/ozone/front_end.hh +++ b/src/cpu/ozone/front_end.hh @@ -34,11 +34,11 @@ #include <deque> #include "arch/utility.hh" -#include "cpu/timebuf.hh" #include "config/the_isa.hh" -#include "cpu/inst_seq.hh" #include "cpu/o3/bpred_unit.hh" #include "cpu/ozone/rename_table.hh" +#include "cpu/inst_seq.hh" +#include "cpu/timebuf.hh" #include "mem/port.hh" #include "mem/request.hh" #include "sim/eventq.hh" diff --git a/src/cpu/ozone/front_end_impl.hh b/src/cpu/ozone/front_end_impl.hh index d7ed0b77a..5d8919d4e 100644 --- a/src/cpu/ozone/front_end_impl.hh +++ b/src/cpu/ozone/front_end_impl.hh @@ -28,18 +28,18 @@ * Authors: Kevin Lim */ -#include "sim/faults.hh" #include "arch/isa_traits.hh" #include "arch/utility.hh" #include "base/statistics.hh" #include "config/the_isa.hh" #include "config/use_checker.hh" -#include "cpu/thread_context.hh" -#include "cpu/exetrace.hh" #include "cpu/ozone/front_end.hh" +#include "cpu/exetrace.hh" +#include "cpu/thread_context.hh" #include "mem/mem_object.hh" #include "mem/packet.hh" #include "mem/request.hh" +#include "sim/faults.hh" #if USE_CHECKER #include "cpu/checker/cpu.hh" diff --git a/src/cpu/ozone/inorder_back_end.hh b/src/cpu/ozone/inorder_back_end.hh index fcdc2a38a..5c2f9c28f 100644 --- a/src/cpu/ozone/inorder_back_end.hh +++ b/src/cpu/ozone/inorder_back_end.hh @@ -33,14 +33,14 @@ #include <list> -#include "sim/faults.hh" -#include "cpu/timebuf.hh" -#include "cpu/thread_context.hh" -#include "cpu/inst_seq.hh" #include "cpu/ozone/rename_table.hh" #include "cpu/ozone/thread_state.hh" +#include "cpu/inst_seq.hh" +#include "cpu/thread_context.hh" +#include "cpu/timebuf.hh" #include "mem/request.hh" #include "sim/eventq.hh" +#include "sim/faults.hh" template <class Impl> class InorderBackEnd diff --git a/src/cpu/ozone/inorder_back_end_impl.hh b/src/cpu/ozone/inorder_back_end_impl.hh index b48e8f692..13c066fd2 100644 --- a/src/cpu/ozone/inorder_back_end_impl.hh +++ b/src/cpu/ozone/inorder_back_end_impl.hh @@ -28,11 +28,11 @@ * Authors: Kevin Lim */ -#include "sim/faults.hh" #include "arch/types.hh" #include "config/the_isa.hh" #include "cpu/ozone/inorder_back_end.hh" #include "cpu/ozone/thread_state.hh" +#include "sim/faults.hh" template <class Impl> InorderBackEnd<Impl>::InorderBackEnd(Params *params) diff --git a/src/cpu/ozone/inst_queue.cc b/src/cpu/ozone/inst_queue.cc index 7ce5d67ad..5fd41d7c6 100644 --- a/src/cpu/ozone/inst_queue.cc +++ b/src/cpu/ozone/inst_queue.cc @@ -29,9 +29,9 @@ */ #include "cpu/ozone/dyn_inst.hh" +#include "cpu/ozone/inst_queue_impl.hh" #include "cpu/ozone/ozone_impl.hh" #include "cpu/ozone/simple_impl.hh" -#include "cpu/ozone/inst_queue_impl.hh" // Force instantiation of InstructionQueue. template class InstQueue<SimpleImpl>; diff --git a/src/cpu/ozone/inst_queue.hh b/src/cpu/ozone/inst_queue.hh index fb302f01e..ef207e792 100644 --- a/src/cpu/ozone/inst_queue.hh +++ b/src/cpu/ozone/inst_queue.hh @@ -37,9 +37,9 @@ #include <vector> #include "base/statistics.hh" -#include "cpu/timebuf.hh" #include "base/types.hh" #include "cpu/inst_seq.hh" +#include "cpu/timebuf.hh" class FUPool; class MemInterface; diff --git a/src/cpu/ozone/inst_queue_impl.hh b/src/cpu/ozone/inst_queue_impl.hh index 0068f2977..f2f88760b 100644 --- a/src/cpu/ozone/inst_queue_impl.hh +++ b/src/cpu/ozone/inst_queue_impl.hh @@ -38,9 +38,8 @@ #include <vector> -#include "sim/core.hh" - #include "cpu/ozone/inst_queue.hh" +#include "sim/core.hh" #if 0 template <class Impl> InstQueue<Impl>::FUCompletion::FUCompletion(DynInstPtr &_inst, diff --git a/src/cpu/ozone/lsq_unit.cc b/src/cpu/ozone/lsq_unit.cc index e37971dba..b473513ae 100644 --- a/src/cpu/ozone/lsq_unit.cc +++ b/src/cpu/ozone/lsq_unit.cc @@ -28,8 +28,8 @@ * Authors: Kevin Lim */ -#include "cpu/ozone/ozone_impl.hh" #include "cpu/ozone/lsq_unit_impl.hh" +#include "cpu/ozone/ozone_impl.hh" // Force the instantiation of LDSTQ for all the implementations we care about. template class OzoneLSQ<OzoneImpl>; diff --git a/src/cpu/ozone/lsq_unit.hh b/src/cpu/ozone/lsq_unit.hh index 0216c5013..1d8328610 100644 --- a/src/cpu/ozone/lsq_unit.hh +++ b/src/cpu/ozone/lsq_unit.hh @@ -31,15 +31,15 @@ #ifndef __CPU_OZONE_LSQ_UNIT_HH__ #define __CPU_OZONE_LSQ_UNIT_HH__ +#include <algorithm> #include <map> #include <queue> -#include <algorithm> #include "arch/faults.hh" #include "arch/types.hh" +#include "base/hashmap.hh" #include "config/full_system.hh" #include "config/the_isa.hh" -#include "base/hashmap.hh" #include "cpu/inst_seq.hh" #include "mem/mem_interface.hh" //#include "mem/page_table.hh" diff --git a/src/cpu/ozone/lw_back_end.hh b/src/cpu/ozone/lw_back_end.hh index 4c6eb5fb6..adb4f276a 100644 --- a/src/cpu/ozone/lw_back_end.hh +++ b/src/cpu/ozone/lw_back_end.hh @@ -36,13 +36,13 @@ #include <set> #include <string> -#include "sim/faults.hh" -#include "cpu/timebuf.hh" -#include "cpu/inst_seq.hh" #include "cpu/ozone/rename_table.hh" #include "cpu/ozone/thread_state.hh" +#include "cpu/inst_seq.hh" +#include "cpu/timebuf.hh" #include "mem/request.hh" #include "sim/eventq.hh" +#include "sim/faults.hh" template <class> class Checker; diff --git a/src/cpu/ozone/lw_lsq.cc b/src/cpu/ozone/lw_lsq.cc index 8674e83a0..79dc0db31 100644 --- a/src/cpu/ozone/lw_lsq.cc +++ b/src/cpu/ozone/lw_lsq.cc @@ -28,8 +28,8 @@ * Authors: Kevin Lim */ -#include "cpu/ozone/ozone_impl.hh" #include "cpu/ozone/lw_lsq_impl.hh" +#include "cpu/ozone/ozone_impl.hh" // Force the instantiation of LDSTQ for all the implementations we care about. template class OzoneLWLSQ<OzoneImpl>; diff --git a/src/cpu/ozone/lw_lsq.hh b/src/cpu/ozone/lw_lsq.hh index 9605f175e..4817622f5 100644 --- a/src/cpu/ozone/lw_lsq.hh +++ b/src/cpu/ozone/lw_lsq.hh @@ -31,17 +31,17 @@ #ifndef __CPU_OZONE_LW_LSQ_HH__ #define __CPU_OZONE_LW_LSQ_HH__ +#include <algorithm> #include <list> #include <map> #include <queue> -#include <algorithm> #include "arch/faults.hh" #include "arch/types.hh" -#include "config/full_system.hh" -#include "config/the_isa.hh" #include "base/fast_alloc.hh" #include "base/hashmap.hh" +#include "config/full_system.hh" +#include "config/the_isa.hh" #include "cpu/inst_seq.hh" #include "mem/packet.hh" #include "mem/port.hh" diff --git a/src/cpu/ozone/lw_lsq_impl.hh b/src/cpu/ozone/lw_lsq_impl.hh index 0c4e4b9c7..3bee83176 100644 --- a/src/cpu/ozone/lw_lsq_impl.hh +++ b/src/cpu/ozone/lw_lsq_impl.hh @@ -32,8 +32,8 @@ #include "base/str.hh" #include "config/the_isa.hh" #include "config/use_checker.hh" -#include "cpu/ozone/lw_lsq.hh" #include "cpu/checker/cpu.hh" +#include "cpu/ozone/lw_lsq.hh" template<class Impl> OzoneLWLSQ<Impl>::WritebackEvent::WritebackEvent(DynInstPtr &_inst, PacketPtr _pkt, diff --git a/src/cpu/ozone/ozone_base_dyn_inst.cc b/src/cpu/ozone/ozone_base_dyn_inst.cc index 5a3a69dff..0bcd31760 100644 --- a/src/cpu/ozone/ozone_base_dyn_inst.cc +++ b/src/cpu/ozone/ozone_base_dyn_inst.cc @@ -28,8 +28,8 @@ * Authors: Kevin Lim */ -#include "cpu/base_dyn_inst_impl.hh" #include "cpu/ozone/ozone_impl.hh" +#include "cpu/base_dyn_inst_impl.hh" // Explicit instantiation template class BaseDynInst<OzoneImpl>; diff --git a/src/cpu/ozone/ozone_impl.hh b/src/cpu/ozone/ozone_impl.hh index 2271cd68a..294aecfae 100644 --- a/src/cpu/ozone/ozone_impl.hh +++ b/src/cpu/ozone/ozone_impl.hh @@ -32,12 +32,12 @@ #define __CPU_OZONE_OZONE_IMPL_HH__ #include "cpu/o3/bpred_unit.hh" +#include "cpu/ozone/dyn_inst.hh" #include "cpu/ozone/front_end.hh" #include "cpu/ozone/inst_queue.hh" -#include "cpu/ozone/lw_lsq.hh" #include "cpu/ozone/lw_back_end.hh" +#include "cpu/ozone/lw_lsq.hh" #include "cpu/ozone/null_predictor.hh" -#include "cpu/ozone/dyn_inst.hh" #include "cpu/ozone/simple_params.hh" template <class Impl> diff --git a/src/cpu/ozone/rename_table.cc b/src/cpu/ozone/rename_table.cc index a44054b6e..4e5505ff2 100644 --- a/src/cpu/ozone/rename_table.cc +++ b/src/cpu/ozone/rename_table.cc @@ -28,8 +28,8 @@ * Authors: Kevin Lim */ -#include "cpu/ozone/rename_table_impl.hh" #include "cpu/ozone/ozone_impl.hh" +#include "cpu/ozone/rename_table_impl.hh" //#include "cpu/ozone/simple_impl.hh" template class RenameTable<OzoneImpl>; diff --git a/src/cpu/ozone/simple_base_dyn_inst.cc b/src/cpu/ozone/simple_base_dyn_inst.cc index fdaeaf57e..c2ac1185a 100644 --- a/src/cpu/ozone/simple_base_dyn_inst.cc +++ b/src/cpu/ozone/simple_base_dyn_inst.cc @@ -28,8 +28,8 @@ * Authors: Kevin Lim */ -#include "cpu/base_dyn_inst_impl.hh" #include "cpu/ozone/simple_impl.hh" +#include "cpu/base_dyn_inst_impl.hh" // Explicit instantiation template class BaseDynInst<SimpleImpl>; diff --git a/src/cpu/ozone/simple_cpu_builder.cc b/src/cpu/ozone/simple_cpu_builder.cc index 2fc7c10d0..f4446ede3 100644 --- a/src/cpu/ozone/simple_cpu_builder.cc +++ b/src/cpu/ozone/simple_cpu_builder.cc @@ -31,10 +31,10 @@ #include <string> #include "cpu/checker/cpu.hh" -#include "cpu/inst_seq.hh" #include "cpu/ozone/cpu_impl.hh" #include "cpu/ozone/simple_impl.hh" #include "cpu/ozone/simple_params.hh" +#include "cpu/inst_seq.hh" #include "mem/cache/base.hh" #include "sim/SimpleOzoneCPU.hh" #include "sim/process.hh" diff --git a/src/cpu/ozone/simple_impl.hh b/src/cpu/ozone/simple_impl.hh index 42002180b..c18395515 100644 --- a/src/cpu/ozone/simple_impl.hh +++ b/src/cpu/ozone/simple_impl.hh @@ -33,10 +33,10 @@ #include "cpu/o3/bpred_unit.hh" #include "cpu/ozone/cpu.hh" +#include "cpu/ozone/dyn_inst.hh" #include "cpu/ozone/front_end.hh" #include "cpu/ozone/inorder_back_end.hh" #include "cpu/ozone/null_predictor.hh" -#include "cpu/ozone/dyn_inst.hh" #include "cpu/ozone/simple_params.hh" //template <class Impl> |