From 1088f0c4ac3999fc3c363cc51daef4cfb360a2bd Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 30 Nov 2017 17:36:53 -0800 Subject: 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 Maintainer: Gabe Black --- src/mem/slicc/symbols/StateMachine.py | 4 ++-- src/mem/slicc/symbols/Type.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mem/slicc') 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 #include -#include "base/misc.hh" +#include "base/logging.hh" ''') for f in self.debug_flags: @@ -1168,7 +1168,7 @@ ${ident}_Controller::wakeup() #include -#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 ') - 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 #include -#include "base/misc.hh" +#include "base/logging.hh" #include "mem/protocol/${{self.c_ident}}.hh" using namespace std; -- cgit v1.2.3