Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | kernel: Fix implementation of ConvertSessionToDomain. | bunnei | 2017-12-29 | 1 | -10/+0 |
| | |||||
* | hle: Implement ConvertSessionToDomain, various cleanups. | bunnei | 2017-10-15 | 1 | -0/+10 |
| | |||||
* | Kernel/ServerSession: Keep track of which threads have issued sync requests. | Subv | 2017-06-25 | 1 | -2/+12 |
| | |||||
* | Session: Remove/add some forward declarations | Yuri Kunde Schlesner | 2017-06-08 | 1 | -1/+1 |
| | |||||
* | Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSession | Yuri Kunde Schlesner | 2017-06-06 | 1 | -8/+12 |
| | | | | | | This allows attaching a HLE handle to a ServerPort at any point after it is created, allowing port/session creation to be generic between HLE and regular services. | ||||
* | HLE: Move SessionRequestHandler from Service:: to Kernel:: | Yuri Kunde Schlesner | 2017-06-06 | 1 | -5/+4 |
| | | | | | 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: Move HandleTable to a separate file | Yuri Kunde Schlesner | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | Kernel: Move WaitObject to a separate file | Yuri Kunde Schlesner | 2017-05-30 | 1 | -0/+1 |
| | | | | | Now that HandleTable doesn't directly depend on WaitObject anymore, this can be separated from the main kernel.h header. | ||||
* | Kernel: Use a Session object to keep track of the status of a Client/Server session pair. | Subv | 2017-05-15 | 1 | -3/+9 |
| | | | | Reduce the associated port's connection count when a ServerSession is destroyed. | ||||
* | Doxygen: Amend minor issues (#2593) | Mat M | 2017-02-27 | 1 | -1/+2 |
| | | | | | | | | | Corrects a few issues with regards to Doxygen documentation, for example: - Incorrect parameter referencing. - Missing @param tags. - Typos in @param tags. and a few minor other issues. | ||||
* | Core: Remove unnecessary include in thread.h | Yuri Kunde Schlesner | 2017-02-27 | 1 | -0/+1 |
| | |||||
* | Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter. | Subv | 2017-01-04 | 1 | -2/+2 |
| | | | | 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 | -0/+10 |
| | |||||
* | Use std::move where appropriate. | Subv | 2016-12-08 | 1 | -1/+3 |
| | |||||
* | KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it. | Subv | 2016-12-05 | 1 | -15/+15 |
| | |||||
* | Fixed the rebase mistakes. | Subv | 2016-12-01 | 1 | -3/+6 |
| | |||||
* | A bit of a redesign. | Subv | 2016-12-01 | 1 | -159/+8 |
| | | | | | | | 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/+225 |
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. |