aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/svc.cpp
Commit message (Collapse)AuthorAge
...
* | WaitSynchronizationN: Improved commentsGravatar bunnei2015-01-21
| |
* | WaitSynchronizationN: Refactor to fix several bugsGravatar bunnei2015-01-21
| | | | | | | | | | | | - Separate wait checking from waiting the current thread - Resume thread when wait_all=true only if all objects are available at once - Set output to correct wait object index when there are duplicate handles
* | Kernel: Separate WaitSynchronization into Wait and Acquire methods.Gravatar bunnei2015-01-21
| |
* | WaitSynchronizationN: Handle case where handles=nullptr.Gravatar bunnei2015-01-21
| |
* | WaitSynchronizationN: Handle case where handle_count is invalid.Gravatar bunnei2015-01-21
| |
* | WaitSynchronizationN: Handle case where handle_count=0.Gravatar bunnei2015-01-21
| |
* | WaitSynchronizationN: Implement return valuesGravatar bunnei2015-01-21
| |
* | AddrArbiter: Implement arbitration types 3 and 4.Gravatar Subv2015-01-13
|/
* SVC: Wake up the thread after the delay in WaitSync1Gravatar Subv2015-01-11
|
* Logging: Log all called service functions (under trace). Compile out all ↵Gravatar archshift2015-01-10
| | | | trace logs under release for performance.
* Kernel: Start using boost::intrusive_ptr for lifetime managementGravatar Yuri Kunde Schlesner2015-01-09
|
* Merge pull request #444 from yuriks/handle-reform2Gravatar bunnei2015-01-09
|\ | | | | Kernel Lifetime Reform Pt. 2
* \ Merge pull request #436 from kevinhartman/system-coreGravatar bunnei2015-01-09
|\ \ | | | | | | Warn if a new thread is intended to be run on the system CPU core
| | * Thread: Reduce use of Handles and move some funcs to inside the class.Gravatar Yuri Kunde Schlesner2015-01-09
| | |
| | * Move ThreadContext to core/core.h and deal with the falloutGravatar Yuri Kunde Schlesner2015-01-09
| |/ |/|
* | Merge pull request #255 from Subv/cbranch_3Gravatar bunnei2015-01-08
|\ \ | | | | | | Implemented timers
| * | SVC: Implemented the Timer service calls.Gravatar Subv2015-01-08
| | |
* | | SVC: Fixed SleepThread.Gravatar Subv2015-01-08
|/ / | | | | | | It will now properly wait the specified number of nanoseconds and then wake up the thread.
| * Warn if a new thread is intended to be run on the system CPU core until we ↵Gravatar Kevin Hartman2015-01-07
|/ | | | implement correct scheduling for such a thread.
* SOC_U: Preliminary implementation of sockets.Gravatar Subv2014-12-31
| | | | | | | | | | | | | Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU
* 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
|
* Merge pull request #291 from purpasmart96/licenseGravatar bunnei2014-12-21
|\ | | | | License change
| * License changeGravatar purpasmart962014-12-20
| |
* | Thread: Wait current thread on svc_SleepThreadGravatar bunnei2014-12-20
|/ | | | | | - Removed unused VBLANK sleep mode - Added error log for bad context switch - Renamed VerifyWait to CheckWaitType to be more clear
* Merge pull request #185 from purpasmart96/mem_permGravatar bunnei2014-12-17
|\ | | | | Kernel: Add missing permissions
* | 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.)
* | Kernel/Semaphores: Fixed buildGravatar Subv2014-12-13
| |
* | SVC: Implemented ReleaseSemaphore.Gravatar Subv2014-12-13
| | | | | | | | This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
* | SVC: Implemented svcCreateSemaphoreGravatar Subv2014-12-13
| | | | | | | | | | ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed
* | Convert old logging calls to new logging macrosGravatar Yuri Kunde Schlesner2014-12-13
| |
* | MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP.Gravatar bunnei2014-12-12
| | | | | | | | - Linear simply indicates that the mapped physical address is always MappedVAddr+0x0C000000, thus this memory can be used for hardware devices' DMA (such as the GPU).
* | SVC: Implemented GetThreadId.Gravatar Subv2014-12-04
| | | | | | | | For now threads are using their Handle value as their Id, it should not really cause any problems because Handle values are unique in Citra, but it should be changed. I left a ToDo there because this is not correct behavior as per hardware.
* | SVC: Add debug log to ArbitrateAddress.Gravatar bunnei2014-11-26
| |
* | SVC: SleepThread should yield to the next ready thread.Gravatar bunnei2014-11-26
| |
* | 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
| * Kernel:Add missing permissions in shared memory & svcGravatar purpasmart962014-11-18
| |
* | core: Mark some hle functions as staticGravatar Lioncash2014-11-17
|/ | | | These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
* Fix some warningsGravatar Sean2014-10-29
|
* Merge pull request #99 from archshift/ext-checkGravatar bunnei2014-09-11
|\ | | | | loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
* | core: Prune redundant includesGravatar archshift2014-09-08
| |
| * Added string_util to common, small changes in loader.cppGravatar archshift2014-09-08
|/
* Merge pull request #55 from lioncash/stringGravatar bunnei2014-08-18
|\ | | | | Core: Alter the kernel string functions to use std::string instead of const char*.
* | SVC: Added support for svc_GetSystemTick.Gravatar bunnei2014-08-18
| | | | | | | | Changed HLE function return methods to be static inline functions.
| * 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.
* Core: Fix a formatting error in svc.cppGravatar Lioncash2014-08-17
| | | | | entry_point would not be added to the string. Also used StringFromFormat so that the buffer is unnecessary.
* SVC: Fixed typo with MapMemoryBlock DEBUG_LOG call.Gravatar bunnei2014-08-07
|
* SVC: Removed ArbitrateAddress log message that spams to much.Gravatar bunnei2014-08-05
|
* Kernel: Added preliminary support for address arbiters.Gravatar bunnei2014-07-08
| | | | | | | | AddressArbiter: Added documentation comment, fixed whitespace issue. AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear. SVC: Removed trailing whitespace.