mem: Move cache_impl.hh to cache.cc

There is no longer any need to keep the implementation in a header.
This commit is contained in:
Andreas Hansson 2015-08-21 07:03:20 -04:00
parent ae06e9a5c6
commit 1bf389a2bf
4 changed files with 2481 additions and 2528 deletions

View file

@ -47,8 +47,8 @@
* Declares a basic cache interface BaseCache.
*/
#ifndef __BASE_CACHE_HH__
#define __BASE_CACHE_HH__
#ifndef __MEM_CACHE_BASE_HH__
#define __MEM_CACHE_BASE_HH__
#include <algorithm>
#include <list>
@ -597,4 +597,4 @@ class BaseCache : public MemObject
};
#endif //__BASE_CACHE_HH__
#endif //__MEM_CACHE_BASE_HH__

2483
src/mem/cache/cache.cc vendored

File diff suppressed because it is too large Load diff

View file

@ -49,8 +49,8 @@
* Describes a cache based on template policies.
*/
#ifndef __CACHE_HH__
#define __CACHE_HH__
#ifndef __MEM_CACHE_CACHE_HH__
#define __MEM_CACHE_CACHE_HH__
#include "base/misc.hh" // fatal, panic, and warn
#include "mem/cache/base.hh"
@ -491,4 +491,4 @@ class CacheBlkIsDirtyVisitor : public CacheBlkVisitor
bool _isDirty;
};
#endif // __CACHE_HH__
#endif // __MEM_CACHE_CACHE_HH__

File diff suppressed because it is too large Load diff