diff options
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 2e22fe0f6..8d22f8d2c 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -39,6 +39,7 @@ class KDynamicPageManager; | |||
| 39 | class KEvent; | 39 | class KEvent; |
| 40 | class KEventInfo; | 40 | class KEventInfo; |
| 41 | class KHandleTable; | 41 | class KHandleTable; |
| 42 | class KHardwareTimer; | ||
| 42 | class KLinkedListNode; | 43 | class KLinkedListNode; |
| 43 | class KMemoryLayout; | 44 | class KMemoryLayout; |
| 44 | class KMemoryManager; | 45 | class KMemoryManager; |
| @@ -63,7 +64,6 @@ class KCodeMemory; | |||
| 63 | class PhysicalCore; | 64 | class PhysicalCore; |
| 64 | class ServiceThread; | 65 | class ServiceThread; |
| 65 | class Synchronization; | 66 | class Synchronization; |
| 66 | class TimeManager; | ||
| 67 | 67 | ||
| 68 | using ServiceInterfaceFactory = | 68 | using ServiceInterfaceFactory = |
| 69 | std::function<KClientPort&(Service::SM::ServiceManager&, Core::System&)>; | 69 | std::function<KClientPort&(Service::SM::ServiceManager&, Core::System&)>; |
| @@ -175,11 +175,8 @@ public: | |||
| 175 | /// Gets the an instance of the current physical CPU core. | 175 | /// Gets the an instance of the current physical CPU core. |
| 176 | const Kernel::PhysicalCore& CurrentPhysicalCore() const; | 176 | const Kernel::PhysicalCore& CurrentPhysicalCore() const; |
| 177 | 177 | ||
| 178 | /// Gets the an instance of the TimeManager Interface. | 178 | /// Gets the an instance of the hardware timer. |
| 179 | Kernel::TimeManager& TimeManager(); | 179 | Kernel::KHardwareTimer& HardwareTimer(); |
| 180 | |||
| 181 | /// Gets the an instance of the TimeManager Interface. | ||
| 182 | const Kernel::TimeManager& TimeManager() const; | ||
| 183 | 180 | ||
| 184 | /// Stops execution of 'id' core, in order to reschedule a new thread. | 181 | /// Stops execution of 'id' core, in order to reschedule a new thread. |
| 185 | void PrepareReschedule(std::size_t id); | 182 | void PrepareReschedule(std::size_t id); |