aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2015-02-10PTM: Fixed a problem with the gamecoin PTM file.Subv
2015-02-10Archives: Made the Format function more generic.Subv
2015-02-10Archives: Expose the File and Directory classes to HLESubv
2015-02-10ResultVal: Fixed compilation when reassigning a ResultVal.Subv
2015-02-10FS: Allow multiple instances of the same archive type to be open at onceYuri Kunde Schlesner
2015-02-10FS: Get rid of completely useless Archive classYuri Kunde Schlesner
2015-02-09Scheduler refactor Pt. 1Kevin Hartman
* Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid for a thread at any given point in the system. * Removes dead code from thread.cpp. * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation. Other changes: * Fixed comments in arm interfaces. * Updated comments in thread.cpp * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp. * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
2015-02-09Mutex: Locks should be recursive.bunnei
2015-02-09WaitSynch: Always reschedule (verified behavior on hw).bunnei
2015-02-07Services: Stub some functionspurpasmart96
2015-02-03core: Fix some warnings on OSXLioncash
2015-02-02Kernel: Stop creating useless Handles during object creationYuri Kunde Schlesner
They're finally unnecessary, and will stop cluttering the application's handle table.
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-01-31arm: Clean up ARMul_StateLioncash
Remove unnecessary/unused struct variables.
2015-01-31Merge pull request #512 from lioncash/assignmentTony Wasserka
shared_memory: Fix assignments in SharedMemory::Map
2015-01-30shared_memory: Fix assignments in SharedMemory::MapLioncash
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-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
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-26Merge pull request #345 from purpasmart96/apt_stubsbunnei
APT_U: Stub some functions & misc changes
2015-01-25Merge pull request #485 from Subv/more_servsbunnei
Services: Stubbed more services.