systemc: Fix TLM related includes.
authorGabe Black <gabeblack@google.com>
Wed, 23 Jan 2019 01:48:12 +0000 (17:48 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 23 Jan 2019 09:52:52 +0000 (09:52 +0000)
commite1ef0270da9626bd45f4ad1375c9a3d8bccd6fa7
tree319c25a9948fbe6af2b31b3e390a940d284fa3f9
parent298e8b833fe6183a435067361285b9e832a7e94a
systemc: Fix TLM related includes.

There are a couple things this CL fixes related to the TLM #includes.

1. Removes #includes of <systemc> and <tlm>. These bring in a header
file from boost which shouldn't be necessary but which some of the
tests (and likely some external code) depends on. We avoid including
those in files built into gem5 itself so that gem5 isn't dependent on
boost.

2. All includes in ext should be relative. That way those headers can
be removed from gem5 and still build, allowing them to be moved over
to or referenced from a foreign codebase which isn't part of gem5.

Change-Id: I76e267385b48cb4fe93aea89ec8319c76465a0a4
Reviewed-on: https://gem5-review.googlesource.com/c/15796
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
42 files changed:
src/systemc/ext/tlm_core/1/analysis/analysis.hh
src/systemc/ext/tlm_core/1/analysis/analysis_fifo.hh
src/systemc/ext/tlm_core/1/analysis/analysis_if.hh
src/systemc/ext/tlm_core/1/analysis/analysis_port.hh
src/systemc/ext/tlm_core/1/analysis/write_if.hh
src/systemc/ext/tlm_core/1/req_rsp/adapters/adapters.hh
src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo.hh
src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.hh
src/systemc/ext/tlm_core/1/req_rsp/interfaces/core_ifs.hh
src/systemc/ext/tlm_core/1/req_rsp/interfaces/fifo_ifs.hh
src/systemc/ext/tlm_core/1/req_rsp/interfaces/master_slave_ifs.hh
src/systemc/ext/tlm_core/1/req_rsp/ports/event_finder.hh
src/systemc/ext/tlm_core/1/req_rsp/ports/nonblocking_port.hh
src/systemc/ext/tlm_core/1/req_rsp/req_rsp.hh
src/systemc/ext/tlm_core/2/generic_payload/endian_conv.hh
src/systemc/ext/tlm_core/2/generic_payload/generic_payload.hh
src/systemc/ext/tlm_core/2/generic_payload/gp.hh
src/systemc/ext/tlm_core/2/interfaces/dmi.hh
src/systemc/ext/tlm_core/2/interfaces/fw_bw_ifs.hh
src/systemc/ext/tlm_core/2/interfaces/interfaces.hh
src/systemc/ext/tlm_core/2/quantum/global_quantum.hh
src/systemc/ext/tlm_core/2/quantum/quantum.hh
src/systemc/ext/tlm_core/2/sockets/base_socket_if.hh
src/systemc/ext/tlm_core/2/sockets/initiator_socket.hh
src/systemc/ext/tlm_core/2/sockets/sockets.hh
src/systemc/ext/tlm_core/2/sockets/target_socket.hh
src/systemc/ext/tlm_utils/convenience_socket_bases.h
src/systemc/ext/tlm_utils/instance_specific_extensions.h
src/systemc/ext/tlm_utils/instance_specific_extensions_int.h
src/systemc/ext/tlm_utils/multi_passthrough_target_socket.h
src/systemc/ext/tlm_utils/multi_socket_bases.h
src/systemc/ext/tlm_utils/passthrough_target_socket.h
src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h
src/systemc/ext/tlm_utils/peq_with_get.h
src/systemc/ext/tlm_utils/simple_initiator_socket.h
src/systemc/ext/tlm_utils/simple_target_socket.h
src/systemc/ext/tlm_utils/tlm_quantumkeeper.h
src/systemc/tlm_core/2/generic_payload/gp.cc
src/systemc/tlm_core/2/generic_payload/phase.cc
src/systemc/tlm_core/2/quantum/global_quantum.cc
src/systemc/tlm_utils/convenience_socket_bases.cc
src/systemc/tlm_utils/instance_specific_extensions.cc