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 1eede3063..0dfc559e9 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -29,6 +29,7 @@ class HandleTable;
29class PhysicalCore; 29class PhysicalCore;
30class Process; 30class Process;
31class ResourceLimit; 31class ResourceLimit;
32class Scheduler;
32class Synchronization; 33class Synchronization;
33class Thread; 34class Thread;
34 35
@@ -87,6 +88,12 @@ public:
87 /// Gets the sole instance of the global scheduler 88 /// Gets the sole instance of the global scheduler
88 const Kernel::GlobalScheduler& GlobalScheduler() const; 89 const Kernel::GlobalScheduler& GlobalScheduler() const;
89 90
91 /// Gets the sole instance of the Scheduler assoviated with cpu core 'id'
92 Kernel::Scheduler& Scheduler(std::size_t id);
93
94 /// Gets the sole instance of the Scheduler assoviated with cpu core 'id'
95 const Kernel::Scheduler& Scheduler(std::size_t id) const;
96
90 /// Gets the an instance of the respective physical CPU core. 97 /// Gets the an instance of the respective physical CPU core.
91 Kernel::PhysicalCore& PhysicalCore(std::size_t id); 98 Kernel::PhysicalCore& PhysicalCore(std::size_t id);
92 99