diff options
author | Gabe Black <gabeblack@google.com> | 2017-11-30 17:36:53 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-12-04 23:10:55 +0000 |
commit | 1088f0c4ac3999fc3c363cc51daef4cfb360a2bd (patch) | |
tree | 64b3cc0b13bd6ba6aa375163765d36b385d32663 /src/mem/slicc | |
parent | 86f18f26fc7223cc8a63a792d2be1267f573f97c (diff) | |
download | gem5-1088f0c4ac3999fc3c363cc51daef4cfb360a2bd.tar.xz |
misc: Rename misc.(hh|cc) to logging.(hh|cc)
These files aren't a collection of miscellaneous stuff, they're the
definition of the Logger interface, and a few utility macros for
calling into that interface (panic, warn, etc.).
Change-Id: I84267ac3f45896a83c0ef027f8f19c5e9a5667d1
Reviewed-on: https://gem5-review.googlesource.com/6226
Reviewed-by: Brandon Potter <Brandon.Potter@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/mem/slicc')
-rw-r--r-- | src/mem/slicc/symbols/StateMachine.py | 4 | ||||
-rw-r--r-- | src/mem/slicc/symbols/Type.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py index 817ddb481..3f4e43a8b 100644 --- a/src/mem/slicc/symbols/StateMachine.py +++ b/src/mem/slicc/symbols/StateMachine.py @@ -1051,7 +1051,7 @@ $c_ident::functionalWriteBuffers(PacketPtr& pkt) #include <cassert> #include <typeinfo> -#include "base/misc.hh" +#include "base/logging.hh" ''') for f in self.debug_flags: @@ -1168,7 +1168,7 @@ ${ident}_Controller::wakeup() #include <cassert> -#include "base/misc.hh" +#include "base/logging.hh" #include "base/trace.hh" #include "debug/ProtocolTrace.hh" #include "debug/RubyGenerated.hh" diff --git a/src/mem/slicc/symbols/Type.py b/src/mem/slicc/symbols/Type.py index e62758305..4f4f0585d 100644 --- a/src/mem/slicc/symbols/Type.py +++ b/src/mem/slicc/symbols/Type.py @@ -460,7 +460,7 @@ out << "${{dm.ident}} = " << printAddress(m_${{dm.ident}}) << " ";''') if self.isMachineType: code('#include <functional>') - code('#include "base/misc.hh"') + code('#include "base/logging.hh"') code('#include "mem/ruby/common/Address.hh"') code('#include "mem/ruby/common/TypeDefines.hh"') code('struct MachineID;') @@ -561,7 +561,7 @@ std::ostream& operator<<(std::ostream& out, const ${{self.c_ident}}& obj); #include <iostream> #include <string> -#include "base/misc.hh" +#include "base/logging.hh" #include "mem/protocol/${{self.c_ident}}.hh" using namespace std; |