Lioncash
1e69ec7e8d
core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrs
2018-10-15 14:15:56 -04:00
Lioncash
fd28ab595e
core: Make the exclusive monitor a unique_ptr instead of a shared_ptr
...
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.
2018-10-15 14:15:50 -04:00
Lioncash
e76322c9bc
core: Make CPUBarrier a unique_ptr instead of a shared_ptr
...
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.
2018-10-15 09:11:47 -04:00
Lioncash
9bb307079f
core_cpu: Make arm_interface instances a std::unique_ptr
...
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.
2018-09-25 16:04:56 -04:00
Lioncash
d727627bea
core/core_cpu: Replace exclusive monitor include with forward declaration
...
We don't need to include this as a dependency within the header. A
regular forward declaration will suffice here.
2018-09-17 18:16:55 -04:00
fearlessTobi
ac0723e7be
Port #4182 from Citra: "Prefix all size_t with std::"
2018-09-15 15:21:06 +02:00
Lioncash
577e8d87cf
core: Namespace all code in the arm subdirectory under the Core namespace
...
Gets all of these types and interfaces out of the global namespace.
2018-08-24 21:50:39 -04:00
Subv
5d09404098
Core/HLE: Make the 'reschedule_pending' flag atomic.
...
Another thread may write to this variable while the core in question is in the middle of checking for a reschedule request.
2018-08-12 18:41:12 -05:00
MerryMage
b877a20af0
Implement exclusive monitor
2018-07-22 15:55:17 +01:00
bunnei
703e1b7fb4
core: Support session close with multicore.
2018-05-10 19:34:47 -04:00
bunnei
c5e0d82b9c
core: Implement multicore support.
2018-05-10 19:34:46 -04:00
bunnei
17e8c38264
core: Create a thread for each CPU core, keep in lock-step with a barrier.
2018-05-10 19:34:46 -04:00
bunnei
56f512f16a
core: Move common CPU core things to its own class.
2018-05-10 19:34:46 -04:00