summaryrefslogtreecommitdiffstats
path: root/src/core/hle/svc.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #55 from lioncash/stringbunnei2014-08-191-5/+5
|\ | | | | Core: Alter the kernel string functions to use std::string instead of const char*.
| * 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.
* | SVC: Added support for svc_GetSystemTick.bunnei2014-08-191-1/+6
|/ | | | Changed HLE function return methods to be static inline functions.
* Core: Fix a formatting error in svc.cppLioncash2014-08-171-3/+2
| | | | | 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.bunnei2014-08-081-1/+1
|
* SVC: Removed ArbitrateAddress log message that spams to much.bunnei2014-08-061-2/+0
|
* Kernel: Added preliminary support for address arbiters.bunnei2014-07-091-8/+10
| | | | | | | | AddressArbiter: Added documentation comment, fixed whitespace issue. AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear. SVC: Removed trailing whitespace.
* SharedMemory: Updated MapSharedMemory to use an enum for permissions.bunnei2014-07-051-10/+9
| | | | - Also added some safety checks to MapSharedMemory.
* GSP: Fixed to use real shared memory object, various cleanups.bunnei2014-07-051-5/+6
| | | | | | | | - Previously, used a hard-coded shared memory handle of 0x10002000 (as used by libctru homebrew) GSP: Added name for shared memory. GSP: Cleaned up assertion message.
* SVC: Renamed all function wrapper templates to Wrap, moved to HLE namespace.bunnei2014-06-131-126/+126
|
* SVC: Cleaned up function wrappers to pass in correct argument types.bunnei2014-06-131-148/+138
|
* SVC: Moved declaration of "wait" variable in SendSyncRequest for improved readability.bunnei2014-06-131-1/+1
|
* HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)bunnei2014-06-131-107/+107
|
* HLE: Updated various handle debug assertions to be more clear.bunnei2014-06-131-6/+6
|
* Kernel: Added real support for thread and event blockingbunnei2014-06-131-28/+31
| | | | | | | | | | | | | - SVC: Added ExitThread support - SVC: Added SignalEvent support - Thread: Added WAITTYPE_EVENT for waiting threads for event signals - Thread: Added support for blocking on other threads to finish (e.g. Thread::Join) - Thread: Added debug function for printing current threads ready for execution - Thread: Removed hack/broken thread ready state code from Kernel::Reschedule - Mutex: Moved WaitCurrentThread from SVC to Mutex::WaitSynchronization - Event: Added support for blocking threads on event signalling Kernel: Added missing algorithm #include for use of std::find on non-Windows platforms.
* svc: updated WaitSynchronizationN to properly use first pointer argumentbunnei2014-06-021-3/+3
|
* svc: changed DuplicateHandle log message from "error" to "debug"bunnei2014-06-021-1/+1
|
* svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle supportbunnei2014-06-021-3/+26
|
* kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedulebunnei2014-06-021-2/+7
|
* svc: cleaned up function_wrappers, updated various SVCs to make use of pointer argumentsbunnei2014-06-021-16/+18
|
* svc: updated waitSychronization to not overwrite handle on return, added stub for SleepThread (does nothing)bunnei2014-06-011-2/+21
|
* hle: cleaned up log messagesbunnei2014-05-301-27/+28
|
* svc: updated OutputDebugString to use OS_LOGbunnei2014-05-301-1/+1
|
* svc: changed unimplemented SVC log messages from "debug" messages to "error" messagesbunnei2014-05-301-8/+8
|
* svc: added svcClearEvent, stubbed function for svcArbitrateAddress, and various fixesbunnei2014-05-301-22/+32
| | | | | | - force kernel reschedule after svcWaitSynchronization - fixed some bugs with passing in pointer arguments - cleaned up some comments and log messages
* svc: implemented WaitSynchronization1, WaitSynchronizationN, and CreateEventbunnei2014-05-281-14/+54
|
* kernel: updated SyncRequest to take boolean thread wait result as a parameterbunnei2014-05-271-2/+9
|
* svc: added some assertionsbunnei2014-05-271-6/+4
|
* svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of just service Interface class)bunnei2014-05-271-2/+2
|
* svc: added stub for DuplicateHandle SVC callbunnei2014-05-271-1/+8
|
* svc: added a check to ensure that a service was implemented before attempting to connect to its portbunnei2014-05-231-1/+5
|
* thread: renamed "WaitCurThread" to "WaitCurrentThread", removed unused "reason" argumentbunnei2014-05-231-2/+2
|
* thread: removed unused SwitchContext/Reschedule reason field, added missing arg parameter to SVC CreateThreadbunnei2014-05-231-8/+5
|
* svc: added Kernel::Reschedule to svc WaitSynchronization1, updated log messages to include newly created handlesbunnei2014-05-221-4/+7
|
* svc: enabled use of newly created kernel thread handlebunnei2014-05-211-5/+5
|
* mutex: refactored the interface to code to return a Mutex* handlebunnei2014-05-211-1/+1
|
* mutex: initial commit of HLE modulebunnei2014-05-211-4/+5
|
* svc: added some commentsbunnei2014-05-211-0/+7
|
* thread: moved threading calls to the Kernel namespacebunnei2014-05-211-2/+2
|
* renamed "syscall" module to "svc" (more accurate naming)bunnei2014-05-211-0/+350