core: device_manager: Add a simple class to manage device RAM.

This commit is contained in:
bunnei
2020-04-02 22:00:41 -04:00
parent f1b607829e
commit dc25c86556
5 changed files with 118 additions and 1 deletions

View File

@ -91,6 +91,7 @@ namespace Core {
class ARM_Interface;
class CoreManager;
class DeviceMemory;
class ExclusiveMonitor;
class FrameLimiter;
class PerfStats;
@ -256,6 +257,12 @@ public:
/// Gets the global scheduler
const Kernel::GlobalScheduler& GlobalScheduler() const;
/// Gets the manager for the guest device memory
DeviceMemory& GetDeviceMemory();
/// Gets the manager for the guest device memory
const DeviceMemory& GetDeviceMemory() const;
/// Provides a pointer to the current process
Kernel::Process* CurrentProcess();