Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter. | Subv | 2017-01-04 | 1 | -3/+3 |
| | | | | This will be useful when implementing mutex priority inheritance. | ||||
* | Fixed the codestyle to match our clang-format rules. | Subv | 2016-12-14 | 1 | -10/+15 |
| | |||||
* | Moved the HLE command buffer translation task to ServerSession instead of the HLE handler superclass. | Subv | 2016-12-09 | 1 | -2/+13 |
| | |||||
* | Added a framework for partially handling Session disconnections. | Subv | 2016-12-08 | 1 | -2/+8 |
| | | | | | | Further implementation will happen in a future commit. Fixes a regression. | ||||
* | Use std::move where appropriate. | Subv | 2016-12-08 | 1 | -3/+4 |
| | |||||
* | KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it. | Subv | 2016-12-05 | 1 | -3/+3 |
| | |||||
* | Declare empty ServerSession and ClientSession constructors as default. | Subv | 2016-12-03 | 1 | -2/+2 |
| | |||||
* | Fixed the rebase mistakes. | Subv | 2016-12-01 | 1 | -1/+0 |
| | |||||
* | A bit of a redesign. | Subv | 2016-12-01 | 1 | -13/+12 |
| | | | | | | | 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. | ||||
* | fixup! Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. | Subv | 2016-12-01 | 1 | -1/+1 |
| | |||||
* | Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. | Subv | 2016-12-01 | 1 | -0/+58 |
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. |