| Commit message (Collapse) | Author | Files | Lines |
|
Gets rid of the largest set of mutable global state within the core.
This also paves a way for eliminating usages of GetInstance() on the
System class as a follow-up.
Note that no behavioral changes have been made, and this simply extracts
the functionality into a class. This also has the benefit of making
dependencies on the core timing functionality explicit within the
relevant interfaces.
|
|
|
|
Like the barrier, this is owned entirely by the System and will always
outlive the encompassing state, so shared ownership semantics aren't
necessary here.
|
|
This will always outlive the Cpu instances, since it's destroyed after
we destroy the Cpu instances on shutdown, so there's no need for shared
ownership semantics here.
|
|
This is only exposed by reference, so we can just make it a unique
pointer to get rid of the need to also use reference counting for the
pointer.
|
|
We don't need to include this as a dependency within the header. A
regular forward declaration will suffice here.
|
|
|
|
Gets all of these types and interfaces out of the global namespace.
|
|
Another thread may write to this variable while the core in question is in the middle of checking for a reschedule request.
|
|
|
|
|
|
|
|
|
|
|