diff options
author | Gabe Black <gabeblack@google.com> | 2018-12-12 16:43:18 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2019-01-09 01:35:21 +0000 |
commit | e345154b19939db37fb391111d4dad190c62e81c (patch) | |
tree | 2bb6f5a3fe3a13f447f8b179337afc20e11b3648 /src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels | |
parent | 8c560b6c80e641a1937d9af98cb75588ec4eac05 (diff) | |
download | gem5-e345154b19939db37fb391111d4dad190c62e81c.tar.xz |
systemc: Rename tlm_core header files to have a .hh extentension.
This makes those files more consistent with other headers in gem5. The
top level headers (tlm and tlm.h) and the tlm_utils headers were left
alone since the user might reasonably expect those to have a well known
name. The tlm_core headers by comparison are an implementation detail,
and users shouldn't include them directly by name.
Change-Id: Ibc82e8159e47717c79d76f50ed96fdd619294a06
Reviewed-on: https://gem5-review.googlesource.com/c/15067
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Diffstat (limited to 'src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels')
-rw-r--r-- | src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.hh (renamed from src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.h) | 8 | ||||
-rw-r--r-- | src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.hh (renamed from src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.h) | 14 |
2 files changed, 12 insertions, 10 deletions
diff --git a/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.h b/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.hh index e821573b9..f9821dbef 100644 --- a/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.h +++ b/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.hh @@ -18,11 +18,11 @@ *****************************************************************************/ #ifndef \ - __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_H__ + __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_HH__ #define \ - __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_H__ + __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_HH__ -#include "tlm_core/1/req_rsp/interfaces/master_slave_ifs.h" +#include "tlm_core/1/req_rsp/interfaces/master_slave_ifs.hh" namespace tlm { @@ -112,4 +112,4 @@ class tlm_slave_imp : private tlm_put_get_imp<RSP, REQ>, } // namespace tlm #endif -/* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_H__*/ +/*__SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_PUT_GET_IMP_HH__*/ diff --git a/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.h b/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.hh index 321d947ea..196a72e7d 100644 --- a/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.h +++ b/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.hh @@ -17,12 +17,14 @@ *****************************************************************************/ -#ifndef __EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_H__ -#define __EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_H__ +#ifndef \ + __EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_HH__ +#define \ + __EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_HH__ -#include "tlm_core/1/req_rsp/adapters/adapters.h" -#include "tlm_core/1/req_rsp/channels/fifo/fifo.h" -#include "tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.h" +#include "tlm_core/1/req_rsp/adapters/adapters.hh" +#include "tlm_core/1/req_rsp/channels/fifo/fifo.hh" +#include "tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.hh" namespace tlm { @@ -135,4 +137,4 @@ class tlm_transport_channel : public sc_core::sc_module } // namespace tlm #endif -/* __EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_H__ */ +/* __EXT_TLM_CORE_1_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_REQ_RSP_CHANNELS_HH__ */ |