aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/svc.cpp
AgeCommit message (Collapse)Author
2015-02-02SVC: Enable CloseHandle, clean up DuplicateHandleYuri Kunde Schlesner
2015-02-02Thread: Modernize two functions that slipped through previous rebasesYuri Kunde Schlesner
2015-02-02Make Port/Service registration and querying more HW-accurateYuri Kunde Schlesner
2015-01-30SVC: Use CASCADE_RESULT in SVC handlersYuri Kunde Schlesner
2015-01-30Remove result.h InvalidHandleYuri Kunde Schlesner
It was only being used in two places, where it was replaced by a local constant.
2015-01-30SVC: Change return type of handlers to ResultCodeYuri Kunde Schlesner
2015-01-30Kernel: Convert Event to not use HandlesYuri Kunde Schlesner
2015-01-30Kernel: Convert Timer to (mostly) not use HandlesYuri Kunde Schlesner
2015-01-30Kernel: Convert Mutex to not use HandlesYuri Kunde Schlesner
2015-01-30Kernel: Convert AddressArbiter to not use HandlesYuri Kunde Schlesner
2015-01-30Kernel: Convert Semaphore to not use HandlesYuri Kunde Schlesner
2015-01-30Kernel: Convert SharedMemory to not use HandlesYuri Kunde Schlesner
2015-01-28Merge pull request #412 from purpasmart96/svc_table_cleanupbunnei
SVC: Update the SVC function table
2015-01-26SVC: Update the SVC function tablepurpasmart96
2015-01-21WaitSynchronization: Added a result code for invalid result, fixed bug.bunnei
2015-01-21Thread: Fix WaitSynchronization1 to not set register 1 on thread wakeup.bunnei
2015-01-21Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.bunnei
2015-01-21WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" ↵bunnei
pure virtual.
2015-01-21Kernel: Reschedule on SignalEvent and SendSyncRequest, fix some bugs.bunnei
2015-01-21Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a ↵bunnei
WaitObject safely.
2015-01-21SVC: Removed a Sleep that made no sensebunnei
- Would deadlock the calling thread - Code would never get hit anyways
2015-01-21AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that ↵bunnei
made no sense.
2015-01-21Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.bunnei
2015-01-21WaitSynchronizationN: Improved commentsbunnei
2015-01-21WaitSynchronizationN: Refactor to fix several bugsbunnei
- 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
2015-01-21Kernel: Separate WaitSynchronization into Wait and Acquire methods.bunnei
2015-01-21WaitSynchronizationN: Handle case where handles=nullptr.bunnei
2015-01-21WaitSynchronizationN: Handle case where handle_count is invalid.bunnei
2015-01-21WaitSynchronizationN: Handle case where handle_count=0.bunnei
2015-01-21WaitSynchronizationN: Implement return valuesbunnei
2015-01-13AddrArbiter: Implement arbitration types 3 and 4.Subv
2015-01-11SVC: Wake up the thread after the delay in WaitSync1Subv
2015-01-10Logging: Log all called service functions (under trace). Compile out all ↵archshift
trace logs under release for performance.
2015-01-09Kernel: Start using boost::intrusive_ptr for lifetime managementYuri Kunde Schlesner
2015-01-09Merge pull request #444 from yuriks/handle-reform2bunnei
Kernel Lifetime Reform Pt. 2
2015-01-09Merge pull request #436 from kevinhartman/system-corebunnei
Warn if a new thread is intended to be run on the system CPU core
2015-01-09Thread: Reduce use of Handles and move some funcs to inside the class.Yuri Kunde Schlesner
2015-01-09Move ThreadContext to core/core.h and deal with the falloutYuri Kunde Schlesner
2015-01-08Merge pull request #255 from Subv/cbranch_3bunnei
Implemented timers
2015-01-08SVC: Implemented the Timer service calls.Subv
2015-01-08SVC: Fixed SleepThread.Subv
It will now properly wait the specified number of nanoseconds and then wake up the thread.
2015-01-07Warn if a new thread is intended to be run on the system CPU core until we ↵Kevin Hartman
implement correct scheduling for such a thread.
2014-12-31SOC_U: Preliminary implementation of sockets.Subv
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
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-21Merge pull request #291 from purpasmart96/licensebunnei
License change
2014-12-20License changepurpasmart96
2014-12-20Thread: Wait current thread on svc_SleepThreadbunnei
- Removed unused VBLANK sleep mode - Added error log for bad context switch - Renamed VerifyWait to CheckWaitType to be more clear
2014-12-17Merge pull request #185 from purpasmart96/mem_permbunnei
Kernel: Add missing permissions
2014-12-15Remove SyncRequest from K::Object and create a new K::Session typeYuri Kunde Schlesner
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.)