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/ruby/system/CacheRecorder.hh | 6 +++--- src/mem/ruby/system/RubySystem.hh | 6 +++--- src/mem/ruby/system/VIPERCoalescer.hh | 7 +++---- 3 files changed, 9 insertions(+), 10 deletions(-) (limited to 'src/mem/ruby/system') diff --git a/src/mem/ruby/system/CacheRecorder.hh b/src/mem/ruby/system/CacheRecorder.hh index 822b370e8..7748b4ceb 100644 --- a/src/mem/ruby/system/CacheRecorder.hh +++ b/src/mem/ruby/system/CacheRecorder.hh @@ -32,8 +32,8 @@ * time. Also dump the requests to a gziped file. */ -#ifndef __MEM_RUBY_RECORDER_CACHERECORDER_HH__ -#define __MEM_RUBY_RECORDER_CACHERECORDER_HH__ +#ifndef __MEM_RUBY_SYSTEM_CACHERECORDER_HH__ +#define __MEM_RUBY_SYSTEM_CACHERECORDER_HH__ #include @@ -126,4 +126,4 @@ operator<<(std::ostream& out, const TraceRecord& obj) return out; } -#endif // __MEM_RUBY_RECORDER_CACHERECORDER_HH__ +#endif //__MEM_RUBY_SYSTEM_CACHERECORDER_HH__ diff --git a/src/mem/ruby/system/RubySystem.hh b/src/mem/ruby/system/RubySystem.hh index 407a253f3..5d10991aa 100644 --- a/src/mem/ruby/system/RubySystem.hh +++ b/src/mem/ruby/system/RubySystem.hh @@ -32,8 +32,8 @@ * components of the system */ -#ifndef __MEM_RUBY_SYSTEM_SYSTEM_HH__ -#define __MEM_RUBY_SYSTEM_SYSTEM_HH__ +#ifndef __MEM_RUBY_SYSTEM_RUBYSYSTEM_HH__ +#define __MEM_RUBY_SYSTEM_RUBYSYSTEM_HH__ #include "base/callback.hh" #include "base/output.hh" @@ -151,4 +151,4 @@ class RubyStatsCallback : public Callback void process() { m_ruby_system->collateStats(); } }; -#endif // __MEM_RUBY_SYSTEM_SYSTEM_HH__ +#endif //__MEM_RUBY_SYSTEM_RUBYSYSTEM_HH__ diff --git a/src/mem/ruby/system/VIPERCoalescer.hh b/src/mem/ruby/system/VIPERCoalescer.hh index af6e44e7f..76241022e 100644 --- a/src/mem/ruby/system/VIPERCoalescer.hh +++ b/src/mem/ruby/system/VIPERCoalescer.hh @@ -33,8 +33,8 @@ * Author: Sooraj Puthoor */ -#ifndef __MEM_RUBY_SYSTEM_VI_COALESCER_HH__ -#define __MEM_RUBY_SYSTEM_VI_COALESCER_HH__ +#ifndef __MEM_RUBY_SYSTEM_VIPERCOALESCER_HH__ +#define __MEM_RUBY_SYSTEM_VIPERCOALESCER_HH__ #include @@ -71,5 +71,4 @@ class VIPERCoalescer : public GPUCoalescer uint64_t m_max_inv_per_cycle; uint64_t m_max_wb_per_cycle; }; -#endif // __MEM_RUBY_SYSTEM_VI_COALESCER_HH__ - +#endif //__MEM_RUBY_SYSTEM_VIPERCOALESCER_HH__ -- cgit v1.2.3