summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-12-18 22:50:02 +0100
committerLiam <byteslice@airmail.cc>2022-12-19 02:21:24 +0100
commitc770f25ccb4755f6a6861037fbfdfdac55191348 (patch)
treeeccc5140afa7a979800e8c27c1f4a2847adb283f /src/core/hle/kernel/kernel.h
parentkernel: add KHardwareTimer (diff)
downloadyuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar.gz
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar.bz2
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar.lz
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar.xz
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar.zst
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h9
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);