summaryrefslogtreecommitdiff
path: root/src/systemc/core/sc_interface.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-06 00:10:20 -0700
committerGabe Black <gabeblack@google.com>2018-10-16 01:00:42 +0000
commit05f2a5f4f67c6d6b71497a0b6c75faf728f963f6 (patch)
tree9901e11e6fcefc25d8f4b4e09957e3ee12b69a76 /src/systemc/core/sc_interface.cc
parente9b366922b6b2dcb9e36bfa87eb58aefc3e138fb (diff)
downloadgem5-05f2a5f4f67c6d6b71497a0b6c75faf728f963f6.tar.xz
systemc: Distinguish internal events from normal sc_events.
The internal events aren't supposed to show up in the namespace or as children of objects. Change-Id: Id04b9bfe2e1f8f216390dd989797558eaf33d715 Reviewed-on: https://gem5-review.googlesource.com/c/13309 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/sc_interface.cc')
-rw-r--r--src/systemc/core/sc_interface.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/core/sc_interface.cc b/src/systemc/core/sc_interface.cc
index 4b3865e13..93aff6712 100644
--- a/src/systemc/core/sc_interface.cc
+++ b/src/systemc/core/sc_interface.cc
@@ -41,7 +41,7 @@ const sc_event &
sc_interface::default_event() const
{
SC_REPORT_WARNING("(W116) channel doesn't have a default event", "");
- static sc_event dummy;
+ static sc_gem5::InternalScEvent dummy;
return dummy;
}