diff options
| author | Subv <subv2112@gmail.com> | 2016-12-09 12:52:12 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2016-12-09 12:52:12 -0500 |
| commit | ebbb55ec8f827096f1c743cc4b7f4a2aa05a3ed3 (patch) | |
| tree | bea70b5f82c2777939b69e4774bae5a320e33669 /src/core/hle/kernel/server_session.h | |
| parent | deb83c9fc5c27ca8c50db0b00deb9cd798a814e7 (diff) | |
Moved the HLE command buffer translation task to ServerSession instead of the HLE handler superclass.
Diffstat (limited to 'src/core/hle/kernel/server_session.h')
| -rw-r--r-- | src/core/hle/kernel/server_session.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/kernel/server_session.h b/src/core/hle/kernel/server_session.h index 7f00db07b..7abc09011 100644 --- a/src/core/hle/kernel/server_session.h +++ b/src/core/hle/kernel/server_session.h @@ -76,4 +76,14 @@ private: */ static ResultVal<SharedPtr<ServerSession>> Create(std::string name = "Unknown", std::shared_ptr<Service::SessionRequestHandler> hle_handler = nullptr); }; + +/** + * 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); + } |
