core: device_manager: Add a simple class to manage device RAM.
This commit is contained in:
parent
f1b607829e
commit
dc25c86556
5 changed files with 118 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue