aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/svc.cpp
AgeCommit message (Collapse)Author
2014-09-11Merge pull request #99 from archshift/ext-checkbunnei
loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace
2014-09-08core: Prune redundant includesarchshift
2014-09-08Added string_util to common, small changes in loader.cpparchshift
2014-08-18Merge pull request #55 from lioncash/stringbunnei
Core: Alter the kernel string functions to use std::string instead of const char*.
2014-08-18SVC: Added support for svc_GetSystemTick.bunnei
Changed HLE function return methods to be static inline functions.
2014-08-17Core: Alter the kernel string functions to use std::string instead of const ↵Lioncash
char*. Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
2014-08-17Core: Fix a formatting error in svc.cppLioncash
entry_point would not be added to the string. Also used StringFromFormat so that the buffer is unnecessary.
2014-08-07SVC: Fixed typo with MapMemoryBlock DEBUG_LOG call.bunnei
2014-08-05SVC: Removed ArbitrateAddress log message that spams to much.bunnei
2014-07-08Kernel: Added preliminary support for address arbiters.bunnei
AddressArbiter: Added documentation comment, fixed whitespace issue. AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear. SVC: Removed trailing whitespace.
2014-07-05SharedMemory: Updated MapSharedMemory to use an enum for permissions.bunnei
- Also added some safety checks to MapSharedMemory.
2014-07-05GSP: Fixed to use real shared memory object, various cleanups.bunnei
- 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.
2014-06-13SVC: Renamed all function wrapper templates to Wrap, moved to HLE namespace.bunnei
2014-06-13SVC: Cleaned up function wrappers to pass in correct argument types.bunnei
2014-06-13SVC: Moved declaration of "wait" variable in SendSyncRequest for improved ↵bunnei
readability.
2014-06-13HLE: Updated all uses of NULL to nullptr (to be C++11 compliant)bunnei
2014-06-13HLE: Updated various handle debug assertions to be more clear.bunnei
2014-06-13Kernel: Added real support for thread and event blockingbunnei
- 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.
2014-06-02svc: updated WaitSynchronizationN to properly use first pointer argumentbunnei
2014-06-01svc: changed DuplicateHandle log message from "error" to "debug"bunnei
2014-06-01svc: added GetThreadPriority and SetThreadPriority, added (incomplete) ↵bunnei
DuplicateHandle support
2014-06-01kernel: changed main thread priority to default, updated Kernel::Reschedule ↵bunnei
to use PrepareReschedule
2014-06-01svc: cleaned up function_wrappers, updated various SVCs to make use of ↵bunnei
pointer arguments
2014-06-01svc: updated waitSychronization to not overwrite handle on return, added ↵bunnei
stub for SleepThread (does nothing)
2014-05-29hle: cleaned up log messagesbunnei
2014-05-29svc: updated OutputDebugString to use OS_LOGbunnei
2014-05-29svc: changed unimplemented SVC log messages from "debug" messages to "error" ↵bunnei
messages
2014-05-29svc: added svcClearEvent, stubbed function for svcArbitrateAddress, and ↵bunnei
various fixes - force kernel reschedule after svcWaitSynchronization - fixed some bugs with passing in pointer arguments - cleaned up some comments and log messages
2014-05-27svc: implemented WaitSynchronization1, WaitSynchronizationN, and CreateEventbunnei
2014-05-26kernel: updated SyncRequest to take boolean thread wait result as a parameterbunnei
2014-05-26svc: added some assertionsbunnei
2014-05-26svc: changed SendSyncRequest to use Kernel::Object SyncRequest (instead of ↵bunnei
just service Interface class)
2014-05-26svc: added stub for DuplicateHandle SVC callbunnei
2014-05-22svc: added a check to ensure that a service was implemented before ↵bunnei
attempting to connect to its port
2014-05-22thread: renamed "WaitCurThread" to "WaitCurrentThread", removed unused ↵bunnei
"reason" argument
2014-05-22thread: removed unused SwitchContext/Reschedule reason field, added missing ↵bunnei
arg parameter to SVC CreateThread
2014-05-21svc: added Kernel::Reschedule to svc WaitSynchronization1, updated log ↵bunnei
messages to include newly created handles
2014-05-20svc: enabled use of newly created kernel thread handlebunnei
2014-05-20mutex: refactored the interface to code to return a Mutex* handlebunnei
2014-05-20mutex: initial commit of HLE modulebunnei
2014-05-20svc: added some commentsbunnei
2014-05-20thread: moved threading calls to the Kernel namespacebunnei
2014-05-20renamed "syscall" module to "svc" (more accurate naming)bunnei