summaryrefslogtreecommitdiff
path: root/src/systemc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-02-25 20:15:30 -0800
committerGabe Black <gabeblack@google.com>2019-03-01 23:40:52 +0000
commit524b673421ca7802011d6d50e37b716126f3d81b (patch)
tree50ae32251e8f83c1d2f3a51e970f75b24a87febb /src/systemc
parentaf9496b1f21021a4b431da665c027b521a2de17d (diff)
downloadgem5-524b673421ca7802011d6d50e37b716126f3d81b.tar.xz
tlm: Add some includes to some tlm_utils header files.
These bring in some pieces that those headers use but were only coincidentally included by something else when they were used. Change-Id: I5f119260d8f25d914d8545a60834f23f65f82d0c Reviewed-on: https://gem5-review.googlesource.com/c/16948 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc')
-rw-r--r--src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h1
-rw-r--r--src/systemc/ext/tlm_utils/simple_initiator_socket.h1
-rw-r--r--src/systemc/ext/tlm_utils/simple_target_socket.h2
3 files changed, 4 insertions, 0 deletions
diff --git a/src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h b/src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h
index 5d87e8b0b..863e1f75e 100644
--- a/src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h
+++ b/src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h
@@ -27,6 +27,7 @@
#include "../core/sc_spawn.hh"
#include "../core/sc_time.hh"
#include "../dt/int/sc_nbdefs.hh"
+#include "../tlm_core/2/interfaces/fw_bw_ifs.hh"
namespace tlm_utils
{
diff --git a/src/systemc/ext/tlm_utils/simple_initiator_socket.h b/src/systemc/ext/tlm_utils/simple_initiator_socket.h
index 6b1dbbf0d..d67274754 100644
--- a/src/systemc/ext/tlm_utils/simple_initiator_socket.h
+++ b/src/systemc/ext/tlm_utils/simple_initiator_socket.h
@@ -25,6 +25,7 @@
#include "../tlm_core/2/generic_payload/gp.hh"
#include "../tlm_core/2/interfaces/fw_bw_ifs.hh"
#include "../tlm_core/2/sockets/initiator_socket.hh"
+#include "../tlm_core/2/sockets/target_socket.hh"
#include "../utils/sc_report_handler.hh"
#include "convenience_socket_bases.h"
diff --git a/src/systemc/ext/tlm_utils/simple_target_socket.h b/src/systemc/ext/tlm_utils/simple_target_socket.h
index 617ef7c80..ce377475e 100644
--- a/src/systemc/ext/tlm_utils/simple_target_socket.h
+++ b/src/systemc/ext/tlm_utils/simple_target_socket.h
@@ -23,8 +23,10 @@
#include "../core/sc_event.hh"
#include "../core/sc_module.hh"
#include "../core/sc_port.hh"
+#include "../core/sc_spawn.hh"
#include "../tlm_core/2/generic_payload/gp.hh"
#include "../tlm_core/2/interfaces/fw_bw_ifs.hh"
+#include "../tlm_core/2/sockets/initiator_socket.hh"
#include "../tlm_core/2/sockets/target_socket.hh"
#include "../utils/sc_report_handler.hh"
#include "convenience_socket_bases.h"