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:
parent
ae06e9a5c6
commit
1bf389a2bf
4 changed files with 2481 additions and 2528 deletions
6
src/mem/cache/base.hh
vendored
6
src/mem/cache/base.hh
vendored
|
@ -47,8 +47,8 @@
|
||||||
* Declares a basic cache interface BaseCache.
|
* Declares a basic cache interface BaseCache.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __BASE_CACHE_HH__
|
#ifndef __MEM_CACHE_BASE_HH__
|
||||||
#define __BASE_CACHE_HH__
|
#define __MEM_CACHE_BASE_HH__
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <list>
|
#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
2483
src/mem/cache/cache.cc
vendored
File diff suppressed because it is too large
Load diff
6
src/mem/cache/cache.hh
vendored
6
src/mem/cache/cache.hh
vendored
|
@ -49,8 +49,8 @@
|
||||||
* Describes a cache based on template policies.
|
* Describes a cache based on template policies.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CACHE_HH__
|
#ifndef __MEM_CACHE_CACHE_HH__
|
||||||
#define __CACHE_HH__
|
#define __MEM_CACHE_CACHE_HH__
|
||||||
|
|
||||||
#include "base/misc.hh" // fatal, panic, and warn
|
#include "base/misc.hh" // fatal, panic, and warn
|
||||||
#include "mem/cache/base.hh"
|
#include "mem/cache/base.hh"
|
||||||
|
@ -491,4 +491,4 @@ class CacheBlkIsDirtyVisitor : public CacheBlkVisitor
|
||||||
bool _isDirty;
|
bool _isDirty;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __CACHE_HH__
|
#endif // __MEM_CACHE_CACHE_HH__
|
||||||
|
|
2514
src/mem/cache/cache_impl.hh
vendored
2514
src/mem/cache/cache_impl.hh
vendored
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue