diff options
author | Liam <[email protected]> | 2023-11-28 14:30:39 -0500 |
---|---|---|
committer | Liam <[email protected]> | 2023-12-04 10:37:16 -0500 |
commit | 45c87c7e6e841c11def43e5ab25160006dab6d77 (patch) | |
tree | 04a3ea0bd8c07389e17741aa28615e3b32ace2f7 /src/core/core.h | |
parent | 90e87c40e8628f2ed00a0e0272a9652b7fdb9a96 (diff) | |
download | yuzu-mainline-45c87c7e6e841c11def43e5ab25160006dab6d77.tar.gz yuzu-mainline-45c87c7e6e841c11def43e5ab25160006dab6d77.zip |
core: refactor emulated cpu core activation
Diffstat (limited to 'src/core/core.h')
-rw-r--r-- | src/core/core.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/core/core.h b/src/core/core.h index df20f26f3..05a222f5c 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -108,7 +108,6 @@ class RenderdocAPI; namespace Core { -class ARM_Interface; class CpuManager; class Debugger; class DeviceMemory; @@ -171,15 +170,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 +234,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(); |