- Jan 05, 2017
-
-
Subv authored
Closes #1904
-
- Dec 22, 2016
- Dec 17, 2016
-
-
wwylele authored
-
- Dec 16, 2016
-
-
wwylele authored
-
- Dec 14, 2016
- Dec 10, 2016
-
-
Subv authored
-
- Dec 09, 2016
-
-
Subv authored
Moved the HLE command buffer translation task to ServerSession instead of the HLE handler superclass.
-
Subv authored
Define a variable with the value of the sync timeout error code. Use a boost::flat_map instead of an unordered_map to hold the equivalence of objects and wait indices in a WaitSynchN call.
-
- Dec 08, 2016
- Dec 07, 2016
- Dec 05, 2016
-
-
Subv authored
The error code was taken from the 3DS kernel.
-
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
-
Subv authored
KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it.
-
- Dec 04, 2016
-
-
Subv authored
-
Subv authored
Threads will now be awakened when the objects they're waiting on are signaled, instead of repeating the WaitSynchronization call every now and then. The scheduler is now called once after every SVC call, and once after a thread is awakened from sleep by its timeout callback. This new implementation is based off reverse-engineering of the real kernel. See https://gist.github.com/Subv/02f29bd9f1e5deb7aceea1e8f019c8f4 for a more detailed description of how the real kernel handles rescheduling.
-
- Dec 03, 2016
-
-
Subv authored
-
- Dec 01, 2016
-
-
Subv authored
-
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
fixup! Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.
-
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.
-
- Nov 20, 2016
-
-
Subv authored
3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849
-
- Nov 19, 2016
-
-
Subv authored
Related to #1904
-
- Oct 20, 2016
-
-
Ricardo de Almeida Gonzaga authored
-
- Sep 22, 2016
- 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 19, 2016
-
-
Yuri Kunde Schlesner authored
-
- Sep 18, 2016
-
-
Emmanuel Gil Peyrot authored
-
- Sep 15, 2016
-
-
bunnei authored
-
- Aug 02, 2016
-
-
Lectem authored
-