diff options
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 7 |
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; | |||
| 29 | class PhysicalCore; | 29 | class PhysicalCore; |
| 30 | class Process; | 30 | class Process; |
| 31 | class ResourceLimit; | 31 | class ResourceLimit; |
| 32 | class Scheduler; | ||
| 32 | class Synchronization; | 33 | class Synchronization; |
| 33 | class Thread; | 34 | class 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 | ||