aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/service.cpp
AgeCommit message (Collapse)Author
2015-01-09Kernel: Start using boost::intrusive_ptr for lifetime managementYuri Kunde Schlesner
2015-01-07Fix double-free in Service manager during shutdownYuri Kunde Schlesner
Fixes #423.
2015-01-03Stub the y2r:u servicearchshift
2014-12-28Kernel: New handle managerYuri Kunde Schlesner
This handle manager more closely mirrors the behaviour of the CTR-OS one. In addition object ref-counts and support for DuplicateHandle have been added. Note that support for DuplicateHandle is still experimental, since parts of the kernel still use Handles internally, which will likely cause troubles if two different handles to the same object are used to e.g. wait on a synchronization primitive.
2014-12-28Rename ObjectPool to HandleTableYuri Kunde Schlesner
2014-12-25More services & small clean upspurpasmart96
2014-12-21CFG: Create a new subfolder cfg inside service to handle cfgSubv
Moved most of the shared CFG code there, implemented a few CFG:I functions
2014-12-20License changepurpasmart96
2014-12-15Merge pull request #283 from yuriks/archive-refactorbunnei
Archive refactor
2014-12-16HLE: Rename namespaces to match move & fix initialization orderYuri Kunde Schlesner
2014-12-16HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner
2014-12-15Added stub for nim:aoc service...archshift
2014-12-15Added stub for cecd:u service...archshift
I couldn't find any information about this service...
2014-12-15Added stub for ldr:ro service...archshift
2014-12-15Added am:app service stub.archshift
Apparently nothing at all is known about this service...
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-11-24HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner
All service calls in the CTR OS return result codes indicating the success or failure of the call. Previous to this commit, Citra's HLE emulation of services and the kernel universally either ignored errors or returned dummy -1 error codes. This commit makes an initial effort to provide an infrastructure for error reporting and propagation which can be use going forward to make HLE calls accurately return errors as the original system. A few parts of the code have been updated to use the new system where applicable. One part of this effort is the definition of the `ResultCode` type, which provides facilities for constructing and parsing error codes in the structured format used by the CTR. The `ResultVal` type builds on `ResultCode` by providing a container for values returned by function that can report errors. It enforces that correct error checking will be done on function returns by preventing the use of the return value if the function returned an error code. Currently this change is mostly internal since errors are still suppressed on the ARM<->HLE border, as a temporary compatibility hack. As functionality is implemented and tested this hack can be eventually removed.
2014-11-20Add more services and some fixes, along with more "override"purpasmart96
in the service's headers
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Emmanuel Gil Peyrot
or generated
2014-11-17Add missing boss:U service, needed according to Nintendo Zone logs.archshift
2014-11-10Add FRD:U service and functionsarchshift
2014-11-01Added stub err:f service.archshift
2014-11-01Added a bunch of servicespurpasmart96
2014-10-29Renamed souce files of services to match port namesGareth Poole
2014-09-08core: Prune redundant includesarchshift
2014-09-06core: Pass string by reference in FetchFromPortName and DeleteServiceLioncash
2014-06-27FS: Added stubbed code to intercept and decode file system service functions.bunnei
FS: Added to CMakeLists.txt
2014-06-13HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)bunnei
2014-05-30service: removed PT_A from, as this was just an alias for APT_Ubunnei
2014-05-29hle: cleaned up log messagesbunnei
2014-05-20- created a Kernel namespacebunnei
- cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues) - added handle types for all different CTROS handles
2014-05-18- updated service(s) to be KernelObject'sbunnei
- various cleanups
2014-05-18renamed "UID" to "Handle" where appropriatebunnei
2014-04-16added class stub for HID:User servicebunnei
2014-04-16- added stubbed out GSP::Gpu service interfacebunnei
- various cleanups/refactors to HLE services
2014-04-15fixed naming for APT_Ubunnei
2014-04-15- extracted srv: calls from service.cpp and put in its own modulebunnei
- added function tables for service calls - lots of refactoring
2014-04-13added a stub for GetLockHandlebunnei
2014-04-13added framework for APT service (application and title launching service)bunnei
2014-04-13renamed class Interface_SRV to SRVbunnei
2014-04-13added some very initial command parsing for SRV Syncbunnei
2014-04-12cleanups to service HLEbunnei
2014-04-12- added HLE to connect to "srv:" servicebunnei
- added a manager for keeping track of services/ports - added a memory mapped region for memory accessed by HLE - added HLE for GetThreadCommandBuffer function