summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-02-02Kernel: Make WaitObjects share ownership of Threads waiting on themYuri Kunde Schlesner
During normal operation, a thread waiting on an WaitObject and the object hold mutual references to each other for the duration of the wait. If a process is forcefully terminated (The CTR kernel has a SVC to do this, TerminateProcess, though no equivalent exists for threads.) its threads would also be stopped and destroyed, leaving dangling pointers in the WaitObjects. The solution is to simply have the Thread remove itself from WaitObjects when it is stopped. The vector of Threads in WaitObject has also been changed to hold SharedPtrs, just in case. (Better to have a reference cycle than a crash.)
2015-02-02Explicitly instantiate constructors/destructors for Kernel objectsYuri Kunde Schlesner
This should speed up compile times a bit, as well as enable more liberal use of forward declarations. (Due to SharedPtr not trying to emit the destructor anymore.)
2015-02-02Mutex: Replace g_mutex_held_locks with a set inside ThreadYuri Kunde Schlesner
2015-02-02HID: Fix crash when pressing a key when the emulator is stoppedYuri Kunde Schlesner
2015-02-02SVC: Enable CloseHandle, clean up DuplicateHandleYuri Kunde Schlesner
2015-02-02Kernel: Fix bug in HandleTable::CloseYuri Kunde Schlesner
2015-02-02Kernel: Remove Object::GetHandle (it's not used anymore :D)Yuri Kunde Schlesner
2015-02-02Kernel: Introduce unique Object ids for debuggingYuri Kunde Schlesner
2015-02-02Kernel: Use separate Handle tables for CoreTiming userdataYuri Kunde Schlesner
This is to support the removal of GetHandle soon
2015-02-02Kernel: Remove previous scheduled event when a Timer is re-SetYuri Kunde Schlesner
2015-02-02FS: Remove use of GetHandleYuri Kunde Schlesner
2015-02-02Thread: Modernize two functions that slipped through previous rebasesYuri Kunde Schlesner
2015-02-02Service: Store function names as const char* instead of std::stringYuri Kunde Schlesner
Uses less memory (strings and function table is stored in constant data) and speeds up start up (no need to allocate and copy strings).
2015-02-02Service: Clean-up InterfaceYuri Kunde Schlesner
2015-02-02Make Port/Service registration and querying more HW-accurateYuri Kunde Schlesner
2015-02-02Filesys: Move creation of Handles for File/Directory to service handlersYuri Kunde Schlesner
2015-02-01Merge pull request #517 from bunnei/blend-factorsTony Wasserka
Pica: Implement blend factors.
2015-02-01Merge pull request #514 from rohit-n/fix-warningsbunnei
Silence a few warnings.
2015-02-01Merge pull request #525 from lioncash/armwarnbunnei
vfp: Get rid of some compile warnings
2015-01-31vfp: Get rid of some compile warningsLioncash
2015-01-31arm: Clean up ARMul_StateLioncash
Remove unnecessary/unused struct variables.
2015-01-31arm: Adios armemuLioncash
2015-01-31Merge pull request #512 from lioncash/assignmentTony Wasserka
shared_memory: Fix assignments in SharedMemory::Map
2015-01-31Pica: Implement blend factors.bunnei
2015-01-30dyncom: clean up arm_dyncom_dec.hLioncash
2015-01-30arm: Move headers over to pragma onceLioncash
2015-01-30arm: Get rid of armcpu.h and skyeye_types.hLioncash
2015-01-30arm: Clean out armos.h and armmmu.hLioncash
2015-01-30Merge pull request #513 from lioncash/cleanupbunnei
arm: Cleanup.
2015-01-30Silence a few warnings.Rohit Nirmal
2015-01-30arm: Throw out a lot of unnecessary codeLioncash
2015-01-30armdefs: Move some defines over to enumsLioncash
2015-01-30shared_memory: Fix assignments in SharedMemory::MapLioncash
2015-01-30loader: Add missing printf argumentLioncash
2015-01-30archive: Fix initializer list order for the File class.Lioncash
2015-01-30apt_u: Fix missing printf specifiersLioncash
2015-01-30Kernel: Mark all appropriate kernel objects as "final"Yuri 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-30Common: Fix SCOPE_EXIT to actually create unique identifiers.Yuri Kunde Schlesner
2015-01-30Additions to ResultVal to make it more convenient to use.Yuri Kunde Schlesner
2015-01-30Move VAddr/PAddr typedefs to kernel.hYuri Kunde Schlesner
2015-01-30Kernel: Remove useless/duplicated comments; mark functions staticYuri Kunde Schlesner