mem: Standardize mem folder header guards
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Mon, 5 Feb 2018 15:32:23 +0000 (16:32 +0100)
committerDaniel Carvalho <mr.danrc@gmail.com>
Tue, 6 Feb 2018 10:26:27 +0000 (10:26 +0000)
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>

40 files changed:
src/mem/abstract_mem.hh
src/mem/cache/tags/base.hh
src/mem/cache/tags/base_set_assoc.hh
src/mem/external_master.hh
src/mem/external_slave.hh
src/mem/fs_translating_port_proxy.hh
src/mem/hmc_controller.hh
src/mem/ruby/common/BoolVec.hh
src/mem/ruby/common/IntVec.hh
src/mem/ruby/common/MachineID.hh
src/mem/ruby/common/TypeDefines.hh
src/mem/ruby/filters/LSB_CountingBloomFilter.hh
src/mem/ruby/network/BasicLink.hh
src/mem/ruby/network/BasicRouter.hh
src/mem/ruby/network/MessageBuffer.hh
src/mem/ruby/network/fault_model/FaultModel.hh
src/mem/ruby/network/garnet2.0/CommonTypes.hh
src/mem/ruby/network/garnet2.0/Credit.hh
src/mem/ruby/network/garnet2.0/CreditLink.hh
src/mem/ruby/network/garnet2.0/CrossbarSwitch.hh
src/mem/ruby/network/garnet2.0/GarnetLink.hh
src/mem/ruby/network/garnet2.0/GarnetNetwork.hh
src/mem/ruby/network/garnet2.0/InputUnit.hh
src/mem/ruby/network/garnet2.0/NetworkInterface.hh
src/mem/ruby/network/garnet2.0/NetworkLink.hh
src/mem/ruby/network/garnet2.0/OutVcState.hh
src/mem/ruby/network/garnet2.0/OutputUnit.hh
src/mem/ruby/network/garnet2.0/Router.hh
src/mem/ruby/network/garnet2.0/RoutingUnit.hh
src/mem/ruby/network/garnet2.0/SwitchAllocator.hh
src/mem/ruby/network/garnet2.0/VirtualChannel.hh
src/mem/ruby/network/garnet2.0/flit.hh
src/mem/ruby/network/garnet2.0/flitBuffer.hh
src/mem/ruby/network/simple/SimpleLink.hh
src/mem/ruby/slicc_interface/RubyRequest.hh
src/mem/ruby/slicc_interface/RubySlicc_Util.hh
src/mem/ruby/system/CacheRecorder.hh
src/mem/ruby/system/RubySystem.hh
src/mem/ruby/system/VIPERCoalescer.hh
src/mem/simple_mem.hh

index 31d34f051bd1091e133c0bfb6b76b1748b0d3026..b57f73b4a53e7cb01aa128cbe5e2edf20df35d5a 100644 (file)
@@ -46,8 +46,8 @@
  * AbstractMemory declaration
  */
 
-#ifndef __ABSTRACT_MEMORY_HH__
-#define __ABSTRACT_MEMORY_HH__
+#ifndef __MEM_ABSTRACT_MEMORY_HH__
+#define __MEM_ABSTRACT_MEMORY_HH__
 
 #include "mem/mem_object.hh"
 #include "params/AbstractMemory.hh"
@@ -319,4 +319,4 @@ class AbstractMemory : public MemObject
 
 };
 
-#endif //__ABSTRACT_MEMORY_HH__
+#endif //__MEM_ABSTRACT_MEMORY_HH__
index 4caf6de4e8a828bd86794fcfaf89f20763d64cd4..5c9f46a4116c4757cbfe2c3a22ffa116ca0db4db 100644 (file)
@@ -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__
index 4049b848666e75c5d6d3f83add3ea49fadda1cbf..ef4c68b628c0d64ceebfce8c1e0ee160b4cce646 100644 (file)
@@ -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__
index 7303de062aadc1a7477677fe8c5476abefe149a5..d27cb4df1e1c702c08cfc9f30b792c7756b7022e 100644 (file)
@@ -57,8 +57,8 @@
  * The external port must provide a gem5 MasterPort interface.
  */
 
