- Oct 15, 2017
- Oct 13, 2017
- Oct 10, 2017
-
-
bunnei authored
-
- Sep 16, 2017
-
-
Subv authored
-
- Jun 19, 2017
-
-
Yuri Kunde Schlesner authored
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue.
-
- Jun 18, 2017
-
-
Yuri Kunde Schlesner authored
-
- Jun 11, 2017
-
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
Copy the IPC command buffer to/from the request context before/after the handler is invoked. This is part of a move away from using global data for handling IPC requests.
-
- Jun 09, 2017
-
-
Yuri Kunde Schlesner authored
-
- Jun 08, 2017
-
-
Yuri Kunde Schlesner authored
-
Yuri Kunde Schlesner authored
The old "Interface" class had a few problems such as using free functions (Which didn't allow you to write the service handler as if it were a regular class.) which weren't very extensible. (Only received one parameter with a pointer to the Interface object.) The new ServiceFramework aims to solve these problems by working with member functions and passing a generic context struct as parameter. This struct can be extended in the future without having to update all existing service implementations.
-
- Jun 06, 2017
-
-
Yuri Kunde Schlesner authored
This has a huge fallout in terms of needing to fix other files because all service implementations included that file.
-
Yuri Kunde Schlesner authored
Also enhances the GetServiceHandle implementation to be more accurate.
-
Yuri Kunde Schlesner authored
This will contain the implementation of the sm (Service Manager) system module.
-
Yuri Kunde Schlesner authored
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.
-
Yuri Kunde Schlesner authored
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.
-
- Dec 30, 2016
- Dec 22, 2016
-
-
mailwl authored
-
- Dec 14, 2016
- Dec 11, 2016
-
-
Lioncash authored
Previously there was a split where some of the services were in the Service namespace and others were not.
-
- Dec 09, 2016
- Dec 08, 2016
- Dec 05, 2016
-
-
Subv authored
Split SessionRequestHandler::HandleSyncRequest into HandleSyncRequest, TranslateRequest and HandleSyncRequestImpl. HandleSyncRequest now takes care of calling the command buffer translate function before actually invoking the command handler for HLE services.
-
Subv authored
KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it.
-
- Dec 01, 2016
-
-
Subv authored
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.
-
Subv authored
Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request.
-
Subv authored
Kernel/HLE: Service::Interface no longer inherits from any Kernel object, and is now its own standalone class. Interface is now used by aggregation in ClientPort, to forward service commands to their HLE implementation if needed.
-
Subv authored
Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. 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.
-
- Sep 21, 2016
-
-
Yuri Kunde Schlesner authored
-
Emmanuel Gil Peyrot authored
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
-
- Sep 18, 2016
-
-
Emmanuel Gil Peyrot authored
-