summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-14 15:56:27 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2020-02-22 16:18:07 +0100
commit5c90d22f3d92b9be818b19e03dd57eb217eb6567 (patch)
tree206a925ef68687d7b90e2b11d9d68bc42f2ce9d3 /src/core/hle/kernel/kernel.h
parentKernel: Rename ThreadCallbackHandleTable and Setup Thread Ids on Kernel. (diff)
downloadyuzu-5c90d22f3d92b9be818b19e03dd57eb217eb6567.tar
yuzu-5c90d22f3d92b9be818b19e03dd57eb217eb6567.tar.gz
yuzu-5c90d22f3d92b9be818b19e03dd57eb217eb6567.tar.bz2
yuzu-5c90d22f3d92b9be818b19e03dd57eb217eb6567.tar.lz
yuzu-5c90d22f3d92b9be818b19e03dd57eb217eb6567.tar.xz
yuzu-5c90d22f3d92b9be818b19e03dd57eb217eb6567.tar.zst
yuzu-5c90d22f3d92b9be818b19e03dd57eb217eb6567.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index c5e05f7b6..76fd12ace 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -33,6 +33,7 @@ class ResourceLimit;
class Scheduler;
class Synchronization;
class Thread;
+class TimeManager;
/// Represents a single instance of the kernel.
class KernelCore {
@@ -107,6 +108,12 @@ public:
/// Gets the an instance of the Synchronization Interface.
const Kernel::Synchronization& Synchronization() 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;
+
/// Stops execution of 'id' core, in order to reschedule a new thread.
void PrepareReschedule(std::size_t id);