-#ifndef __MEM_EXTERNAL_MASTER__
-#define __MEM_EXTERNAL_MASTER__
+#ifndef __MEM_EXTERNAL_MASTER_HH__
+#define __MEM_EXTERNAL_MASTER_HH__
 
 #include "mem/mem_object.hh"
 #include "params/ExternalMaster.hh"
@@ -135,4 +135,4 @@ class ExternalMaster : public MemObject
 };
 
 
-#endif // __MEM_EXTERNAL_MASTER__
+#endif //__MEM_EXTERNAL_MASTER_HH__
index d1782237c8ed88b089e3415ed3fbc46bb7416276..2bb0be869ecf2b7c92dba7edbb2d3838e29c57e0 100644 (file)
@@ -57,8 +57,8 @@
  * object).
  */
 
-#ifndef __MEM_EXTERNAL_SLAVE__
-#define __MEM_EXTERNAL_SLAVE__
+#ifndef __MEM_EXTERNAL_SLAVE_HH__
+#define __MEM_EXTERNAL_SLAVE_HH__
 
 #include "mem/mem_object.hh"
 #include "params/ExternalSlave.hh"
@@ -139,4 +139,4 @@ class ExternalSlave : public MemObject
 };
 
 
-#endif // __MEM_EXTERNAL_SLAVE__
+#endif //__MEM_EXTERNAL_SLAVE_HH__
index 8120f96ea1caf3d5932196e7d35b2dc54ba37100..e7b74d0809da5210cedb4fd3695c2ec2aa928f48 100644 (file)
@@ -56,8 +56,8 @@
  * the system.
  */
 
-#ifndef __MEM_FS_PORT_PROXY_HH__
-#define __MEM_FS_PORT_PROXY_HH__
+#ifndef __MEM_FS_TRANSLATING_PORT_PROXY_HH__
+#define __MEM_FS_TRANSLATING_PORT_PROXY_HH__
 
 #include "mem/port_proxy.hh"
 
@@ -102,4 +102,4 @@ void CopyIn(ThreadContext *tc, Addr dest, const void *source, size_t cplen);
 void CopyStringOut(ThreadContext *tc, char *dst, Addr vaddr, size_t maxlen);
 void CopyStringIn(ThreadContext *tc, const char *src, Addr vaddr);
 
-#endif //__MEM_FS_PORT_PROXY_HH__
+#endif //__MEM_FS_TRANSLATING_PORT_PROXY_HH__
index cec9425d8c29c3230891fa49edf09e385b835c92..fd6cb0bc9345e98c2520ae81d8d662005815a60e 100644 (file)
@@ -46,8 +46,8 @@
  * HMCController declaration
  */
 
-#ifndef __HMC_CONTROLLER__
-#define __HMC_CONTROLLER__
+#ifndef __MEM_HMC_CONTROLLER_HH__
+#define __MEM_HMC_CONTROLLER_HH__
 
 #include "mem/noncoherent_xbar.hh"
 #include "mem/port.hh"
@@ -100,4 +100,4 @@ private:
     int rotate_counter();
 };
 
-#endif //__HMC_CONTROLLER__
+#endif //__MEM_HMC_CONTROLLER_HH__
index 0323ecc1ec23c1b288abf08f5d436d6c40f896cb..95df602c97a12a7f00bd1f286ea592b9cf655122 100644 (file)
  * Authors: Brad Beckmann
  */
 
+#ifndef __MEM_RUBY_COMMON_BOOLVEC_HH__
+#define __MEM_RUBY_COMMON_BOOLVEC_HH__
+
 #include <ostream>
 #include <vector>
 
 typedef std::vector<bool> BoolVec;
 
 std::ostream& operator<<(std::ostream& os, const std::vector<bool>& myvector);
+
+#endif //__MEM_RUBY_COMMON_BOOLVEC_HH__
index 13e213a88ae39d557c65b2d274aaa391dd199d3c..62dae2310d79c36c857e30d0a41d1c84d5f2b224 100644 (file)
  * Authors: Brad Beckmann
  */
 
+#ifndef __MEM_RUBY_COMMON_INTVEC_HH__
+#define __MEM_RUBY_COMMON_INTVEC_HH__
+
 #include <ostream>
 #include <vector>
 
 typedef std::vector<int> IntVec;
 
 std::ostream& operator<<(std::ostream& os, const std::vector<int>& myvector);
+
+#endif //__MEM_RUBY_COMMON_INTVEC_HH__
index a28b0af7e37b0e5570a6456d22233caa284df630..8fe8f80d934a28cf5819a1ef4a9e69b9672a8ebd 100644 (file)
@@ -26,8 +26,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __MEM_RUBY_SYSTEM_MACHINEID_HH__
-#define __MEM_RUBY_SYSTEM_MACHINEID_HH__
+#ifndef __MEM_RUBY_COMMON_MACHINEID_HH__
+#define __MEM_RUBY_COMMON_MACHINEID_HH__
 
 #include <iostream>
 #include <string>
@@ -84,4 +84,4 @@ operator<<(std::ostream& out, const MachineID& obj)
     return out;
 }
 
-#endif // __MEM_RUBY_SYSTEM_MACHINEID_HH__
+#endif // __MEM_RUBY_COMMON_MACHINEID_HH__
index f29efe8b5db4c15be9d2bf9a6a3941bc53d7424b..90be1c60293880ff7630327b4e53876b698c4bb7 100644 (file)
  */
 
 
-#ifndef TYPEDEFINES_H
-#define TYPEDEFINES_H
+#ifndef __MEM_RUBY_COMMON_TYPEDEFINES_HH__
+#define __MEM_RUBY_COMMON_TYPEDEFINES_HH__
 
 typedef unsigned int LinkID;
 typedef unsigned int NodeID;
 typedef unsigned int SwitchID;
 
-#endif
+#endif //__MEM_RUBY_COMMON_TYPEDEFINES_HH__
index e0e263ae6e42776cd0e725efaedff712d3f8f69a..05749be6c55621b26fbdf0231ffaa8373fa66122 100644 (file)
@@ -26,8 +26,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __MEM_RUBY_FILTERS_LSBCOUNTINGBLOOMFILTER_HH__
-#define __MEM_RUBY_FILTERS_LSBCOUNTINGBLOOMFILTER_HH__
+#ifndef __MEM_RUBY_FILTERS_LSB_COUNTINGBLOOMFILTER_HH__
+#define __MEM_RUBY_FILTERS_LSB_COUNTINGBLOOMFILTER_HH__
 
 #include <iostream>
 #include <vector>
@@ -68,4 +68,4 @@ class LSB_CountingBloomFilter : public AbstractBloomFilter
     int m_count;
 };
 
-#endif // __MEM_RUBY_FILTERS_LSBCOUNTINGBLOOMFILTER_HH__
+#endif //__MEM_RUBY_FILTERS_LSB_COUNTINGBLOOMFILTER_HH__
index 188f6294111ac39939ec313d3a68447a63038b1f..39c20969fb9aa667d88ae5e1786f52f0ed46368a 100644 (file)
@@ -26,8 +26,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __MEM_RUBY_NETWORK_BASIC_LINK_HH__
-#define __MEM_RUBY_NETWORK_BASIC_LINK_HH__
+#ifndef __MEM_RUBY_NETWORK_BASICLINK_HH__
+#define __MEM_RUBY_NETWORK_BASICLINK_HH__
 
 #include <iostream>
 #include <string>
@@ -85,4 +85,4 @@ class BasicIntLink : public BasicLink
     friend class Topology;
 };
 
-#endif // __MEM_RUBY_NETWORK_BASIC_LINK_HH__
+#endif //__MEM_RUBY_NETWORK_BASICLINK_HH__
index 2c89056750f4d54889d53d5bb416a72e82f4f518..a74dadb219156834d2773d3754cf5d5f5525ccbe 100644 (file)
@@ -26,8 +26,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __MEM_RUBY_NETWORK_BASIC_ROUTER_HH__
-#define __MEM_RUBY_NETWORK_BASIC_ROUTER_HH__
+#ifndef __MEM_RUBY_NETWORK_BASICROUTER_HH__
+#define __MEM_RUBY_NETWORK_BASICROUTER_HH__
 
 #include <iostream>
 #include <string>
@@ -62,4 +62,4 @@ operator<<(std::ostream& out, const BasicRouter& obj)
     return out;
 }
 
-#endif // __MEM_RUBY_NETWORK_BASIC_ROUTER_HH__
+#endif //__MEM_RUBY_NETWORK_BASICROUTER_HH__
index 6694830b0a263a28a5e5a39a041ac4d9917f75bd..69a0fb33e20db87f278218399d5485169a4bfd4d 100644 (file)
@@ -31,8 +31,8 @@
  * that they can be dequeued after a given delta time has expired.
  */
 
