aboutsummaryrefslogtreecommitdiff
path: root/src/core/core_manager.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-03-01 12:14:17 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 11:35:58 -0400
commitdb60ca2704b15d8d31e58185a583e6fbe4189f53 (patch)
treec9553bb3f1693e430054695737d2f87ba4b58955 /src/core/core_manager.cpp
parent7b3b33a2e64925375dc46619a407b101bcdd93fb (diff)
General: Move ARM_Interface into Threads.
Diffstat (limited to 'src/core/core_manager.cpp')
-rw-r--r--src/core/core_manager.cpp18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/core/core_manager.cpp b/src/core/core_manager.cpp
index 45f0bb5470..82d7acb406 100644
--- a/src/core/core_manager.cpp
+++ b/src/core/core_manager.cpp
@@ -28,21 +28,7 @@ CoreManager::CoreManager(System& system, std::size_t core_index)
CoreManager::~CoreManager() = default;
void CoreManager::RunLoop(bool tight_loop) {
- Reschedule();
-
- // If we don't have a currently active thread then don't execute instructions,
- // instead advance to the next event and try to yield to the next thread
- if (Kernel::GetCurrentThread() == nullptr) {
- LOG_TRACE(Core, "Core-{} idling", core_index);
- } else {
- if (tight_loop) {
- physical_core.Run();
- } else {
- physical_core.Step();
- }
- }
-
- Reschedule();
+ /// Deprecated
}
void CoreManager::SingleStep() {
@@ -50,7 +36,7 @@ void CoreManager::SingleStep() {
}
void CoreManager::PrepareReschedule() {
- physical_core.Stop();
+ //physical_core.Stop();
}
void CoreManager::Reschedule() {