diff options
author | bunnei <bunneidev@gmail.com> | 2020-05-08 01:13:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-08 01:13:34 +0200 |
commit | 1121960f0ecacd83bb66db3796acf31b3440bc17 (patch) | |
tree | b506df17d8d77d683d4df843f178712335e92ba3 /src/core/hle/kernel/hle_ipc.h | |
parent | Merge pull request #3884 from ReinUsesLisp/border-colors (diff) | |
parent | hle_ipc: Eliminate core memory globals (diff) | |
download | yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar.gz yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar.bz2 yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar.lz yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar.xz yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.tar.zst yuzu-1121960f0ecacd83bb66db3796acf31b3440bc17.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/hle_ipc.h | 11 |
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 |