Deleted Added
sdiff udiff text old ( 13303:045f002c325c ) new ( 13324:c8b709468e61 )
full compact
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 14 unchanged lines hidden (view full) ---

23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#include "base/logging.hh"
31#include "systemc/ext/core/sc_event.hh"
32#include "systemc/ext/core/sc_interface.hh"
33#include "systemc/ext/utils/sc_report_handler.hh"
34
35namespace sc_core
36{
37
38void sc_interface::register_port(sc_port_base &, const char *) {}
39
40const sc_event &
41sc_interface::default_event() const
42{
43 SC_REPORT_WARNING("(W116) channel doesn't have a default event", "");
44 static sc_gem5::InternalScEvent dummy;
45 return dummy;
46}
47
48} // namespace sc_core