summaryrefslogtreecommitdiffstats
path: root/src/core/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h29
1 files changed, 7 insertions, 22 deletions
diff --git a/src/core/core.h b/src/core/core.h
index df20f26f3..473204db7 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -45,6 +45,10 @@ class Memory;
namespace Service {
+namespace Account {
+class ProfileManager;
+} // namespace Account
+
namespace AM::Applets {
struct AppletFrontendSet;
class AppletManager;
@@ -108,7 +112,6 @@ class RenderdocAPI;
namespace Core {
-class ARM_Interface;
class CpuManager;
class Debugger;
class DeviceMemory;
@@ -171,15 +174,6 @@ public:
/// Check if the core is currently paused.
[[nodiscard]] bool IsPaused() const;
- /**
- * Invalidate the CPU instruction caches
- * This function should only be used by GDB Stub to support breakpoints, memory updates and
- * step/continue commands.
- */
- void InvalidateCpuInstructionCaches();
-
- void InvalidateCpuInstructionCacheRange(u64 addr, std::size_t size);
-
/// Shutdown the main emulated process.
void ShutdownMainProcess();
@@ -244,24 +238,12 @@ public:
/// Gets and resets core performance statistics
[[nodiscard]] PerfStatsResults GetAndResetPerfStats();
- /// Gets an ARM interface to the CPU core that is currently running
- [[nodiscard]] ARM_Interface& CurrentArmInterface();
-
- /// Gets an ARM interface to the CPU core that is currently running
- [[nodiscard]] const ARM_Interface& CurrentArmInterface() const;
-
/// Gets the physical core for the CPU core that is currently running
[[nodiscard]] Kernel::PhysicalCore& CurrentPhysicalCore();
/// Gets the physical core for the CPU core that is currently running
[[nodiscard]] const Kernel::PhysicalCore& CurrentPhysicalCore() const;
- /// Gets a reference to an ARM interface for the CPU core with the specified index
- [[nodiscard]] ARM_Interface& ArmInterface(std::size_t core_index);
-
- /// Gets a const reference to an ARM interface from the CPU core with the specified index
- [[nodiscard]] const ARM_Interface& ArmInterface(std::size_t core_index) const;
-
/// Gets a reference to the underlying CPU manager.
[[nodiscard]] CpuManager& GetCpuManager();
@@ -405,6 +387,9 @@ public:
[[nodiscard]] Service::APM::Controller& GetAPMController();
[[nodiscard]] const Service::APM::Controller& GetAPMController() const;
+ [[nodiscard]] Service::Account::ProfileManager& GetProfileManager();
+ [[nodiscard]] const Service::Account::ProfileManager& GetProfileManager() const;
+
[[nodiscard]] Service::Time::TimeManager& GetTimeManager();
[[nodiscard]] const Service::Time::TimeManager& GetTimeManager() const;