Deleted Added
sdiff udiff text old ( 13042:8c1fb556547e ) new ( 13045:ccedccd0d93d )
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

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

59 // Install ourselves as the scheduler's event manager.
60 ::sc_gem5::scheduler.setEventQueue(eventQueue());
61}
62
63void
64Kernel::init()
65{
66 status(::sc_core::SC_BEFORE_END_OF_ELABORATION);
67 for (auto m: sc_gem5::allModules) {
68 callbackModule(m);
69 m->sc_mod()->before_end_of_elaboration();
70 }
71 callbackModule(nullptr);
72
73 if (stopAfterCallbacks)
74 stopWork();
75}
76
77void
78Kernel::regStats()
79{

--- 78 unchanged lines hidden ---