Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-01-21 | Format: Run the new clang format on everything | James Rowe | 1 | -1/+1 | |
2017-12-29 | kernel: Add SyncObject primitive, use it for ClientSession. | bunnei | 1 | -8/+3 | |
2017-06-29 | Kernel/SVC: Pass the current thread as a parameter to ClientSession::SendSyncRequest. | Subv | 1 | -1/+3 | |
2017-05-30 | Kernel: Move HandleTable to a separate file | Yuri Kunde Schlesner | 1 | -2/+1 | |
2017-05-22 | Kernel/Sessions: Remove the ClientSession::Create function. | Subv | 1 | -7/+0 | |
It is not meant to be used by anything other than CreateSessionPair. | |||||
2017-05-15 | Kernel: Remove a now unused enum and variable regarding a session's status. | Subv | 1 | -7/+0 | |
2017-05-15 | Kernel: Use a Session object to keep track of the status of a Client/Server session pair. | Subv | 1 | -5/+6 | |
Reduce the associated port's connection count when a ServerSession is destroyed. | |||||
2016-12-14 | Fixed the codestyle to match our clang-format rules. | Subv | 1 | -5/+6 | |
2016-12-08 | Added a framework for partially handling Session disconnections. | Subv | 1 | -2/+9 | |
Further implementation will happen in a future commit. Fixes a regression. | |||||
2016-12-05 | KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it. | Subv | 1 | -9/+12 | |
2016-12-01 | Fixed the rebase mistakes. | Subv | 1 | -8/+9 | |
2016-12-01 | A bit of a redesign. | Subv | 1 | -4/+1 | |
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. | |||||
2016-12-01 | IPC/HLE: Associate the ClientSessions with their parent port's HLE interface if it exists. | Subv | 1 | -0/+6 | |
Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request. | |||||
2016-12-01 | Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. | Subv | 1 | -0/+50 | |
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. |