Gabe Black has submitted this change and it was merged. (
https://gem5-review.googlesource.com/c/public/gem5/+/15295 )
Change subject: systemc: Rename tlm .cpp files to .cc and add SConscripts.
......................................................................
systemc: Rename tlm .cpp files to .cc and add SConscripts.
Change-Id: Ia30192b441dd34bc7165c6335386c88c0015fdf6
Reviewed-on: https://gem5-review.googlesource.com/c/15295
Reviewed-by: Anthony Gutierrez <[email protected]>
Maintainer: Anthony Gutierrez <[email protected]>
---
A src/systemc/tlm_core/tlm_2/tlm_generic_payload/SConscript
R src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_gp.cc
R src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_phase.cc
A src/systemc/tlm_core/tlm_2/tlm_quantum/SConscript
R src/systemc/tlm_core/tlm_2/tlm_quantum/tlm_global_quantum.cc
A src/systemc/tlm_utils/SConscript
R src/systemc/tlm_utils/convenience_socket_bases.cc
R src/systemc/tlm_utils/instance_specific_extensions.cc
8 files changed, 95 insertions(+), 0 deletions(-)
Approvals:
Anthony Gutierrez: Looks good to me, approved; Looks good to me, approved
diff --git a/src/systemc/tlm_core/tlm_2/tlm_generic_payload/SConscript
b/src/systemc/tlm_core/tlm_2/tlm_generic_payload/SConscript
new file mode 100644
index 0000000..0d65579
--- /dev/null
+++ b/src/systemc/tlm_core/tlm_2/tlm_generic_payload/SConscript
@@ -0,0 +1,32 @@
+# Copyright 2018 Google, Inc.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met: redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer;
+# redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution;
+# neither the name of the copyright holders nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Authors: Gabe Black
+
+Import('*')
+
+if env['USE_SYSTEMC']:
+ Source('tlm_gp.cc')
+ Source('tlm_phase.cc')
diff --git a/src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_gp.cpp
b/src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_gp.cc
similarity index 100%
rename from src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_gp.cpp
rename to src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_gp.cc
diff --git a/src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_phase.cpp
b/src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_phase.cc
similarity index 100%
rename from src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_phase.cpp
rename to src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_phase.cc
diff --git a/src/systemc/tlm_core/tlm_2/tlm_quantum/SConscript
b/src/systemc/tlm_core/tlm_2/tlm_quantum/SConscript
new file mode 100644
index 0000000..bdfc2a0
--- /dev/null
+++ b/src/systemc/tlm_core/tlm_2/tlm_quantum/SConscript
@@ -0,0 +1,31 @@
+# Copyright 2018 Google, Inc.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met: redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer;
+# redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution;
+# neither the name of the copyright holders nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Authors: Gabe Black
+
+Import('*')
+
+if env['USE_SYSTEMC']:
+ Source('tlm_global_quantum.cc')
diff --git a/src/systemc/tlm_core/tlm_2/tlm_quantum/tlm_global_quantum.cpp
b/src/systemc/tlm_core/tlm_2/tlm_quantum/tlm_global_quantum.cc
similarity index 100%
rename from src/systemc/tlm_core/tlm_2/tlm_quantum/tlm_global_quantum.cpp
rename to src/systemc/tlm_core/tlm_2/tlm_quantum/tlm_global_quantum.cc
diff --git a/src/systemc/tlm_utils/SConscript
b/src/systemc/tlm_utils/SConscript
new file mode 100644
index 0000000..354bd1f
--- /dev/null
+++ b/src/systemc/tlm_utils/SConscript
@@ -0,0 +1,32 @@
+# Copyright 2018 Google, Inc.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are
+# met: redistributions of source code must retain the above copyright
+# notice, this list of conditions and the following disclaimer;
+# redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution;
+# neither the name of the copyright holders nor the names of its
+# contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# Authors: Gabe Black
+
+Import('*')
+
+if env['USE_SYSTEMC']:
+ Source('convenience_socket_bases.cc')
+ Source('instance_specific_extensions.cc')
diff --git a/src/systemc/tlm_utils/convenience_socket_bases.cpp
b/src/systemc/tlm_utils/convenience_socket_bases.cc
similarity index 100%
rename from src/systemc/tlm_utils/convenience_socket_bases.cpp
rename to src/systemc/tlm_utils/convenience_socket_bases.cc
diff --git a/src/systemc/tlm_utils/instance_specific_extensions.cpp
b/src/systemc/tlm_utils/instance_specific_extensions.cc
similarity index 100%
rename from src/systemc/tlm_utils/instance_specific_extensions.cpp
rename to src/systemc/tlm_utils/instance_specific_extensions.cc
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/15295
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: Ia30192b441dd34bc7165c6335386c88c0015fdf6
Gerrit-Change-Number: 15295
Gerrit-PatchSet: 2
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Anthony Gutierrez <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Giacomo Travaglini <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Matthias Jung <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev