summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 14d6c8c27..229cb879c 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -323,7 +323,6 @@ struct System::Impl {
323 static_cast<u32>(SystemResultStatus::ErrorLoader) + static_cast<u32>(load_result)); 323 static_cast<u32>(SystemResultStatus::ErrorLoader) + static_cast<u32>(load_result));
324 } 324 }
325 AddGlueRegistrationForProcess(*app_loader, *main_process); 325 AddGlueRegistrationForProcess(*app_loader, *main_process);
326 kernel.InitializeCores();
327 326
328 // Initialize cheat engine 327 // Initialize cheat engine
329 if (cheat_engine) { 328 if (cheat_engine) {
@@ -600,14 +599,6 @@ bool System::IsPaused() const {
600 return impl->IsPaused(); 599 return impl->IsPaused();
601} 600}
602 601
603void System::InvalidateCpuInstructionCaches() {
604 impl->kernel.InvalidateAllInstructionCaches();
605}
606
607void System::InvalidateCpuInstructionCacheRange(u64 addr, std::size_t size) {
608 impl->kernel.InvalidateCpuInstructionCacheRange(addr, size);
609}
610
611void System::ShutdownMainProcess() { 602void System::ShutdownMainProcess() {
612 impl->ShutdownMainProcess(); 603 impl->ShutdownMainProcess();
613} 604}
@@ -696,14 +687,6 @@ const TelemetrySession& System::TelemetrySession() const {
696 return *impl->telemetry_session; 687 return *impl->telemetry_session;
697} 688}
698 689
699ARM_Interface& System::CurrentArmInterface() {
700 return impl->kernel.CurrentPhysicalCore().ArmInterface();
701}
702
703const ARM_Interface& System::CurrentArmInterface() const {
704 return impl->kernel.CurrentPhysicalCore().ArmInterface();
705}
706
707Kernel::PhysicalCore& System::CurrentPhysicalCore() { 690Kernel::PhysicalCore& System::CurrentPhysicalCore() {
708 return impl->kernel.CurrentPhysicalCore(); 691 return impl->kernel.CurrentPhysicalCore();
709} 692}
@@ -738,14 +721,6 @@ const Kernel::KProcess* System::ApplicationProcess() const {
738 return impl->kernel.ApplicationProcess(); 721 return impl->kernel.ApplicationProcess();
739} 722}
740 723
741ARM_Interface& System::ArmInterface(std::size_t core_index) {
742 return impl->kernel.PhysicalCore(core_index).ArmInterface();
743}
744
745const ARM_Interface& System::ArmInterface(std::size_t core_index) const {
746 return impl->kernel.PhysicalCore(core_index).ArmInterface();
747}
748
749ExclusiveMonitor& System::Monitor() { 724ExclusiveMonitor& System::Monitor() {
750 return impl->kernel.GetExclusiveMonitor(); 725 return impl->kernel.GetExclusiveMonitor();
751} 726}