summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/hle_ipc.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-05-03 18:41:30 +0200
committerLioncash <mathew1800@gmail.com>2020-05-03 18:57:40 +0200
commit0ec07e8763336c753f934d0176f946da8963e1c8 (patch)
tree2ab5f6bf045c577f26061887bde4be83cddaaad0 /src/core/hle/kernel/hle_ipc.h
parentsettings: Add anisotropic filtering level to the yuzu configuration log (#3875) (diff)
downloadyuzu-0ec07e8763336c753f934d0176f946da8963e1c8.tar
yuzu-0ec07e8763336c753f934d0176f946da8963e1c8.tar.gz
yuzu-0ec07e8763336c753f934d0176f946da8963e1c8.tar.bz2
yuzu-0ec07e8763336c753f934d0176f946da8963e1c8.tar.lz
yuzu-0ec07e8763336c753f934d0176f946da8963e1c8.tar.xz
yuzu-0ec07e8763336c753f934d0176f946da8963e1c8.tar.zst
yuzu-0ec07e8763336c753f934d0176f946da8963e1c8.zip
Diffstat (limited to 'src/core/hle/kernel/hle_ipc.h')
-rw-r--r--src/core/hle/kernel/hle_ipc.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h
index af3330297..b31673928 100644
--- a/src/core/hle/kernel/hle_ipc.h
+++ b/src/core/hle/kernel/hle_ipc.h
@@ -19,6 +19,10 @@
union ResultCode;
+namespace Core::Memory {
+class Memory;
+}
+
namespace Service {
class ServiceFrameworkBase;
}
@@ -28,6 +32,7 @@ namespace Kernel {
class Domain;
class HandleTable;
class HLERequestContext;
+class KernelCore;
class Process;
class ServerSession;
class Thread;
@@ -98,7 +103,8 @@ protected:
*/
class HLERequestContext {
public:
- explicit HLERequestContext(std::shared_ptr<ServerSession> session,
+ explicit HLERequestContext(KernelCore& kernel, Core::Memory::Memory& memory,
+ std::shared_ptr<ServerSession> session,
std::shared_ptr<Thread> thread);
~HLERequestContext();
@@ -305,6 +311,9 @@ private:
std::vector<std::shared_ptr<SessionRequestHandler>> domain_request_handlers;
bool is_thread_waiting{};
+
+ KernelCore& kernel;
+ Core::Memory::Memory& memory;
};
} // namespace Kernel