summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-11-30 17:36:53 -0800
committerGabe Black <gabeblack@google.com>2017-12-04 23:10:55 +0000
commit1088f0c4ac3999fc3c363cc51daef4cfb360a2bd (patch)
tree64b3cc0b13bd6ba6aa375163765d36b385d32663 /src/sim
parent86f18f26fc7223cc8a63a792d2be1267f573f97c (diff)
downloadgem5-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/sim')
-rw-r--r--src/sim/clocked_object.cc2
-rw-r--r--src/sim/drain.cc2
-rw-r--r--src/sim/dvfs_handler.cc2
-rw-r--r--src/sim/eventq.cc2
-rw-r--r--src/sim/faults.cc2
-rw-r--r--src/sim/fd_array.cc2
-rw-r--r--src/sim/init.cc2
-rw-r--r--src/sim/init_signals.cc2
-rw-r--r--src/sim/mathexpr.cc2
-rw-r--r--src/sim/microcode_rom.cc2
-rw-r--r--src/sim/root.cc2
-rw-r--r--src/sim/serialize.cc2
-rw-r--r--src/sim/sim_object.cc2
-rw-r--r--src/sim/simulate.cc2
-rw-r--r--src/sim/syscall_emul.hh2
15 files changed, 15 insertions, 15 deletions
diff --git a/src/sim/clocked_object.cc b/src/sim/clocked_object.cc
index 56389119a..6982966aa 100644
--- a/src/sim/clocked_object.cc
+++ b/src/sim/clocked_object.cc
@@ -40,7 +40,7 @@
#include "sim/clocked_object.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "sim/power/power_model.hh"
ClockedObject::ClockedObject(const ClockedObjectParams *p) :
diff --git a/src/sim/drain.cc b/src/sim/drain.cc
index e920ee7ae..4d46306c3 100644
--- a/src/sim/drain.cc
+++ b/src/sim/drain.cc
@@ -41,7 +41,7 @@
#include <algorithm>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/trace.hh"
#include "debug/Drain.hh"
#include "sim/sim_exit.hh"
diff --git a/src/sim/dvfs_handler.cc b/src/sim/dvfs_handler.cc
index 5ccd50bcd..0befb396b 100644
--- a/src/sim/dvfs_handler.cc
+++ b/src/sim/dvfs_handler.cc
@@ -44,7 +44,7 @@
#include <set>
#include <utility>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/trace.hh"
#include "debug/DVFS.hh"
#include "params/DVFSHandler.hh"
diff --git a/src/sim/eventq.cc b/src/sim/eventq.cc
index 3e27bcf1c..80de1808f 100644
--- a/src/sim/eventq.cc
+++ b/src/sim/eventq.cc
@@ -38,7 +38,7 @@
#include <unordered_map>
#include <vector>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/trace.hh"
#include "cpu/smt.hh"
#include "debug/Checkpoint.hh"
diff --git a/src/sim/faults.cc b/src/sim/faults.cc
index b0fa6fedb..06060802f 100644
--- a/src/sim/faults.cc
+++ b/src/sim/faults.cc
@@ -32,7 +32,7 @@
#include "sim/faults.hh"
#include "arch/isa_traits.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "cpu/base.hh"
#include "cpu/thread_context.hh"
#include "debug/Fault.hh"
diff --git a/src/sim/fd_array.cc b/src/sim/fd_array.cc
index 9b6cbb573..15cfe11ef 100644
--- a/src/sim/fd_array.cc
+++ b/src/sim/fd_array.cc
@@ -42,7 +42,7 @@
#include <memory>
#include <string>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "params/Process.hh"
#include "sim/fd_entry.hh"
diff --git a/src/sim/init.cc b/src/sim/init.cc
index 70578197f..50612895b 100644
--- a/src/sim/init.cc
+++ b/src/sim/init.cc
@@ -53,7 +53,7 @@
#include <string>
#include "base/cprintf.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/types.hh"
#include "config/have_protobuf.hh"
#include "python/pybind11/pybind.hh"
diff --git a/src/sim/init_signals.cc b/src/sim/init_signals.cc
index c7960c516..501f4eb9d 100644
--- a/src/sim/init_signals.cc
+++ b/src/sim/init_signals.cc
@@ -57,7 +57,7 @@
#include "base/atomicio.hh"
#include "base/cprintf.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "sim/async.hh"
#include "sim/backtrace.hh"
#include "sim/core.hh"
diff --git a/src/sim/mathexpr.cc b/src/sim/mathexpr.cc
index 85c130ad0..10d6cb727 100644
--- a/src/sim/mathexpr.cc
+++ b/src/sim/mathexpr.cc
@@ -44,7 +44,7 @@
#include <regex>
#include <string>
-#include "base/misc.hh"
+#include "base/logging.hh"
MathExpr::MathExpr(std::string expr)
: ops(
diff --git a/src/sim/microcode_rom.cc b/src/sim/microcode_rom.cc
index d050919e7..853c22bb2 100644
--- a/src/sim/microcode_rom.cc
+++ b/src/sim/microcode_rom.cc
@@ -30,7 +30,7 @@
#include "sim/microcode_rom.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "cpu/static_inst_fwd.hh"
StaticInstPtr
diff --git a/src/sim/root.cc b/src/sim/root.cc
index 41adf1cf0..41dad77b4 100644
--- a/src/sim/root.cc
+++ b/src/sim/root.cc
@@ -31,7 +31,7 @@
* Gabe Black
*/
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/trace.hh"
#include "config/the_isa.hh"
#include "debug/TimeSync.hh"
diff --git a/src/sim/serialize.cc b/src/sim/serialize.cc
index f49092d4d..a03a396b3 100644
--- a/src/sim/serialize.cc
+++ b/src/sim/serialize.cc
@@ -60,7 +60,7 @@
#include "arch/generic/vec_reg.hh"
#include "base/framebuffer.hh"
#include "base/inifile.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/output.hh"
#include "base/str.hh"
#include "base/trace.hh"
diff --git a/src/sim/sim_object.cc b/src/sim/sim_object.cc
index 516019a7c..ab92ae55a 100644
--- a/src/sim/sim_object.cc
+++ b/src/sim/sim_object.cc
@@ -32,8 +32,8 @@
#include "sim/sim_object.hh"
+#include "base/logging.hh"
#include "base/match.hh"
-#include "base/misc.hh"
#include "base/trace.hh"
#include "debug/Checkpoint.hh"
#include "sim/probe/probe.hh"
diff --git a/src/sim/simulate.cc b/src/sim/simulate.cc
index d3c27fa08..d4e2f383c 100644
--- a/src/sim/simulate.cc
+++ b/src/sim/simulate.cc
@@ -36,7 +36,7 @@
#include <mutex>
#include <thread>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/pollevent.hh"
#include "base/types.hh"
#include "sim/async.hh"
diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh
index 1b4580bbf..a24028f08 100644
--- a/src/sim/syscall_emul.hh
+++ b/src/sim/syscall_emul.hh
@@ -96,7 +96,7 @@
#include "arch/utility.hh"
#include "base/intmath.hh"
#include "base/loader/object_file.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/trace.hh"
#include "base/types.hh"
#include "config/the_isa.hh"