From ecee328c9244504f616a3b8cd352fca3d3e4b6e7 Mon Sep 17 00:00:00 2001 From: "Daniel R. Carvalho" Date: Mon, 5 Feb 2018 16:32:23 +0100 Subject: 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 Maintainer: Nikos Nikoleris --- src/mem/cache/tags/base.hh | 6 +++--- src/mem/cache/tags/base_set_assoc.hh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mem/cache') 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 @@ -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 #include @@ -365,4 +365,4 @@ public: } }; -#endif // __MEM_CACHE_TAGS_BASESETASSOC_HH__ +#endif //__MEM_CACHE_TAGS_BASE_SET_ASSOC_HH__ -- cgit v1.2.3