summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 0cc44ee76..c4397fc77 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -21,6 +21,7 @@ namespace Kernel {
21 21
22class AddressArbiter; 22class AddressArbiter;
23class ClientPort; 23class ClientPort;
24class GlobalScheduler;
24class HandleTable; 25class HandleTable;
25class Process; 26class Process;
26class ResourceLimit; 27class ResourceLimit;
@@ -75,6 +76,12 @@ public:
75 /// Retrieves the list of processes. 76 /// Retrieves the list of processes.
76 const std::vector<SharedPtr<Process>>& GetProcessList() const; 77 const std::vector<SharedPtr<Process>>& GetProcessList() const;
77 78
79 /// Gets the sole instance of the global scheduler
80 Kernel::GlobalScheduler& GlobalScheduler();
81
82 /// Gets the sole instance of the global scheduler
83 const Kernel::GlobalScheduler& GlobalScheduler() const;
84
78 /// Adds a port to the named port table 85 /// Adds a port to the named port table
79 void AddNamedPort(std::string name, SharedPtr<ClientPort> port); 86 void AddNamedPort(std::string name, SharedPtr<ClientPort> port);
80 87