mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-10-30 15:39:02 -05:00 
			
		
		
		
	Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.
This commit instends on better naming the new purpose of this classes.
This commit is contained in:
		| @@ -8,7 +8,6 @@ | ||||
| #include "common/assert.h" | ||||
| #include "common/common_types.h" | ||||
| #include "core/core.h" | ||||
| #include "core/core_cpu.h" | ||||
| #include "core/hle/kernel/address_arbiter.h" | ||||
| #include "core/hle/kernel/errors.h" | ||||
| #include "core/hle/kernel/scheduler.h" | ||||
|   | ||||
| @@ -14,7 +14,6 @@ | ||||
| #include "common/logging/log.h" | ||||
| #include "core/arm/arm_interface.h" | ||||
| #include "core/core.h" | ||||
| #include "core/core_cpu.h" | ||||
| #include "core/core_timing.h" | ||||
| #include "core/hle/kernel/kernel.h" | ||||
| #include "core/hle/kernel/process.h" | ||||
|   | ||||
| @@ -15,7 +15,7 @@ | ||||
| #include "common/string_util.h" | ||||
| #include "core/arm/exclusive_monitor.h" | ||||
| #include "core/core.h" | ||||
| #include "core/core_cpu.h" | ||||
| #include "core/core_manager.h" | ||||
| #include "core/core_timing.h" | ||||
| #include "core/core_timing_util.h" | ||||
| #include "core/hle/kernel/address_arbiter.h" | ||||
|   | ||||
| @@ -13,7 +13,6 @@ | ||||
| #include "common/thread_queue_list.h" | ||||
| #include "core/arm/arm_interface.h" | ||||
| #include "core/core.h" | ||||
| #include "core/core_cpu.h" | ||||
| #include "core/core_timing.h" | ||||
| #include "core/core_timing_util.h" | ||||
| #include "core/hle/kernel/errors.h" | ||||
| @@ -356,7 +355,7 @@ void Thread::SetActivity(ThreadActivity value) { | ||||
|         // Set status if not waiting | ||||
|         if (status == ThreadStatus::Ready || status == ThreadStatus::Running) { | ||||
|             SetStatus(ThreadStatus::Paused); | ||||
|             Core::System::GetInstance().CpuCore(processor_id).PrepareReschedule(); | ||||
|             Core::System::GetInstance().PrepareReschedule(processor_id); | ||||
|         } | ||||
|     } else if (status == ThreadStatus::Paused) { | ||||
|         // Ready to reschedule | ||||
|   | ||||
| @@ -7,7 +7,6 @@ | ||||
| #include "common/common_types.h" | ||||
| #include "common/logging/log.h" | ||||
| #include "core/core.h" | ||||
| #include "core/core_cpu.h" | ||||
| #include "core/hle/kernel/kernel.h" | ||||
| #include "core/hle/kernel/object.h" | ||||
| #include "core/hle/kernel/process.h" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Fernando Sahmkow
					Fernando Sahmkow