summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-02 22:00:41 -0400
committerbunnei <bunneidev@gmail.com>2020-04-17 00:59:29 -0400
commitdc25c86556c36dd23224d88234afc9ecbf780719 (patch)
tree5dbe45bcc17ecad8675e7a4cb03dd34361f01e03 /src/core/core.h
parentf1b607829e3b93aed117467c1e119514a61074da (diff)
core: device_manager: Add a simple class to manage device RAM.
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/core.h b/src/core/core.h
index c2bdef07e..6cd93000a 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -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();