summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/service.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename ObjectPool to HandleTableYuri Kunde Schlesner2014-12-281-2/+2
|
* License changepurpasmart962014-12-211-1/+1
|
* Remove SyncRequest from K::Object and create a new K::Session typeYuri Kunde Schlesner2014-12-151-18/+8
| | | | | | | 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 macrosYuri Kunde Schlesner2014-12-131-7/+1
|
* Log the cmd_buff arguments when citra comes across an unimplemented functionarchshift2014-11-251-12/+12
|
* Remove duplicated docs/update them for changed parameters.Yuri Kunde Schlesner2014-11-241-10/+0
|
* HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner2014-11-241-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 or generatedEmmanuel Gil Peyrot2014-11-191-7/+7
|
* Add `override` keyword through the code.Yuri Kunde Schlesner2014-10-261-5/+5
| | | | This was automated using `clang-modernize`.
* core: Pass string by reference in FetchFromPortName and DeleteServiceLioncash2014-09-061-2/+2
|
* Core: Alter the kernel string functions to use std::string instead of const char*.Lioncash2014-08-181-5/+5
| | | | 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/citrabunnei2014-06-141-10/+30
|\ | | | | | | | | | | 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)bunnei2014-06-131-1/+1
| |
| * Kernel: Updated several member functions to be constbunnei2014-06-131-2/+2
| |
| * service: added a error log messages for unimplemented WaitSynchronizationbunnei2014-06-051-0/+1
| |
| * service: cleaned up log messagesbunnei2014-05-301-2/+2
| |
| * service: added additional hack to return success on unimplemented service callsbunnei2014-05-301-2/+10
| |
| * service: changed interface to return 0 (no error) when a service method is unimplemented - hack to make apps boot furtherbunnei2014-05-291-2/+2
| |
| * kernel: added WaitSynchronization method to Kernel::Objectbunnei2014-05-271-0/+10
| |
| * kernel: updated SyncRequest to take boolean thread wait result as a parameterbunnei2014-05-271-3/+4
| |
| * service: Renamed Sync to SyncRequestbunnei2014-05-271-1/+1
| |
* | service: fixed typo that MSVC did not catch as an errorbunnei2014-05-231-1/+1
|/
* service: removed redundant include of common_types.hbunnei2014-05-211-1/+0
|
* renamed "syscall" module to "svc" (more accurate naming)bunnei2014-05-211-1/+1
|
* - created a Kernel namespacebunnei2014-05-211-6/+6
| | | | | - cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues) - added handle types for all different CTROS handles
* - renamed NewHandle to CreateHandlebunnei2014-05-191-5/+7
| | | | - updated CreateHandle/DeleteHandle to use KernelObject's
* - updated service(s) to be KernelObject'sbunnei2014-05-191-36/+15
| | | | - various cleanups
* renamed "UID" to "Handle" where appropriatebunnei2014-05-191-12/+10
|
* - moved Handle/Result definitions to kernel.hbunnei2014-05-191-5/+7
| | | | - added ResetType enum
* - removed HLE mem "hack" and replaced with kernel mem regionbunnei2014-05-081-1/+11
| | | | | - 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 spacingbunnei2014-04-281-1/+1
|
* - refactored how service functions are calledbunnei2014-04-251-8/+32
| | | | - added option to create/delete service handles
* - added stubbed out GSP::Gpu service interfacebunnei2014-04-161-4/+6
| | | | - various cleanups/refactors to HLE services
* restructured hle:services completely to use function lookup tablesbunnei2014-04-161-2/+26
|
* - extracted srv: calls from service.cpp and put in its own modulebunnei2014-04-161-8/+11
| | | | | - added function tables for service calls - lots of refactoring
* added framework for APT service (application and title launching service)bunnei2014-04-131-0/+1
|
* cleanups to service HLEbunnei2014-04-131-2/+2
|
* - added HLE to connect to "srv:" servicebunnei2014-04-131-2/+55
| | | | | | - 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 syscallbunnei2014-04-121-0/+60
- added service.h as an initial service interface