summaryrefslogtreecommitdiff
path: root/src/mem/cache
diff options
context:
space:
mode:
authorMatt Horsnell <matt.horsnell@ARM.com>2013-10-17 10:20:45 -0500
committerMatt Horsnell <matt.horsnell@ARM.com>2013-10-17 10:20:45 -0500
commit6decd70bfbc5eb877e4d897ee3d71d478b564f2d (patch)
tree95c55bcbc5c6641a27365082650c32edddbbce4d /src/mem/cache
parent52f90890a3f1d3a6485fe3804c1de6af654efbc6 (diff)
downloadgem5-6decd70bfbc5eb877e4d897ee3d71d478b564f2d.tar.xz
cpu: add consistent guarding to *_impl.hh files.
Diffstat (limited to 'src/mem/cache')
-rw-r--r--src/mem/cache/cache_impl.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh
index b4ace5f6c..6d7011819 100644
--- a/src/mem/cache/cache_impl.hh
+++ b/src/mem/cache/cache_impl.hh
@@ -46,6 +46,9 @@
* Andreas Sandberg
*/
+#ifndef __MEM_CACHE_CACHE_IMPL_HH__
+#define __MEM_CACHE_CACHE_IMPL_HH__
+
/**
* @file
* Cache definitions.
@@ -1899,3 +1902,5 @@ MemSidePort::MemSidePort(const std::string &_name, Cache<TagStore> *_cache,
_queue(*_cache, *this, _label), cache(_cache)
{
}
+
+#endif//__MEM_CACHE_CACHE_IMPL_HH__