aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/client_session.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-09-14 14:03:10 -0400
committerLioncash <mathew1800@gmail.com>2020-09-14 14:03:13 -0400
commitec2a6e5ba801d850380742db19c1546ac3ff9c4b (patch)
tree44638c8d178116c2d990bae4a9dfa7319f36cdaa /src/core/hle/kernel/client_session.h
parent042567e4b21312dc00f1831401d32096364e0226 (diff)
kernel: Remove all dependencies on the global system instance
With this, the kernel finally doesn't depend directly on the global system instance anymore.
Diffstat (limited to 'src/core/hle/kernel/client_session.h')
-rw-r--r--src/core/hle/kernel/client_session.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/kernel/client_session.h b/src/core/hle/kernel/client_session.h
index c5f760d7d..e5e0690c2 100644
--- a/src/core/hle/kernel/client_session.h
+++ b/src/core/hle/kernel/client_session.h
@@ -16,6 +16,10 @@ namespace Core::Memory {
class Memory;
}
+namespace Core::Timing {
+class CoreTiming;
+}
+
namespace Kernel {
class KernelCore;
@@ -42,7 +46,8 @@ public:
return HANDLE_TYPE;
}
- ResultCode SendSyncRequest(std::shared_ptr<Thread> thread, Core::Memory::Memory& memory);
+ ResultCode SendSyncRequest(std::shared_ptr<Thread> thread, Core::Memory::Memory& memory,
+ Core::Timing::CoreTiming& core_timing);
bool ShouldWait(const Thread* thread) const override;