misc: Merge branch 'release-staging-v21-0' into develop
Change-Id: I0ad043ded56fb848e045057a1e7a56ea39797906
This commit is contained in:
@@ -166,7 +166,7 @@ Root::timeSyncSpinThreshold(Time newThreshold)
|
||||
timeSyncEnable(en);
|
||||
}
|
||||
|
||||
Root::Root(const RootParams &p)
|
||||
Root::Root(const RootParams &p, int)
|
||||
: SimObject(p), _enabled(false), _periodTick(p.time_sync_period),
|
||||
syncEvent([this]{ timeSync(); }, name())
|
||||
{
|
||||
@@ -216,5 +216,5 @@ RootParams::create() const
|
||||
FullSystem = full_system;
|
||||
FullSystemInt = full_system ? 1 : 0;
|
||||
|
||||
return new Root(*this);
|
||||
return new Root(*this, 0);
|
||||
}
|
||||
|
||||
@@ -134,7 +134,9 @@ class Root : public SimObject
|
||||
|
||||
PARAMS(Root);
|
||||
|
||||
Root(const Params &p);
|
||||
// The int parameter is ignored, it's just so we can define a custom
|
||||
// create() method.
|
||||
Root(const Params &p, int);
|
||||
|
||||
/** Schedule the timesync event at startup().
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user