summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/client_port.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Move object class to its own source filesLioncash2018-08-021-1/+1
| | | | | | General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code.
* Format: Run the new clang format on everythingJames Rowe2018-01-211-1/+1
|
* Kernel: Move HandleTable to a separate fileYuri Kunde Schlesner2017-05-301-0/+1
|
* Fixed the codestyle to match our clang-format rules.Subv2016-12-141-2/+3
|
* Return an error code when connecting to a saturated port.Subv2016-12-051-2/+2
| | | | The error code was taken from the 3DS kernel.
* KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it.Subv2016-12-051-4/+6
|
* Fixed the rebase mistakes.Subv2016-12-011-17/+15
|
* A bit of a redesign.Subv2016-12-011-11/+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.
* IPC/HLE: Associate the ClientSessions with their parent port's HLE interface if it exists.Subv2016-12-011-9/+3
| | | | Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request.
* Kernel/HLE: Service::Interface no longer inherits from any Kernel object, and is now its own standalone class.Subv2016-12-011-8/+21
| | | | Interface is now used by aggregation in ClientPort, to forward service commands to their HLE implementation if needed.
* Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.Subv2016-12-011-6/+17
| | | | | | | 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.
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-2/+0
| | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
* Sources: Run clang-format on everything.Emmanuel Gil Peyrot2016-09-181-8/+14
|
* Kernel/SVC: Implemented svcCreatePort.Subv2016-06-111-0/+2
|
* Kernel: Added ClientPort and ServerPort classes.Subv2016-06-051-0/+34
This is part of an ongoing effort to implement support for multiple processes.