-#ifndef __MEM_RUBY_BUFFERS_MESSAGEBUFFER_HH__
-#define __MEM_RUBY_BUFFERS_MESSAGEBUFFER_HH__
+#ifndef __MEM_RUBY_NETWORK_MESSAGEBUFFER_HH__
+#define __MEM_RUBY_NETWORK_MESSAGEBUFFER_HH__
 
 #include <algorithm>
 #include <cassert>
@@ -212,4 +212,4 @@ operator<<(std::ostream& out, const MessageBuffer& obj)
     return out;
 }
 
-#endif // __MEM_RUBY_BUFFERS_MESSAGEBUFFER_HH__
+#endif //__MEM_RUBY_NETWORK_MESSAGEBUFFER_HH__
index f2f355b3c0416fbe74a441e5a71fb743e766272d..6c68c7bb3cc23a84ad658002ed6f9ae1fd2343fa 100644 (file)
@@ -37,8 +37,8 @@
  * Proceedings of the 48th Design Automation Conference (DAC'11)
  */
 
-#ifndef __MEM_RUBY_NETWORK_FAULT_MODEL_HH__
-#define __MEM_RUBY_NETWORK_FAULT_MODEL_HH__
+#ifndef __MEM_RUBY_NETWORK_FAULT_MODEL_FAULTMODEL_HH__
+#define __MEM_RUBY_NETWORK_FAULT_MODEL_FAULTMODEL_HH__
 
 // tool limitations and fixed inputs
 #define MAX_VCs 40
@@ -138,4 +138,4 @@ class FaultModel : public SimObject
     std::vector <int> temperature_weights;
 };
 
-#endif //  __MEM_RUBY_NETWORK_FAULT_MODEL_HH__
+#endif //__MEM_RUBY_NETWORK_FAULT_MODEL_FAULTMODEL_HH__
index 63fc464a6151e5922daba285c264f40978dd33c9..3a8c84aa0eb5c3c9203d57fd2795bca9bd3b3d66 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_COMMONTYPES_HH__
-#define __MEM_RUBY_NETWORK_GARNET_COMMONTYPES_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_COMMONTYPES_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_COMMONTYPES_HH__
 
 #include "mem/ruby/common/NetDest.hh"
 
@@ -62,4 +62,4 @@ struct RouteInfo
 
 #define INFINITE_ 10000
 
-#endif // __MEM_RUBY_NETWORK_GARNET_COMMONTYPES_HH__
+#endif //__MEM_RUBY_NETWORK_GARNET2_0_COMMONTYPES_HH__
index c2984e9ee3e7f6d2ed3926689146f8be667d4423..7771484c7a507b0061c8623c3035bb8a315a7cd5 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_CREDIT_HH__
-#define __MEM_RUBY_NETWORK_GARNET_CREDIT_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_CREDIT_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_CREDIT_HH__
 
 #include <cassert>
 #include <iostream>
@@ -57,4 +57,4 @@ class Credit : public flit
     bool m_is_free_signal;
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_CREDIT_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_CREDIT_HH__
index 207fb864df0b6423c59d2203e9782e90f2172b72..8d6da67ff183eaf224a5c6693aaf336efaa95382 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_CREDIT_LINK_HH__
-#define __MEM_RUBY_NETWORK_GARNET_CREDIT_LINK_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_CREDITLINK_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_CREDITLINK_HH__
 
 #include "mem/ruby/network/garnet2.0/NetworkLink.hh"
 #include "params/CreditLink.hh"
@@ -44,4 +44,4 @@ class CreditLink : public NetworkLink
     CreditLink(const Params *p) : NetworkLink(p) {}
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_CREDIT_LINK_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_CREDITLINK_HH__
index bca3a92e401a4d09c0f883ccab5e06d24bffdb41..9d4fee5a733d1a732afd38457c64c93da8235af4 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_CROSSBAR_SWITCH_HH__
-#define __MEM_RUBY_NETWORK_GARNET_CROSSBAR_SWITCH_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_CROSSBARSWITCH_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_CROSSBARSWITCH_HH__
 
 #include <iostream>
 #include <vector>
