mem-cache: Rename blk.cc/hh to cache_blk.cc/hh
Rename the files blk.cc and blk.hh to cache_blk.cc and cache_blk.hh to comply with the usual file-class naming rules. Change-Id: I8af45df3e4b8dd934fd9929ec914fb230cb2cb09 Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/13416 Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
This commit is contained in:
committed by
Daniel Carvalho
parent
1b44e883a2
commit
3341bccfe2
2
src/mem/cache/SConscript
vendored
2
src/mem/cache/SConscript
vendored
@@ -33,8 +33,8 @@ Import('*')
|
||||
SimObject('Cache.py')
|
||||
|
||||
Source('base.cc')
|
||||
Source('blk.cc')
|
||||
Source('cache.cc')
|
||||
Source('cache_blk.cc')
|
||||
Source('mshr.cc')
|
||||
Source('mshr_queue.cc')
|
||||
Source('noncoherent_cache.cc')
|
||||
|
||||
2
src/mem/cache/base.hh
vendored
2
src/mem/cache/base.hh
vendored
@@ -63,7 +63,7 @@
|
||||
#include "debug/Cache.hh"
|
||||
#include "debug/CachePort.hh"
|
||||
#include "enums/Clusivity.hh"
|
||||
#include "mem/cache/blk.hh"
|
||||
#include "mem/cache/cache_blk.hh"
|
||||
#include "mem/cache/mshr_queue.hh"
|
||||
#include "mem/cache/tags/base.hh"
|
||||
#include "mem/cache/write_queue.hh"
|
||||
|
||||
2
src/mem/cache/cache.cc
vendored
2
src/mem/cache/cache.cc
vendored
@@ -64,7 +64,7 @@
|
||||
#include "debug/CacheTags.hh"
|
||||
#include "debug/CacheVerbose.hh"
|
||||
#include "enums/Clusivity.hh"
|
||||
#include "mem/cache/blk.hh"
|
||||
#include "mem/cache/cache_blk.hh"
|
||||
#include "mem/cache/mshr.hh"
|
||||
#include "mem/cache/tags/base.hh"
|
||||
#include "mem/cache/write_queue_entry.hh"
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "mem/cache/blk.hh"
|
||||
#include "mem/cache/cache_blk.hh"
|
||||
|
||||
#include "base/cprintf.hh"
|
||||
|
||||
@@ -45,8 +45,8 @@
|
||||
* Definitions of a simple cache block class.
|
||||
*/
|
||||
|
||||
#ifndef __MEM_CACHE_BLK_HH__
|
||||
#define __MEM_CACHE_BLK_HH__
|
||||
#ifndef __MEM_CACHE_CACHE_BLK_HH__
|
||||
#define __MEM_CACHE_CACHE_BLK_HH__
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
@@ -463,4 +463,4 @@ class CacheBlkPrintWrapper : public Printable
|
||||
const std::string &prefix = "") const;
|
||||
};
|
||||
|
||||
#endif //__MEM_CACHE_BLK_HH__
|
||||
#endif //__MEM_CACHE_CACHE_BLK_HH__
|
||||
2
src/mem/cache/noncoherent_cache.cc
vendored
2
src/mem/cache/noncoherent_cache.cc
vendored
@@ -60,7 +60,7 @@
|
||||
#include "base/trace.hh"
|
||||
#include "base/types.hh"
|
||||
#include "debug/Cache.hh"
|
||||
#include "mem/cache/blk.hh"
|
||||
#include "mem/cache/cache_blk.hh"
|
||||
#include "mem/cache/mshr.hh"
|
||||
#include "params/NoncoherentCache.hh"
|
||||
|
||||
|
||||
2
src/mem/cache/sector_blk.hh
vendored
2
src/mem/cache/sector_blk.hh
vendored
@@ -38,7 +38,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "mem/cache/blk.hh"
|
||||
#include "mem/cache/cache_blk.hh"
|
||||
#include "mem/cache/replacement_policies/base.hh"
|
||||
|
||||
class SectorBlk;
|
||||
|
||||
2
src/mem/cache/tags/base.hh
vendored
2
src/mem/cache/tags/base.hh
vendored
@@ -57,7 +57,7 @@
|
||||
#include "base/logging.hh"
|
||||
#include "base/statistics.hh"
|
||||
#include "base/types.hh"
|
||||
#include "mem/cache/blk.hh"
|
||||
#include "mem/cache/cache_blk.hh"
|
||||
#include "params/BaseTags.hh"
|
||||
#include "sim/clocked_object.hh"
|
||||
|
||||
|
||||
2
src/mem/cache/tags/base_set_assoc.hh
vendored
2
src/mem/cache/tags/base_set_assoc.hh
vendored
@@ -55,7 +55,7 @@
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "mem/cache/base.hh"
|
||||
#include "mem/cache/blk.hh"
|
||||
#include "mem/cache/cache_blk.hh"
|
||||
#include "mem/cache/replacement_policies/base.hh"
|
||||
#include "mem/cache/tags/base.hh"
|
||||
#include "mem/cache/tags/indexing_policies/base.hh"
|
||||
|
||||
2
src/mem/cache/tags/fa_lru.hh
vendored
2
src/mem/cache/tags/fa_lru.hh
vendored
@@ -60,7 +60,7 @@
|
||||
#include "base/logging.hh"
|
||||
#include "base/statistics.hh"
|
||||
#include "base/types.hh"
|
||||
#include "mem/cache/blk.hh"
|
||||
#include "mem/cache/cache_blk.hh"
|
||||
#include "mem/cache/tags/base.hh"
|
||||
#include "params/FALRU.hh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user