[gem5-dev] Change in gem5/gem5[master]: systemc: Define the nonstandard sc_event_queue_port typedef.

2018-08-21 Thread Gabe Black (Gerrit)
Gabe Black has submitted this change and it was merged. (  
https://gem5-review.googlesource.com/c/public/gem5/+/11262 )


Change subject: systemc: Define the nonstandard sc_event_queue_port typedef.
..

systemc: Define the nonstandard sc_event_queue_port typedef.

Used in the tests.

Change-Id: Ic4b4a313b2bd02e5cb3ec07c4f7ee79219728881
Reviewed-on: https://gem5-review.googlesource.com/11262
Reviewed-by: Gabe Black 
Maintainer: Gabe Black 
---
M src/systemc/ext/channel/_using.hh
M src/systemc/ext/channel/sc_event_queue.hh
2 files changed, 7 insertions(+), 0 deletions(-)

Approvals:
  Gabe Black: Looks good to me, approved; Looks good to me, approved



diff --git a/src/systemc/ext/channel/_using.hh  
b/src/systemc/ext/channel/_using.hh

index 307e89f..e582ea2 100644
--- a/src/systemc/ext/channel/_using.hh
+++ b/src/systemc/ext/channel/_using.hh
@@ -39,7 +39,9 @@
 using sc_core::sc_inout_clk;
 using sc_core::sc_out_clk;

+using sc_core::sc_event_queue_if;
 using sc_core::sc_event_queue;
+using sc_core::sc_event_queue_port;

 using sc_core::sc_fifo;

diff --git a/src/systemc/ext/channel/sc_event_queue.hh  
b/src/systemc/ext/channel/sc_event_queue.hh

index aa2f72e..1cd3c01 100644
--- a/src/systemc/ext/channel/sc_event_queue.hh
+++ b/src/systemc/ext/channel/sc_event_queue.hh
@@ -33,6 +33,7 @@
 #include "../core/sc_interface.hh"
 #include "../core/sc_module.hh" // for sc_gen_unique_name
 #include "../core/sc_module_name.hh"
+#include "../core/sc_port.hh"
 #include "../core/sc_time.hh"
 #include "warn_unimpl.hh"

@@ -65,6 +66,10 @@
 virtual const sc_event _event() const;
 };

+// Nonstandard
+typedef sc_port
+sc_event_queue_port;
+
 } // namespace sc_core

 #endif  //__SYSTEMC_EXT_CHANNEL_SC_EVENT_QUEUE_HH__

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/11262
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: Ic4b4a313b2bd02e5cb3ec07c4f7ee79219728881
Gerrit-Change-Number: 11262
Gerrit-PatchSet: 5
Gerrit-Owner: Gabe Black 
Gerrit-Reviewer: Andreas Sandberg 
Gerrit-Reviewer: Gabe Black 
Gerrit-Reviewer: Giacomo Travaglini 
Gerrit-Reviewer: Jason Lowe-Power 
Gerrit-Reviewer: Matthias Jung 
Gerrit-MessageType: merged
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

[gem5-dev] Change in gem5/gem5[master]: systemc: Define the nonstandard sc_event_queue_port typedef.

2018-06-16 Thread Gabe Black (Gerrit)
Gabe Black has uploaded this change for review. (  
https://gem5-review.googlesource.com/11262



Change subject: systemc: Define the nonstandard sc_event_queue_port typedef.
..

systemc: Define the nonstandard sc_event_queue_port typedef.

Used in the tests.

Change-Id: Ic4b4a313b2bd02e5cb3ec07c4f7ee79219728881
---
M src/systemc/ext/channel/_using.hh
M src/systemc/ext/channel/sc_event_queue.hh
2 files changed, 7 insertions(+), 0 deletions(-)



diff --git a/src/systemc/ext/channel/_using.hh  
b/src/systemc/ext/channel/_using.hh

index 307e89f..e582ea2 100644
--- a/src/systemc/ext/channel/_using.hh
+++ b/src/systemc/ext/channel/_using.hh
@@ -39,7 +39,9 @@
 using sc_core::sc_inout_clk;
 using sc_core::sc_out_clk;

+using sc_core::sc_event_queue_if;
 using sc_core::sc_event_queue;
+using sc_core::sc_event_queue_port;

 using sc_core::sc_fifo;

diff --git a/src/systemc/ext/channel/sc_event_queue.hh  
b/src/systemc/ext/channel/sc_event_queue.hh

index aa2f72e..1cd3c01 100644
--- a/src/systemc/ext/channel/sc_event_queue.hh
+++ b/src/systemc/ext/channel/sc_event_queue.hh
@@ -33,6 +33,7 @@
 #include "../core/sc_interface.hh"
 #include "../core/sc_module.hh" // for sc_gen_unique_name
 #include "../core/sc_module_name.hh"
+#include "../core/sc_port.hh"
 #include "../core/sc_time.hh"
 #include "warn_unimpl.hh"

@@ -65,6 +66,10 @@
 virtual const sc_event _event() const;
 };

+// Nonstandard
+typedef sc_port
+sc_event_queue_port;
+
 } // namespace sc_core

 #endif  //__SYSTEMC_EXT_CHANNEL_SC_EVENT_QUEUE_HH__

--
To view, visit https://gem5-review.googlesource.com/11262
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: Ic4b4a313b2bd02e5cb3ec07c4f7ee79219728881
Gerrit-Change-Number: 11262
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black 
Gerrit-MessageType: newchange
___
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev