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 fccffaf3a..1eede3063 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 Synchronization; | ||
| 32 | class Thread; | 33 | class Thread; |
| 33 | 34 | ||
| 34 | /// Represents a single instance of the kernel. | 35 | /// Represents a single instance of the kernel. |
| @@ -92,6 +93,12 @@ public: | |||
| 92 | /// Gets the an instance of the respective physical CPU core. | 93 | /// Gets the an instance of the respective physical CPU core. |
| 93 | const Kernel::PhysicalCore& PhysicalCore(std::size_t id) const; | 94 | const Kernel::PhysicalCore& PhysicalCore(std::size_t id) const; |
| 94 | 95 | ||
| 96 | /// Gets the an instance of the Synchronization Interface. | ||
| 97 | Kernel::Synchronization& Synchronization(); | ||
| 98 | |||
| 99 | /// Gets the an instance of the Synchronization Interface. | ||
| 100 | const Kernel::Synchronization& Synchronization() const; | ||
| 101 | |||
| 95 | /// Stops execution of 'id' core, in order to reschedule a new thread. | 102 | /// Stops execution of 'id' core, in order to reschedule a new thread. |
| 96 | void PrepareReschedule(std::size_t id); | 103 | void PrepareReschedule(std::size_t id); |
| 97 | 104 | ||