Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/10854

Change subject: systemc: Add the deprecated sc_module::end_module function.
......................................................................

systemc: Add the deprecated sc_module::end_module function.

The regression tests use this function. In the Accellera implementation
it seems to just do some error checking, so our version doesn't do
anything for now.

Change-Id: Icaad45e934bad69e301bc0234f73e69791940736
---
M src/systemc/ext/core/sc_module.hh
1 file changed, 3 insertions(+), 0 deletions(-)



diff --git a/src/systemc/ext/core/sc_module.hh b/src/systemc/ext/core/sc_module.hh
index 3b270c2..a87a4f5 100644
--- a/src/systemc/ext/core/sc_module.hh
+++ b/src/systemc/ext/core/sc_module.hh
@@ -138,6 +138,9 @@
     sc_module(const sc_module_name &);
     sc_module();

+    /* Deprecated, but used in the regression tests. */
+    void end_module() {}
+
     void reset_signal_is(const sc_in<bool> &, bool);
     void reset_signal_is(const sc_inout<bool> &, bool);
     void reset_signal_is(const sc_out<bool> &, bool);

--
To view, visit https://gem5-review.googlesource.com/10854
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: Icaad45e934bad69e301bc0234f73e69791940736
Gerrit-Change-Number: 10854
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to