aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/service.h
Commit message (Collapse)AuthorAge
* Core: Cleanup file_sys includes.Gravatar Emmanuel Gil Peyrot2015-06-28
|
* Common: Cleanup key_map includes.Gravatar Emmanuel Gil Peyrot2015-06-28
|
* Common: Remove common.hGravatar Yuri Kunde Schlesner2015-05-07
|
* De-inline functions from Interface, removing them from service.hGravatar Yuri Kunde Schlesner2015-04-14
| | | | This reduces the time for a full recompile from 65.43s to 59.53s (~9%)
* Services: Moved the PTM and APT services to their own folderGravatar Subv2015-03-03
| | | | | | This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs. Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands.
* Service: Store function names as const char* instead of std::stringGravatar Yuri Kunde Schlesner2015-02-02
| | | | | Uses less memory (strings and function table is stored in constant data) and speeds up start up (no need to allocate and copy strings).
* Service: Clean-up InterfaceGravatar Yuri Kunde Schlesner2015-02-02
|
* Make Port/Service registration and querying more HW-accurateGravatar Yuri Kunde Schlesner2015-02-02
|
* Logging: Log all called service functions (under trace). Compile out all ↵Gravatar archshift2015-01-10
| | | | trace logs under release for performance.
* Fix double-free in Service manager during shutdownGravatar Yuri Kunde Schlesner2015-01-07
| | | | Fixes #423.
* Kernel: New handle managerGravatar Yuri Kunde Schlesner2014-12-28
| | | | | | | | | | | 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.
* Rename ObjectPool to HandleTableGravatar Yuri Kunde Schlesner2014-12-28
|
* License changeGravatar purpasmart962014-12-20
|
* Remove SyncRequest from K::Object and create a new K::Session typeGravatar Yuri Kunde Schlesner2014-12-15
| | | | | | | This is a first step at fixing the conceptual insanity that is our handling of service and IPC calls. For now, interfaces still directly derived from Session because we don't have the infrastructure to do it properly. (That is, Processes and scheduling them.)
* Convert old logging calls to new logging macrosGravatar Yuri Kunde Schlesner2014-12-13
|
* Log the cmd_buff arguments when citra comes across an unimplemented functionGravatar archshift2014-11-24
|
* Remove duplicated docs/update them for changed parameters.Gravatar Yuri Kunde Schlesner2014-11-24
|
* HLE: Revamp error handling throrough the HLE codeGravatar Yuri Kunde Schlesner2014-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Gravatar Emmanuel Gil Peyrot2014-11-19
| | | | or generated
* Add `override` keyword through the code.Gravatar Yuri Kunde Schlesner2014-10-26
| | | | This was automated using `clang-modernize`.
* core: Pass string by reference in FetchFromPortName and DeleteServiceGravatar Lioncash2014-09-06
|
* Core: Alter the kernel string functions to use std::string instead of const ↵Gravatar Lioncash2014-08-17
| | | | | | char*. Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
* Merge branch 'threading' of https://github.com/bunnei/citraGravatar bunnei2014-06-14
|\ | | | | | | | | | | Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp
| * HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)Gravatar bunnei2014-06-13
| |
| * Kernel: Updated several member functions to be constGravatar bunnei2014-06-13
| |
| * service: added a error log messages for unimplemented WaitSynchronizationGravatar bunnei2014-06-04
| |
| * service: cleaned up log messagesGravatar bunnei2014-05-30
| |
| * service: added additional hack to return success on unimplemented service callsGravatar bunnei2014-05-29
| |
| * service: changed interface to return 0 (no error) when a service method is ↵Gravatar bunnei2014-05-28
| | | | | | | | unimplemented - hack to make apps boot further
| * kernel: added WaitSynchronization method to Kernel::ObjectGravatar bunnei2014-05-26
| |
| * kernel: updated SyncRequest to take boolean thread wait result as a parameterGravatar bunnei2014-05-26
| |
| * service: Renamed Sync to SyncRequestGravatar bunnei2014-05-26
| |
* | service: fixed typo that MSVC did not catch as an errorGravatar bunnei2014-05-22
|/
* service: removed redundant include of common_types.hGravatar bunnei2014-05-20
|
* renamed "syscall" module to "svc" (more accurate naming)Gravatar bunnei2014-05-20
|
* - created a Kernel namespaceGravatar bunnei2014-05-20
| | | | | - cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues) - added handle types for all different CTROS handles
* - renamed NewHandle to CreateHandleGravatar bunnei2014-05-18
| | | | - updated CreateHandle/DeleteHandle to use KernelObject's
* - updated service(s) to be KernelObject'sGravatar bunnei2014-05-18
| | | | - various cleanups
* renamed "UID" to "Handle" where appropriateGravatar bunnei2014-05-18
|
* - moved Handle/Result definitions to kernel.hGravatar bunnei2014-05-18
| | | | - added ResetType enum
* - removed HLE mem "hack" and replaced with kernel mem regionGravatar bunnei2014-05-07
| | | | | - added a helper function for getting command buffer for services - fixed bug where GSP DMA was incorrectly being done in DataSynchronizationBarrier (instead of gsp_TriggerCmdReqQueue)
* fixed weird spacingGravatar bunnei2014-04-27
|
* - refactored how service functions are calledGravatar bunnei2014-04-24
| | | | - added option to create/delete service handles
* - added stubbed out GSP::Gpu service interfaceGravatar bunnei2014-04-16
| | | | - various cleanups/refactors to HLE services
* restructured hle:services completely to use function lookup tablesGravatar bunnei2014-04-15
|
* - extracted srv: calls from service.cpp and put in its own moduleGravatar bunnei2014-04-15
| | | | | - added function tables for service calls - lots of refactoring
* added framework for APT service (application and title launching service)Gravatar bunnei2014-04-13
|
* cleanups to service HLEGravatar bunnei2014-04-12
|
* - added HLE to connect to "srv:" serviceGravatar bunnei2014-04-12
| | | | | | - added a manager for keeping track of services/ports - added a memory mapped region for memory accessed by HLE - added HLE for GetThreadCommandBuffer function
* - renamed hle_syscall to just syscallGravatar bunnei2014-04-11
- added service.h as an initial service interface