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/fifo | |
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/fifo')
-rw-r--r-- | src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/circular_buffer.hh (renamed from src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/circular_buffer.h) | 6 | ||||
-rw-r--r-- | src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo.hh (renamed from src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo.h) | 16 | ||||
-rw-r--r-- | src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_peek.hh (renamed from src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_peek.h) | 6 | ||||
-rw-r--r-- | src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_put_get.hh (renamed from src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_put_get.h) | 6 | ||||
-rw-r--r-- | src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_resize.hh (renamed from src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_resize.h) | 6 |
5 files changed, 20 insertions, 20 deletions
diff --git a/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/circular_buffer.h b/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/circular_buffer.hh index 7625d712c..0badaa56f 100644 --- a/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/circular_buffer.h +++ b/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/circular_buffer.hh @@ -17,8 +17,8 @@ *****************************************************************************/ -#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_H__ -#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_H__ +#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_HH__ +#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_HH__ #include <iostream> @@ -249,4 +249,4 @@ circular_buffer<T>::buf_clear(void *buf, int n) } // namespace tlm -#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_H__ */ +#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_CIRCULAR_BUFFER_HH__ */ diff --git a/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo.h b/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo.hh index a85c89045..d1ce4835b 100644 --- a/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo.h +++ b/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo.hh @@ -17,8 +17,8 @@ *****************************************************************************/ -#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_H__ -#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_H__ +#ifndef __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_HH__ +#define __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_HH__ // // This implements put, get and peek @@ -34,8 +34,8 @@ // actual physical buffer. // -#include "tlm_core/1/req_rsp/channels/fifo/circular_buffer.h" -#include "tlm_core/1/req_rsp/interfaces/fifo_ifs.h" +#include "tlm_core/1/req_rsp/channels/fifo/circular_buffer.hh" +#include "tlm_core/1/req_rsp/interfaces/fifo_ifs.hh" namespace tlm { @@ -223,8 +223,8 @@ tlm_fifo<T>::update() } // namespace tlm -#include "tlm_core/1/req_rsp/channels/fifo/fifo_peek.h" -#include "tlm_core/1/req_rsp/channels/fifo/fifo_put_get.h" -#include "tlm_core/1/req_rsp/channels/fifo/fifo_resize.h" +#include "tlm_core/1/req_rsp/channels/fifo/fifo_peek.hh" +#include "tlm_core/1/req_rsp/channels/fifo/fifo_put_get.hh" +#include "tlm_core/1/req_rsp/channels/fifo/fifo_resize.hh" -#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_H__ */ +#endif /* __SYSTEMC_EXT_TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_HH__ */ diff --git a/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_peek.h b/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_peek.hh index c132852f9..843120512 100644 --- a/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_peek.h +++ b/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_peek.hh @@ -17,8 +17,8 @@ *****************************************************************************/ -#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_H__ -#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_H__ +#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_HH__ +#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_HH__ namespace tlm { @@ -84,4 +84,4 @@ tlm_fifo<T>::nb_poke(const T &t, int n) } // namespace tlm -#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_H__ */ +#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PEEK_HH__ */ diff --git a/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_put_get.h b/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_put_get.hh index 8d34d2a56..ed419b2c7 100644 --- a/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_put_get.h +++ b/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_put_get.hh @@ -17,8 +17,8 @@ *****************************************************************************/ -#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_H__ -#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_H__ +#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_HH__ +#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_HH__ namespace tlm { @@ -110,4 +110,4 @@ tlm_fifo<T>::nb_can_put(tlm_tag<T> *) const } // namespace tlm -#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_H__ */ +#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_PUT_GET_HH__ */ diff --git a/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_resize.h b/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_resize.hh index 3f936fb9c..31175ac41 100644 --- a/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_resize.h +++ b/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_resize.hh @@ -17,8 +17,8 @@ *****************************************************************************/ -#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_H__ -#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_H__ +#ifndef __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_HH__ +#define __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_HH__ // Resize interface. namespace tlm @@ -77,4 +77,4 @@ tlm_fifo<T>::nb_bound(unsigned int new_size) } // namespace tlm -#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_H__ */ +#endif /* __TLM_CORE_1_REQ_RSP_CHANNELS_FIFO_FIFO_RESIZE_HH__ */ |