aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2016-12-08service: Drop '_Interface' in ptm service class namesLioncash
Inheriting from Service::Interface makes this obvious.
2016-12-08service: Add ptm::gets and ptm::sets servicesLioncash
2016-12-08service: Add mvd and qtm servicesLioncash
Adds the two New3DS-only modules. 3dbrew was used for command information.
2016-12-08Merge pull request #2284 from lioncash/svcYuri Kunde Schlesner
service: Add nfc services
2016-12-08Merge pull request #2277 from lioncash/explicitYuri Kunde Schlesner
file_sys: Make a few single-argument constructors explicit
2016-12-08service: Add nfc servicesLioncash
3dbrew was used for the command information.
2016-12-07Merge pull request #2283 from lioncash/svcYuri Kunde Schlesner
service: Update function tables
2016-12-07Merge pull request #2281 from lioncash/appletYuri Kunde Schlesner
applet: minor interface changes
2016-12-08ssl_c: Update function tableLioncash
Updated based off information from 3dbrew
2016-12-08ptm: Update ptm_sysm function tableLioncash
Updated based off information from 3dbrew.
2016-12-08pm_app: Update function tableLioncash
Updated based off information from 3dbrew.
2016-12-08nwm_uds: Update function tableLioncash
Updated based off information from 3dbrew.
2016-12-08nim: Update function tablesLioncash
Updated based off information from 3dbrew.
2016-12-08http_c: Update function tableLioncash
Updated based off information from 3dbrew.
2016-12-08gsp_lcd: Update function tableLioncash
Updated based off information from 3dbrew.
2016-12-08fs_user: Update function tableLioncash
Updated based off information from 3dbrew.
2016-12-08dlp_srvr: Update function tableLioncash
2016-12-08cfg: Update function tablesLioncash
Updated based off information from 3dbrew
2016-12-08cecd_u: Update function tableLioncash
Updated based off information from 3dbrew.
2016-12-08boss_p: Update function tableLioncash
2016-12-08act: Update function tablesLioncash
Updated based off information from 3dbrew.
2016-12-07apt: Update apt function tablesLioncash
Updated based off information from 3dbrew.
2016-12-07Update AM service function tablesLioncash
Updated based off information from 3dbrew.
2016-12-07file_sys: Make a few single-argument constructors explicitLioncash
Prevents implicit conversions.
2016-12-07applet: Move common IsRunning underlying variable to the Applet classLioncash
Gets rid of basic duplication.
2016-12-07applet: Make virtual destructor defaultedLioncash
2016-12-07applet: Make constructor protectedLioncash
Considering the class is abstract, there's no need to make the constructor public.
2016-12-07Config: auto-select region and languagewwylele
2016-12-07Merge pull request #2232 from wwylele/other-savebunnei
FS: implement archives for other game save data
2016-12-06Use boost remove_erase_if instead of the erase-remove idiomSubv
2016-12-06Improved the algorithm for GetHighestPriorityReadyThread.Subv
2016-12-06Implement Frame rate limiter (#2223)emmauss
* implement frame limiter * fixes
2016-12-05Return an error code when connecting to a saturated port.Subv
The error code was taken from the 3DS kernel.
2016-12-05HLE: Use a member variable instead of a virtual function to retrieve the max ↵Subv
number of sessions that can be connected to an HLE service at the same time.
2016-12-05gdbstub: Remove unused includeJannik Vogel
2016-12-05Support mingw cross-compileJannik Vogel
2016-12-05Split SessionRequestHandler::HandleSyncRequest into HandleSyncRequest, ↵Subv
TranslateRequest and HandleSyncRequestImpl. HandleSyncRequest now takes care of calling the command buffer translate function before actually invoking the command handler for HLE services.
2016-12-05Kernel: Remove the Redirection handle type.Subv
2016-12-05KServerPorts now have an HLE handler "template", which is inherited by all ↵Subv
ServerSessions created from it.
2016-12-04Threading: Added some utility functions and const correctness.Subv
2016-12-04GSP: Downgrade log severity of SetAxiConfigQoSModeYuri Kunde Schlesner
This function doesn't need to do anything for HLE and some games call it quite often, spamming up the logs.
2016-12-03Threading: Reworked the way our scheduler works.Subv
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.
2016-12-02Declare empty ServerSession and ClientSession constructors as default.Subv
2016-12-01Threads do not wait for the server endpoint to call AcceptSession before ↵Subv
returning from a ConnectToPort or GetServiceHandle call.
2016-11-30Fixed the rebase mistakes.Subv
2016-11-30A bit of a redesign.Subv
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.
2016-11-30IPC/HLE: Associate the ClientSessions with their parent port's HLE interface ↵Subv
if it exists. Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request.
2016-11-30Kernel/HLE: Service::Interface no longer inherits from any Kernel object, ↵Subv
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.
2016-11-30fixup! Kernel/IPC: Use Ports and Sessions as the fundamental building block ↵Subv
of Inter Process Communication.
2016-11-30 Kernel/IPC: Use Ports and Sessions as the fundamental building block of ↵Subv
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.