diff options
Diffstat (limited to 'src/mem/cache/tags')
-rw-r--r-- | src/mem/cache/tags/base.cc | 3 | ||||
-rw-r--r-- | src/mem/cache/tags/base_set_assoc.cc | 3 | ||||
-rw-r--r-- | src/mem/cache/tags/base_set_assoc.hh | 4 | ||||
-rw-r--r-- | src/mem/cache/tags/cacheset.hh | 1 | ||||
-rw-r--r-- | src/mem/cache/tags/fa_lru.cc | 3 | ||||
-rw-r--r-- | src/mem/cache/tags/fa_lru.hh | 2 | ||||
-rw-r--r-- | src/mem/cache/tags/lru.cc | 3 | ||||
-rw-r--r-- | src/mem/cache/tags/random_repl.cc | 3 |
8 files changed, 13 insertions, 9 deletions
diff --git a/src/mem/cache/tags/base.cc b/src/mem/cache/tags/base.cc index 8d2322e51..c413fbc5d 100644 --- a/src/mem/cache/tags/base.cc +++ b/src/mem/cache/tags/base.cc @@ -46,8 +46,9 @@ * Definitions of BaseTags. */ -#include "cpu/smt.hh" //maxThreadsPerCPU #include "mem/cache/tags/base.hh" + +#include "cpu/smt.hh" //maxThreadsPerCPU #include "mem/cache/base.hh" #include "sim/sim_exit.hh" diff --git a/src/mem/cache/tags/base_set_assoc.cc b/src/mem/cache/tags/base_set_assoc.cc index 6fc186d19..86036aa9b 100644 --- a/src/mem/cache/tags/base_set_assoc.cc +++ b/src/mem/cache/tags/base_set_assoc.cc @@ -45,10 +45,11 @@ * Definitions of a base set associative tag store. */ +#include "mem/cache/tags/base_set_assoc.hh" + #include <string> #include "base/intmath.hh" -#include "mem/cache/tags/base_set_assoc.hh" #include "sim/core.hh" using namespace std; diff --git a/src/mem/cache/tags/base_set_assoc.hh b/src/mem/cache/tags/base_set_assoc.hh index 053274c53..31284991f 100644 --- a/src/mem/cache/tags/base_set_assoc.hh +++ b/src/mem/cache/tags/base_set_assoc.hh @@ -52,10 +52,10 @@ #include <cstring> #include <list> -#include "mem/cache/tags/base.hh" -#include "mem/cache/tags/cacheset.hh" #include "mem/cache/base.hh" #include "mem/cache/blk.hh" +#include "mem/cache/tags/base.hh" +#include "mem/cache/tags/cacheset.hh" #include "mem/packet.hh" #include "params/BaseSetAssoc.hh" diff --git a/src/mem/cache/tags/cacheset.hh b/src/mem/cache/tags/cacheset.hh index 8bf0989f7..69109d10c 100644 --- a/src/mem/cache/tags/cacheset.hh +++ b/src/mem/cache/tags/cacheset.hh @@ -50,7 +50,6 @@ #include <cassert> - /** * An associative set of cache blocks. */ diff --git a/src/mem/cache/tags/fa_lru.cc b/src/mem/cache/tags/fa_lru.cc index ecac88afa..0d6a3392d 100644 --- a/src/mem/cache/tags/fa_lru.cc +++ b/src/mem/cache/tags/fa_lru.cc @@ -45,12 +45,13 @@ * Definitions a fully associative LRU tagstore. */ +#include "mem/cache/tags/fa_lru.hh" + #include <cassert> #include <sstream> #include "base/intmath.hh" #include "base/misc.hh" -#include "mem/cache/tags/fa_lru.hh" using namespace std; diff --git a/src/mem/cache/tags/fa_lru.hh b/src/mem/cache/tags/fa_lru.hh index ecfe467ef..1bbd9fbfb 100644 --- a/src/mem/cache/tags/fa_lru.hh +++ b/src/mem/cache/tags/fa_lru.hh @@ -51,8 +51,8 @@ #include <list> #include <unordered_map> -#include "mem/cache/tags/base.hh" #include "mem/cache/blk.hh" +#include "mem/cache/tags/base.hh" #include "mem/packet.hh" #include "params/FALRU.hh" diff --git a/src/mem/cache/tags/lru.cc b/src/mem/cache/tags/lru.cc index a85b63889..a38478755 100644 --- a/src/mem/cache/tags/lru.cc +++ b/src/mem/cache/tags/lru.cc @@ -45,8 +45,9 @@ * Definitions of a LRU tag store. */ -#include "debug/CacheRepl.hh" #include "mem/cache/tags/lru.hh" + +#include "debug/CacheRepl.hh" #include "mem/cache/base.hh" LRU::LRU(const Params *p) diff --git a/src/mem/cache/tags/random_repl.cc b/src/mem/cache/tags/random_repl.cc index 9f1ef800a..4157a30cd 100644 --- a/src/mem/cache/tags/random_repl.cc +++ b/src/mem/cache/tags/random_repl.cc @@ -33,9 +33,10 @@ * Definitions of a random replacement tag store. */ +#include "mem/cache/tags/random_repl.hh" + #include "base/random.hh" #include "debug/CacheRepl.hh" -#include "mem/cache/tags/random_repl.hh" #include "mem/cache/base.hh" RandomRepl::RandomRepl(const Params *p) |