summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/client_session.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Remove unnecessary includesLioncash2018-07-311-2/+0
| | | | | Removes unnecessary direct dependencies in some headers and also gets rid of indirect dependencies that were being relied on to be included.
* Format: Run the new clang format on everythingJames Rowe2018-01-211-1/+1
|
* Kernel/SVC: Pass the current thread as a parameter to ClientSession::SendSyncRequest.Subv2017-06-291-2/+3
|
* Kernel/Sessions: Clean up the list of pending request threads of a session when the client endpoint is closed.Subv2017-06-261-0/+5
|
* Kernel/ServerSession: Keep track of which threads have issued sync requests.Subv2017-06-251-1/+1
|
* Session: Remove/add some forward declarationsYuri Kunde Schlesner2017-06-081-0/+1
|
* Kernel: Ensure objects are kept alive during ClientSession disconnectionYuri Kunde Schlesner2017-06-081-7/+13
| | | | Fixes #2760
* HLE: Move SessionRequestHandler from Service:: to Kernel::Yuri Kunde Schlesner2017-06-061-0/+2
| | | | | Most of the code that works with this is or will be in the kernel, so it's a more appropriate place for it to be.
* Kernel: Centralize error definitions in errors.hYuri Kunde Schlesner2017-05-251-2/+1
|
* Kernel/Sessions: Remove the ClientSession::Create function.Subv2017-05-221-8/+0
| | | | It is not meant to be used by anything other than CreateSessionPair.
* Kernel: Remove a now unused enum and variable regarding a session's status.Subv2017-05-151-1/+0
|
* Kernel: Use a Session object to keep track of the status of a Client/Server session pair.Subv2017-05-151-9/+15
| | | | Reduce the associated port's connection count when a ServerSession is destroyed.
* Fixed the codestyle to match our clang-format rules.Subv2016-12-141-3/+6
|
* Added a framework for partially handling Session disconnections.Subv2016-12-081-3/+12
| | | | | | Further implementation will happen in a future commit. Fixes a regression.
* Use std::move where appropriate.Subv2016-12-081-1/+1
|
* KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it.Subv2016-12-051-1/+1
|
* Declare empty ServerSession and ClientSession constructors as default.Subv2016-12-031-2/+2
|
* Fixed the rebase mistakes.Subv2016-12-011-3/+0
|
* A bit of a redesign.Subv2016-12-011-14/+2
| | | | | | | Sessions and Ports are now detached from each other. HLE services are handled by means of a SessionRequestHandler class, Interface now inherits from this class. The File and Directory classes are no longer kernel objects, but SessionRequestHandlers instead, bound to a ServerSession when requested. File::OpenLinkFile now creates a new session pair and binds the File instance to it.
* IPC/HLE: Associate the ClientSessions with their parent port's HLE interface if it exists.Subv2016-12-011-4/+5
| | | | Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request.
* Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.Subv2016-12-011-0/+42
All handles obtained via srv::GetServiceHandle or svcConnectToPort are references to ClientSessions. Service modules will wait on the counterpart of those ClientSessions (Called ServerSessions) using svcReplyAndReceive or svcWaitSynchronization[1|N], and will be awoken when a SyncRequest is performed. HLE Interfaces are now ClientPorts which override the HandleSyncRequest virtual member function to perform command handling immediately.