diff options
| author | MatÃas Locatti <42481638+goldenx86@users.noreply.github.com> | 2022-12-19 18:37:34 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-19 18:37:34 -0300 |
| commit | e44d1fe73cc5fac4cfab0d3d8660dbb46d60cafc (patch) | |
| tree | abfcbf2c097e1bb0b1297f0af90b94c055bc242c /src/core/hle/kernel/kernel.h | |
| parent | 42d81aab327a2f4851658d947b63b8e9ed4bf4d7 (diff) | |
| parent | c770f25ccb4755f6a6861037fbfdfdac55191348 (diff) | |
Merge pull request #9474 from liamwhite/timer
kernel: add KHardwareTimer
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; class KEvent; class KEventInfo; class KHandleTable; +class KHardwareTimer; class KLinkedListNode; class KMemoryLayout; class KMemoryManager; @@ -63,7 +64,6 @@ class KCodeMemory; class PhysicalCore; class ServiceThread; class Synchronization; -class TimeManager; using ServiceInterfaceFactory = std::function<KClientPort&(Service::SM::ServiceManager&, Core::System&)>; @@ -175,11 +175,8 @@ public: /// Gets the an instance of the current physical CPU core. const Kernel::PhysicalCore& CurrentPhysicalCore() const; - /// Gets the an instance of the TimeManager Interface. - Kernel::TimeManager& TimeManager(); - - /// Gets the an instance of the TimeManager Interface. - const Kernel::TimeManager& TimeManager() const; + /// Gets the an instance of the hardware timer. + Kernel::KHardwareTimer& HardwareTimer(); /// Stops execution of 'id' core, in order to reschedule a new thread. void PrepareReschedule(std::size_t id); |
