summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/server_session.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-02-18 19:22:19 +0100
committerSubv <subv2112@gmail.com>2018-02-18 19:25:48 +0100
commit94ee8fc97b6e3373d801d70efdd1b604ad03b85e (patch)
treecfff767e6c98925e2394fdd337e6d862b5512d8b /src/core/hle/kernel/server_session.h
parentMerge pull request #199 from FernandoS27/update_dynarmic (diff)
downloadyuzu-94ee8fc97b6e3373d801d70efdd1b604ad03b85e.tar
yuzu-94ee8fc97b6e3373d801d70efdd1b604ad03b85e.tar.gz
yuzu-94ee8fc97b6e3373d801d70efdd1b604ad03b85e.tar.bz2
yuzu-94ee8fc97b6e3373d801d70efdd1b604ad03b85e.tar.lz
yuzu-94ee8fc97b6e3373d801d70efdd1b604ad03b85e.tar.xz
yuzu-94ee8fc97b6e3373d801d70efdd1b604ad03b85e.tar.zst
yuzu-94ee8fc97b6e3373d801d70efdd1b604ad03b85e.zip
Diffstat (limited to 'src/core/hle/kernel/server_session.h')
-rw-r--r--src/core/hle/kernel/server_session.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/core/hle/kernel/server_session.h b/src/core/hle/kernel/server_session.h
index 144692106..2da807042 100644
--- a/src/core/hle/kernel/server_session.h
+++ b/src/core/hle/kernel/server_session.h
@@ -21,6 +21,7 @@ class ServerSession;
class Session;
class SessionRequestHandler;
class Thread;
+class HLERequestContext;
/**
* Kernel object representing the server endpoint of an IPC session. Sessions are the basic CTR-OS
@@ -116,17 +117,12 @@ private:
*/
static ResultVal<SharedPtr<ServerSession>> Create(std::string name = "Unknown");
+ /// Handles a SyncRequest to a domain, forwarding the request to the proper object or closing an
+ /// object handle.
+ ResultCode HandleDomainSyncRequest(Kernel::HLERequestContext& context);
+
/// When set to True, converts the session to a domain at the end of the command
bool convert_to_domain{};
};
-/**
- * Performs command buffer translation for an HLE IPC request.
- * The command buffer from the ServerSession thread's TLS is copied into a
- * buffer and all descriptors in the buffer are processed.
- * TODO(Subv): Implement this function, currently we do not support multiple processes running at
- * once, but once that is implemented we'll need to properly translate all descriptors
- * in the command buffer.
- */
-ResultCode TranslateHLERequest(ServerSession* server_session);
} // namespace Kernel