@@ -70,4 +70,4 @@ class CrossbarSwitch : public Consumer
     std::vector<OutputUnit *> m_output_unit;
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_CROSSBAR_SWITCH_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_CROSSBARSWITCH_HH__
index 7311e93795a0cc6e4da3d1b811651652c10ed3cd..55164b68e5f696bd9b69be187f55eafe8613a0e2 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_LINK_HH__
-#define __MEM_RUBY_NETWORK_GARNET_LINK_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_GARNETLINK_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_GARNETLINK_HH__
 
 #include <iostream>
 #include <string>
@@ -94,4 +94,4 @@ operator<<(std::ostream& out, const GarnetExtLink& obj)
     return out;
 }
 
-#endif // __MEM_RUBY_NETWORK_GARNET_LINK_HH__
+#endif //__MEM_RUBY_NETWORK_GARNET2_0_GARNETLINK_HH__
index 3ced8874062e16013c24199998a967445dd18822..d8cbb083c14ab593925e1ad05de13c8658914a82 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_NETWORK_HH__
-#define __MEM_RUBY_NETWORK_GARNET_NETWORK_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_GARNETNETWORK_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_GARNETNETWORK_HH__
 
 #include <iostream>
 #include <vector>
@@ -205,4 +205,4 @@ operator<<(std::ostream& out, const GarnetNetwork& obj)
     return out;
 }
 
-#endif // __MEM_RUBY_NETWORK_GARNET_NETWORK_HH__
+#endif //__MEM_RUBY_NETWORK_GARNET2_0_GARNETNETWORK_HH__
index 26803ed860383b209acfbc78be38600470222b08..c2cbd5891461b8b48288d0970a1038a420da7446 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_INPUT_UNIT_HH__
-#define __MEM_RUBY_NETWORK_GARNET_INPUT_UNIT_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_INPUTUNIT_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_INPUTUNIT_HH__
 
 #include <iostream>
 #include <vector>
@@ -167,4 +167,4 @@ class InputUnit : public Consumer
     std::vector<double> m_num_buffer_reads;
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_INPUT_UNIT_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_INPUTUNIT_HH__
index 2dfb2d2878e0a782007eb1dd4b4f1e51d319f61d..3b77371decac25f1da464beb798d5c0014903500 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_NETWORK_INTERFACE_HH__
-#define __MEM_RUBY_NETWORK_GARNET_NETWORK_INTERFACE_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_NETWORKINTERFACE_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_NETWORKINTERFACE_HH__
 
 #include <iostream>
 #include <vector>
@@ -118,4 +118,4 @@ class NetworkInterface : public ClockedObject, public Consumer
     void incrementStats(flit *t_flit);
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_NETWORK_INTERFACE_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_NETWORKINTERFACE_HH__
index 10399ec37d394c9d87239c18b27db3b39860b8f7..98fb7b967357f244730848b74cf37051cffca802 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_NETWORK_LINK_HH__
-#define __MEM_RUBY_NETWORK_GARNET_NETWORK_LINK_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_NETWORKLINK_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_NETWORKLINK_HH__
 
 #include <iostream>
 #include <vector>
@@ -86,4 +86,4 @@ class NetworkLink : public ClockedObject, public Consumer
     std::vector<unsigned int> m_vc_load;
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_NETWORK_LINK_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_NETWORKLINK_HH__
index b9c008df6ed345ac8a9dd57198317e412544b846..673b209311b7be67c1f7f60353b10e8f12865967 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_OUTVC_STATE_HH__
-#define __MEM_RUBY_NETWORK_GARNET_OUTVC_STATE_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_OUTVCSTATE_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_OUTVCSTATE_HH__
 
 #include "mem/ruby/network/garnet2.0/CommonTypes.hh"
 #include "mem/ruby/network/garnet2.0/GarnetNetwork.hh"
@@ -67,4 +67,4 @@ class OutVcState
     int m_max_credit_count;
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_OUTVC_STATE_HH__
+#endif //__MEM_RUBY_NETWORK_GARNET2_0_OUTVCSTATE_HH__
index 7b6d5497cef6fe7b2a343d2ddf926f8d56efcc7f..fba83432da8b9debae686fc1c038749c95228908 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_OUTPUT_UNIT_HH__
-#define __MEM_RUBY_NETWORK_GARNET_OUTPUT_UNIT_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_OUTPUTUNIT_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_OUTPUTUNIT_HH__
 
 #include <iostream>
 #include <vector>
