Deleted Added
sdiff udiff text old ( 13403:cebee63981d3 ) new ( 13404:5da37c38d749 )
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

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

22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
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/types.hh"
31#include "sim/core.hh"
32#include "sim/eventq.hh"
33#include "systemc/core/kernel.hh"
34#include "systemc/core/sc_main_fiber.hh"
35#include "systemc/core/scheduler.hh"
36#include "systemc/ext/core/messages.hh"
37#include "systemc/ext/core/sc_main.hh"
38#include "systemc/ext/utils/sc_report_handler.hh"
39
40namespace sc_core
41{
42
43namespace
44{
45
46sc_stop_mode _stop_mode = SC_STOP_FINISH_DELTA;
47
48} // anonymous namespace
49
50int
51sc_argc()
52{
53 return ::sc_gem5::scMainFiber.argc();

--- 187 unchanged lines hidden ---