diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-02-05 16:32:23 +0100 |
---|---|---|
committer | Daniel Carvalho <mr.danrc@gmail.com> | 2018-02-06 10:26:27 +0000 |
commit | ecee328c9244504f616a3b8cd352fca3d3e4b6e7 (patch) | |
tree | 4a551953d452215f091491226c2c78d74d085401 /src/mem/cache | |
parent | d5b9ffda458c0e1b7ad52b42d7c8caf2b4a5c022 (diff) | |
download | gem5-ecee328c9244504f616a3b8cd352fca3d3e4b6e7.tar.xz |
mem: Standardize mem folder header guards
Standardize all header guards in the mem directory according to the most
frequent patterns. In general they have the form:
mem: __FOLDER_TREE_FILE_NAME_HH__
ruby: __FOLDER_TREE_FILENAME_HH__
Change-Id: I983853e292deb302becf151bf0e970057dc24774
Reviewed-on: https://gem5-review.googlesource.com/7881
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/cache')
-rw-r--r-- | src/mem/cache/tags/base.hh | 6 | ||||
-rw-r--r-- | src/mem/cache/tags/base_set_assoc.hh | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mem/cache/tags/base.hh b/src/mem/cache/tags/base.hh index 4caf6de4e..5c9f46a41 100644 --- a/src/mem/cache/tags/base.hh +++ b/src/mem/cache/tags/base.hh @@ -46,8 +46,8 @@ * Declaration of a common base class for cache tagstore objects. */ -#ifndef __BASE_TAGS_HH__ -#define __BASE_TAGS_HH__ +#ifndef __MEM_CACHE_TAGS_BASE_HH__ +#define __MEM_CACHE_TAGS_BASE_HH__ #include <string> @@ -268,4 +268,4 @@ class BaseTagsDumpCallback : public Callback virtual void process() { tags->computeStats(); }; }; -#endif //__BASE_TAGS_HH__ +#endif //__MEM_CACHE_TAGS_BASE_HH__ diff --git a/src/mem/cache/tags/base_set_assoc.hh b/src/mem/cache/tags/base_set_assoc.hh index 4049b8486..ef4c68b62 100644 --- a/src/mem/cache/tags/base_set_assoc.hh +++ b/src/mem/cache/tags/base_set_assoc.hh @@ -45,8 +45,8 @@ * Declaration of a base set associative tag store. */ -#ifndef __MEM_CACHE_TAGS_BASESETASSOC_HH__ -#define __MEM_CACHE_TAGS_BASESETASSOC_HH__ +#ifndef __MEM_CACHE_TAGS_BASE_SET_ASSOC_HH__ +#define __MEM_CACHE_TAGS_BASE_SET_ASSOC_HH__ #include <cassert> #include <cstring> @@ -365,4 +365,4 @@ public: } }; -#endif // __MEM_CACHE_TAGS_BASESETASSOC_HH__ +#endif //__MEM_CACHE_TAGS_BASE_SET_ASSOC_HH__ |