Deleted Added
sdiff udiff text old ( 13207:034ca389a810 ) new ( 13210:8f6d757c46dc )
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

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

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/core/process.hh"
32#include "systemc/ext/core/sc_interface.hh"
33#include "systemc/ext/core/sc_sensitive.hh"
34
35namespace sc_core
36{
37
38sc_sensitive::sc_sensitive() : currentProcess(nullptr) {}
39

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

67
68sc_sensitive &
69sc_sensitive::operator << (::sc_gem5::Process *p)
70{
71 currentProcess = p;
72 return *this;
73}
74
75} // namespace sc_core