summaryrefslogtreecommitdiff
path: root/src/dev
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/dev
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/dev')
-rw-r--r--src/dev/intel_8254_timer.cc2
-rw-r--r--src/dev/mc146818.hh2
-rw-r--r--src/dev/net/dist_iface.hh2
-rw-r--r--src/dev/net/etherbus.cc2
-rw-r--r--src/dev/net/etherdump.cc2
-rw-r--r--src/dev/net/etherint.cc2
-rw-r--r--src/dev/net/etherpkt.cc2
-rw-r--r--src/dev/net/ethertap.cc2
-rw-r--r--src/dev/net/pktfifo.cc2
-rw-r--r--src/dev/net/pktfifo.hh2
-rw-r--r--src/dev/pci/device.cc2
-rw-r--r--src/dev/platform.cc2
-rw-r--r--src/dev/ps2.cc2
-rw-r--r--src/dev/serial/serial.cc2
-rw-r--r--src/dev/serial/terminal.cc2
-rw-r--r--src/dev/storage/disk_image.cc2
-rw-r--r--src/dev/storage/simple_disk.cc2
17 files changed, 17 insertions, 17 deletions
diff --git a/src/dev/intel_8254_timer.cc b/src/dev/intel_8254_timer.cc
index 3831f21b8..5a0174d77 100644
--- a/src/dev/intel_8254_timer.cc
+++ b/src/dev/intel_8254_timer.cc
@@ -32,7 +32,7 @@
#include "dev/intel_8254_timer.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "debug/Intel8254Timer.hh"
using namespace std;
diff --git a/src/dev/mc146818.hh b/src/dev/mc146818.hh
index 8eb301c45..741dca336 100644
--- a/src/dev/mc146818.hh
+++ b/src/dev/mc146818.hh
@@ -34,7 +34,7 @@
#define __DEV_MC146818_HH__
#include "base/bitunion.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "sim/eventq_impl.hh"
/** Real-Time Clock (MC146818) */
diff --git a/src/dev/net/dist_iface.hh b/src/dev/net/dist_iface.hh
index c02c39530..c87a4c0bd 100644
--- a/src/dev/net/dist_iface.hh
+++ b/src/dev/net/dist_iface.hh
@@ -83,7 +83,7 @@
#include <thread>
#include <utility>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "dev/net/dist_packet.hh"
#include "dev/net/etherpkt.hh"
#include "sim/core.hh"
diff --git a/src/dev/net/etherbus.cc b/src/dev/net/etherbus.cc
index 243e27b18..7e086bfb0 100644
--- a/src/dev/net/etherbus.cc
+++ b/src/dev/net/etherbus.cc
@@ -38,7 +38,7 @@
#include <string>
#include <vector>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/trace.hh"
#include "debug/Ethernet.hh"
#include "debug/EthernetData.hh"
diff --git a/src/dev/net/etherdump.cc b/src/dev/net/etherdump.cc
index 1fe462764..64444d578 100644
--- a/src/dev/net/etherdump.cc
+++ b/src/dev/net/etherdump.cc
@@ -38,7 +38,7 @@
#include <algorithm>
#include <string>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/output.hh"
#include "sim/core.hh"
diff --git a/src/dev/net/etherint.cc b/src/dev/net/etherint.cc
index b5990c7a0..0c5e6b817 100644
--- a/src/dev/net/etherint.cc
+++ b/src/dev/net/etherint.cc
@@ -30,7 +30,7 @@
#include "dev/net/etherint.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "sim/sim_object.hh"
void
diff --git a/src/dev/net/etherpkt.cc b/src/dev/net/etherpkt.cc
index 22c0156d0..9b020197c 100644
--- a/src/dev/net/etherpkt.cc
+++ b/src/dev/net/etherpkt.cc
@@ -33,7 +33,7 @@
#include <iostream>
#include "base/inet.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "sim/serialize.hh"
using namespace std;
diff --git a/src/dev/net/ethertap.cc b/src/dev/net/ethertap.cc
index 59314e540..4b5b9bdb0 100644
--- a/src/dev/net/ethertap.cc
+++ b/src/dev/net/ethertap.cc
@@ -59,7 +59,7 @@
#include <deque>
#include <string>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/pollevent.hh"
#include "base/socket.hh"
#include "base/trace.hh"
diff --git a/src/dev/net/pktfifo.cc b/src/dev/net/pktfifo.cc
index 17aa54a78..f7bfcac59 100644
--- a/src/dev/net/pktfifo.cc
+++ b/src/dev/net/pktfifo.cc
@@ -30,7 +30,7 @@
#include "dev/net/pktfifo.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
using namespace std;
diff --git a/src/dev/net/pktfifo.hh b/src/dev/net/pktfifo.hh
index 456c4433b..397d86b11 100644
--- a/src/dev/net/pktfifo.hh
+++ b/src/dev/net/pktfifo.hh
@@ -35,7 +35,7 @@
#include <list>
#include <string>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "dev/net/etherpkt.hh"
#include "sim/serialize.hh"
diff --git a/src/dev/pci/device.cc b/src/dev/pci/device.cc
index 192d824d8..4d9d29b1d 100644
--- a/src/dev/pci/device.cc
+++ b/src/dev/pci/device.cc
@@ -54,7 +54,7 @@
#include "base/inifile.hh"
#include "base/intmath.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/str.hh"
#include "base/trace.hh"
#include "debug/PciDevice.hh"
diff --git a/src/dev/platform.cc b/src/dev/platform.cc
index 63df9bc0d..fae1b13a1 100644
--- a/src/dev/platform.cc
+++ b/src/dev/platform.cc
@@ -31,7 +31,7 @@
#include "dev/platform.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "config/the_isa.hh"
#include "sim/sim_exit.hh"
diff --git a/src/dev/ps2.cc b/src/dev/ps2.cc
index 2c13e5caf..0d6052706 100644
--- a/src/dev/ps2.cc
+++ b/src/dev/ps2.cc
@@ -41,7 +41,7 @@
#include <list>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "x11keysym/keysym.h"
namespace Ps2 {
diff --git a/src/dev/serial/serial.cc b/src/dev/serial/serial.cc
index 873366860..8a3d80126 100644
--- a/src/dev/serial/serial.cc
+++ b/src/dev/serial/serial.cc
@@ -39,7 +39,7 @@
#include "dev/serial/serial.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "params/SerialDevice.hh"
#include "params/SerialNullDevice.hh"
diff --git a/src/dev/serial/terminal.cc b/src/dev/serial/terminal.cc
index 7230698d3..5e8e52e95 100644
--- a/src/dev/serial/terminal.cc
+++ b/src/dev/serial/terminal.cc
@@ -55,7 +55,7 @@
#include <string>
#include "base/atomicio.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/output.hh"
#include "base/socket.hh"
#include "base/trace.hh"
diff --git a/src/dev/storage/disk_image.cc b/src/dev/storage/disk_image.cc
index e7fda40a2..0e338e9c4 100644
--- a/src/dev/storage/disk_image.cc
+++ b/src/dev/storage/disk_image.cc
@@ -44,7 +44,7 @@
#include <string>
#include "base/callback.hh"
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/trace.hh"
#include "debug/DiskImageRead.hh"
#include "debug/DiskImageWrite.hh"
diff --git a/src/dev/storage/simple_disk.cc b/src/dev/storage/simple_disk.cc
index 49c001a00..bc52e7ec5 100644
--- a/src/dev/storage/simple_disk.cc
+++ b/src/dev/storage/simple_disk.cc
@@ -42,7 +42,7 @@
#include <cstring>
#include <string>
-#include "base/misc.hh"
+#include "base/logging.hh"
#include "base/trace.hh"
#include "debug/SimpleDisk.hh"
#include "debug/SimpleDiskData.hh"