summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-15 19:58:37 -0700
committerGabe Black <gabeblack@google.com>2018-08-22 01:08:06 +0000
commit9e35fe2e775ebc47d39a057822547034e9cd09a7 (patch)
tree6052b2f35c7bc9f9bf6989c00592a6cea93059f6 /src
parent60228015726d89122e92278bde2f34c2dbbec1e3 (diff)
downloadgem5-9e35fe2e775ebc47d39a057822547034e9cd09a7.tar.xz
systemc: Add deprecated notify_delayed functions.
Change-Id: I8ec68920b35f9207b6856a0b1ddfdf7545b7148a Reviewed-on: https://gem5-review.googlesource.com/11269 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/systemc/core/sc_event.cc12
-rw-r--r--src/systemc/ext/core/sc_event.hh4
2 files changed, 16 insertions, 0 deletions
diff --git a/src/systemc/core/sc_event.cc b/src/systemc/core/sc_event.cc
index 32fdd0afb..80d10271a 100644
--- a/src/systemc/core/sc_event.cc
+++ b/src/systemc/core/sc_event.cc
@@ -284,6 +284,18 @@ sc_event::triggered() const
return false;
}
+void
+sc_event::notify_delayed()
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
+void
+sc_event::notify_delayed(const sc_time &)
+{
+ warn("%s not implemented.\n", __PRETTY_FUNCTION__);
+}
+
sc_event_and_expr
sc_event::operator & (const sc_event &) const
{
diff --git a/src/systemc/ext/core/sc_event.hh b/src/systemc/ext/core/sc_event.hh
index d110b9178..8eb1283c1 100644
--- a/src/systemc/ext/core/sc_event.hh
+++ b/src/systemc/ext/core/sc_event.hh
@@ -136,6 +136,10 @@ class sc_event
// Returns whether this event is currently triggered.
bool triggered() const;
+ // Deprecated
+ void notify_delayed();
+ void notify_delayed(const sc_time &);
+
sc_event_and_expr operator & (const sc_event &) const;
sc_event_and_expr operator & (const sc_event_and_list &) const;
sc_event_or_expr operator | (const sc_event &) const;