@@ -110,4 +110,4 @@ class OutputUnit : public Consumer
 
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_OUTPUT_UNIT_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_OUTPUTUNIT_HH__
index a9ce5f80e1cbf91f235212b367314e73e335496f..fa118b4e5dc2baad3f9cb152c9d0b6a1407b7414 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_ROUTER_HH__
-#define __MEM_RUBY_NETWORK_GARNET_ROUTER_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_ROUTER_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_ROUTER_HH__
 
 #include <iostream>
 #include <vector>
@@ -137,4 +137,4 @@ class Router : public BasicRouter, public Consumer
     Stats::Scalar m_crossbar_activity;
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_ROUTER_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_ROUTER_HH__
index 46b0969f30f74a3cbda016abccc236e568d7c965..0623e54e45b4bf371ea4112238a1235ff1713f08 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_ROUTING_UNIT_HH__
-#define __MEM_RUBY_NETWORK_GARNET_ROUTING_UNIT_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_ROUTINGUNIT_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_ROUTINGUNIT_HH__
 
 #include "mem/ruby/common/Consumer.hh"
 #include "mem/ruby/common/NetDest.hh"
@@ -86,4 +86,4 @@ class RoutingUnit
     std::map<PortDirection, int> m_outports_dirn2idx;
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_ROUTING_UNIT_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_ROUTINGUNIT_HH__
index 7515b734ff6e82d0ef0f9fb02767aaf746ae66e0..2b16afc785d40fdbfce34d402cb1f98e76f69e3f 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_SWITCH_ALLOCATOR_HH__
-#define __MEM_RUBY_NETWORK_GARNET_SWITCH_ALLOCATOR_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_SWITCHALLOCATOR_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_SWITCHALLOCATOR_HH__
 
 #include <iostream>
 #include <vector>
@@ -87,4 +87,4 @@ class SwitchAllocator : public Consumer
     std::vector<OutputUnit *> m_output_unit;
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_SWITCH_ALLOCATOR_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_SWITCHALLOCATOR_HH__
index d5f7687dc40dfcd20067fadece18d516312fa056..1c927181bf1b43cec2010e374b8f96563be0d87f 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_VIRTUAL_CHANNEL_HH__
-#define __MEM_RUBY_NETWORK_GARNET_VIRTUAL_CHANNEL_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_VIRTUALCHANNEL_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_VIRTUALCHANNEL_HH__
 
 #include <utility>
 
@@ -98,4 +98,4 @@ class VirtualChannel
     int m_output_vc;
 };
 
-#endif // __MEM_RUBY_NETWORK_GARNET_VIRTUAL_CHANNEL_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_VIRTUALCHANNEL_HH__
index 419450b1c256a03a28b31c58719ebbd858bc5bf1..da582ef4abcc2532496db777574741e42ff399da 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_FLIT_HH__
-#define __MEM_RUBY_NETWORK_GARNET_FLIT_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_FLIT_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_FLIT_HH__
 
 #include <cassert>
 #include <iostream>
@@ -121,4 +121,4 @@ operator<<(std::ostream& out, const flit& obj)
     return out;
 }
 
-#endif // __MEM_RUBY_NETWORK_GARNET_FLIT_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_FLIT_HH__
index d98fe8b4fdc5cbb498dd7cbc821290fe69cd833a..1c070ea4de1da437058eddf39c985caf16378ec0 100644 (file)
@@ -31,8 +31,8 @@
  */
 
 
-#ifndef __MEM_RUBY_NETWORK_GARNET_FLIT_BUFFER_HH__
-#define __MEM_RUBY_NETWORK_GARNET_FLIT_BUFFER_HH__
+#ifndef __MEM_RUBY_NETWORK_GARNET2_0_FLITBUFFER_HH__
+#define __MEM_RUBY_NETWORK_GARNET2_0_FLITBUFFER_HH__
 
 #include <algorithm>
 #include <iostream>
@@ -91,4 +91,4 @@ operator<<(std::ostream& out, const flitBuffer& obj)
     return out;
 }
 
-#endif // __MEM_RUBY_NETWORK_GARNET_FLIT_BUFFER_HH__
+#endif // __MEM_RUBY_NETWORK_GARNET2_0_FLITBUFFER_HH__
index ed98ec7767c26b69d341f2b569d3750a04672ee2..3ca2356bad590bd4de0a78d666c471148df36b5a 100644 (file)
@@ -26,8 +26,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __MEM_RUBY_NETWORK_SIMPLE_LINK_HH__
-#define __MEM_RUBY_NETWORK_SIMPLE_LINK_HH__
+#ifndef __MEM_RUBY_NETWORK_SIMPLE_SIMPLELINK_HH__
+#define __MEM_RUBY_NETWORK_SIMPLE_SIMPLELINK_HH__
 
 #include <iostream>
 #include <string>
@@ -79,4 +79,4 @@ operator<<(std::ostream& out, const SimpleIntLink& obj)
     return out;
 }
 
-#endif // __MEM_RUBY_NETWORK_SIMPLE_LINK_HH__
+#endif //__MEM_RUBY_NETWORK_SIMPLE_SIMPLELINK_HH__
index 772441b5ed294862c988025f36745dbc376fdb23..6c84f38238e9dcb9a2ce68dcb384cda8dcbea81a 100644 (file)
@@ -26,8 +26,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef __MEM_RUBY_SLICC_INTERFACE_RUBY_REQUEST_HH__
-#define __MEM_RUBY_SLICC_INTERFACE_RUBY_REQUEST_HH__
+#ifndef __MEM_RUBY_SLICC_INTERFACE_RUBYREQUEST_HH__
+#define __MEM_RUBY_SLICC_INTERFACE_RUBYREQUEST_HH__
 
 #include <ostream>
 #include <vector>
@@ -165,4 +165,4 @@ operator<<(std::ostream& out, const RubyRequest& obj)
   return out;
 }
 
-#endif  // __MEM_RUBY_SLICC_INTERFACE_RUBY_REQUEST_HH__
+#endif  //__MEM_RUBY_SLICC_INTERFACE_RUBYREQUEST_HH__
index 4fe065a3f1dc7086c9154caf9b4eb963255e081d..e3d4f0b0bb2b2c34a80380c0608234c641c496f0 100644 (file)
@@ -31,8 +31,8 @@
  * These are the functions that exported to slicc from ruby.
  */
 
-#ifndef __MEM_RUBY_SLICC_INTERFACE_RUBYSLICCUTIL_HH__
-#define __MEM_RUBY_SLICC_INTERFACE_RUBYSLICCUTIL_HH__
+#ifndef __MEM_RUBY_SLICC_INTERFACE_RUBYSLICC_UTIL_HH__
+#define __MEM_RUBY_SLICC_INTERFACE_RUBYSLICC_UTIL_HH__
 
 #include <cassert>
 
@@ -183,4 +183,4 @@ countBoolVec(BoolVec bVec)
     return count;
 }
 
-#endif // __MEM_RUBY_SLICC_INTERFACE_RUBYSLICCUTIL_HH__
+#endif //__MEM_RUBY_SLICC_INTERFACE_RUBYSLICC_UTIL_HH__
index 822b370e820ef5efd8dbe6c959d274326008d891..7748b4ceb2916f68ad4c5a9ba24eb451ead0c50d 100644 (file)
@@ -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 <vector>
 
@@ -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__
index 407a253f34fafe39061c6799fe936931bca0176f..5d10991aaea1f24bf58506aa68f1ebcbb306527f 100644 (file)
@@ -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__
index af6e44e7f2cd52f8f2a05799842f4b6357da255c..76241022e881c5355da12128a84558679b4afa37 100644 (file)
@@ -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 <iostream>
 
@@ -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__
index 6636f2c9062685d5e7a98692fc81823172ae2563..307981b80f0fbb6c246db1731d38e2b432285b21 100644 (file)
@@ -46,8 +46,8 @@
  * SimpleMemory declaration
  */
 
-#ifndef __SIMPLE_MEMORY_HH__
-#define __SIMPLE_MEMORY_HH__
+#ifndef __MEM_SIMPLE_MEMORY_HH__
+#define __MEM_SIMPLE_MEMORY_HH__
 
 #include <list>
 
@@ -203,4 +203,4 @@ class SimpleMemory : public AbstractMemory
 
 };
 
-#endif //__SIMPLE_MEMORY_HH__
+#endif //__MEM_SIMPLE_MEMORY_HH__