| Commit message (Expand) | Author | Files | Lines |
2015-02-11 | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 7 | -15/+13 |
2015-02-10 | Scheduler refactor Pt. 1 | Kevin Hartman | 3 | -223/+258 |
2015-02-10 | Mutex: Locks should be recursive. | bunnei | 2 | -16/+20 |
2015-02-03 | core: Fix some warnings on OSX | Lioncash | 1 | -1/+0 |
2015-02-02 | Kernel: Stop creating useless Handles during object creation | Yuri Kunde Schlesner | 12 | -36/+17 |
2015-02-02 | Kernel: Make WaitObjects share ownership of Threads waiting on them | Yuri Kunde Schlesner | 6 | -12/+17 |
2015-02-02 | Explicitly instantiate constructors/destructors for Kernel objects | Yuri Kunde Schlesner | 16 | -8/+50 |
2015-02-02 | Mutex: Replace g_mutex_held_locks with a set inside Thread | Yuri Kunde Schlesner | 3 | -23/+18 |
2015-02-02 | Kernel: Fix bug in HandleTable::Close | Yuri Kunde Schlesner | 1 | -1/+1 |
2015-02-02 | Kernel: Remove Object::GetHandle (it's not used anymore :D) | Yuri Kunde Schlesner | 2 | -9/+1 |
2015-02-02 | Kernel: Introduce unique Object ids for debugging | Yuri Kunde Schlesner | 4 | -8/+16 |
2015-02-02 | Kernel: Use separate Handle tables for CoreTiming userdata | Yuri Kunde Schlesner | 4 | -18/+25 |
2015-02-02 | Kernel: Remove previous scheduled event when a Timer is re-Set | Yuri Kunde Schlesner | 1 | -0/+3 |
2015-02-02 | Thread: Modernize two functions that slipped through previous rebases | Yuri Kunde Schlesner | 3 | -15/+13 |
2015-02-01 | arm: Clean up ARMul_State | Lioncash | 1 | -1/+1 |
2015-01-30 | shared_memory: Fix assignments in SharedMemory::Map | Lioncash | 2 | -4/+4 |
2015-01-30 | Kernel: Mark all appropriate kernel objects as "final" | Yuri Kunde Schlesner | 7 | -8/+7 |
2015-01-30 | Remove result.h InvalidHandle | Yuri Kunde Schlesner | 1 | -1/+2 |
2015-01-30 | Kernel: Convert Event to not use Handles | Yuri Kunde Schlesner | 2 | -83/+51 |
2015-01-30 | Kernel: Convert Timer to (mostly) not use Handles | Yuri Kunde Schlesner | 2 | -104/+72 |
2015-01-30 | Kernel: Convert Mutex to not use Handles | Yuri Kunde Schlesner | 2 | -101/+82 |
2015-01-30 | Kernel: Convert AddressArbiter to not use Handles | Yuri Kunde Schlesner | 2 | -32/+31 |
2015-01-30 | Kernel: Convert Semaphore to not use Handles | Yuri Kunde Schlesner | 2 | -61/+61 |
2015-01-30 | Kernel: Convert SharedMemory to not use Handles | Yuri Kunde Schlesner | 2 | -71/+54 |
2015-01-30 | Move VAddr/PAddr typedefs to kernel.h | Yuri Kunde Schlesner | 1 | -0/+5 |
2015-01-30 | Kernel: Remove useless/duplicated comments; mark functions static | Yuri Kunde Schlesner | 6 | -32/+8 |
2015-01-22 | Thread: Fix WaitSynchronization1 to not set register 1 on thread wakeup. | bunnei | 2 | -22/+42 |
2015-01-22 | Thread: Use std::find in CheckWait_WaitObject. | bunnei | 1 | -4/+5 |
2015-01-22 | Mutex: Cleanup and remove redundant code. | bunnei | 3 | -47/+29 |
2015-01-22 | Kernel: Renamed some functions for clarity. | bunnei | 7 | -10/+10 |
2015-01-22 | Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void. | bunnei | 8 | -64/+39 |
2015-01-22 | WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual. | bunnei | 8 | -21/+20 |
2015-01-22 | Event: Fix implementation of "non-sticky" events. | bunnei | 1 | -0/+4 |
2015-01-22 | Session: Change to a WaitObject. | bunnei | 3 | -2/+9 |
2015-01-22 | Kernel: Reschedule on SignalEvent and SendSyncRequest, fix some bugs. | bunnei | 1 | -1/+1 |
2015-01-22 | Mutex: Fix a bug where the thread should not wait if it already has the mutex. | bunnei | 1 | -1/+4 |
2015-01-22 | Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a WaitObject safely. | bunnei | 3 | -18/+57 |
2015-01-22 | AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that made no sense. | bunnei | 4 | -35/+42 |
2015-01-22 | Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks. | bunnei | 8 | -112/+43 |
2015-01-22 | WaitSynchronizationN: Refactor to fix several bugs | bunnei | 7 | -54/+49 |
2015-01-22 | Kernel: Separate WaitSynchronization into Wait and Acquire methods. | bunnei | 7 | -14/+54 |
2015-01-22 | WaitSynchronizationN: Implement return values | bunnei | 9 | -56/+139 |
2015-01-22 | Event: Fixed some bugs and cleanup (Subv) | bunnei | 2 | -54/+13 |
2015-01-22 | Thread: Keep track of multiple wait objects. | bunnei | 3 | -16/+30 |
2015-01-22 | Event: Get rid of permanent_lock hack. | bunnei | 2 | -36/+8 |
2015-01-22 | WaitObject: Added RemoveWaitingThread, fixed a bug, and cleanup. | bunnei | 2 | -4/+17 |
2015-01-22 | Kernel: Added WaitObject and changed "waitable" objects inherit from it. | bunnei | 8 | -71/+73 |
2015-01-20 | core: Fix a few docstrings | Lioncash | 2 | -2/+2 |
2015-01-13 | AddrArbiter: Implement arbitration types 3 and 4. | Subv | 2 | -3/+20 |
2015-01-11 | Thread: Prevent waking a thread multiple times. | Subv | 1 | -0/+3 |
2015-01-09 | Kernel: Start using boost::intrusive_ptr for lifetime management | Yuri Kunde Schlesner | 10 | -76/+75 |
2015-01-09 | Kernel: Don't re-assign object's handle when duplicating one | Yuri Kunde Schlesner | 2 | -2/+3 |
2015-01-09 | Thread: Fix nullptr access in a logging function | Yuri Kunde Schlesner | 1 | -1/+2 |
2015-01-09 | Thread: Rename thread_queue => thread_list | Yuri Kunde Schlesner | 1 | -6/+6 |
2015-01-09 | Thread: Reduce use of Handles and move some funcs to inside the class. | Yuri Kunde Schlesner | 9 | -281/+190 |
2015-01-09 | Kernel: Move Thread's definition to the header file | Yuri Kunde Schlesner | 3 | -53/+67 |
2015-01-09 | Move ThreadContext to core/core.h and deal with the fallout | Yuri Kunde Schlesner | 2 | -4/+6 |
2015-01-09 | SVC: Implemented the Timer service calls. | Subv | 5 | -1/+194 |
2015-01-09 | SVC: Fixed SleepThread. | Subv | 2 | -8/+39 |
2015-01-08 | Threads: Use a dummy idle thread when no other are ready. | Subv | 3 | -1/+35 |
2015-01-07 | Common: Clean up ThreadQueueList | Yuri Kunde Schlesner | 1 | -1/+1 |
2015-01-04 | Mutex: Add the calling thread to the waiting list when needed | Subv | 1 | -2/+2 |
2015-01-03 | AddressArbiter: Ported arbitration type 2 from 3dmoo. | Subv | 1 | -0/+11 |
2014-12-28 | Kernel: New handle manager | Yuri Kunde Schlesner | 9 | -142/+189 |
2014-12-28 | Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants | Yuri Kunde Schlesner | 8 | -15/+15 |
2014-12-28 | Rename ObjectPool to HandleTable | Yuri Kunde Schlesner | 8 | -41/+41 |
2014-12-21 | License change | purpasmart96 | 15 | -16/+16 |
2014-12-21 | Thread: Wait current thread on svc_SleepThread | bunnei | 2 | -21/+33 |
2014-12-20 | Clean up some warnings | Chin | 2 | -5/+5 |
2014-12-20 | Kernel: Implement support for current thread pseudo-handle | Yuri Kunde Schlesner | 3 | -2/+16 |
2014-12-18 | Filesystem/Archives: Implemented the SaveData archive | Subv | 2 | -0/+7 |
2014-12-16 | HLE: Rename namespaces to match move & fix initialization order | Yuri Kunde Schlesner | 1 | -5/+0 |
2014-12-16 | HLE: Move kernel/archive.* to service/fs/ | Yuri Kunde Schlesner | 3 | -534/+1 |
2014-12-15 | Remove SyncRequest from K::Object and create a new K::Session type | Yuri Kunde Schlesner | 3 | -38/+75 |
2014-12-13 | Kernel/Semaphore: Small style change | Subv | 1 | -1/+1 |
2014-12-13 | Kernel/Semaphores: Invert the available count checking. | Subv | 1 | -11/+9 |
2014-12-13 | Kernel/Semaphores: Addressed some issues. | Subv | 2 | -32/+18 |
2014-12-13 | Semaphore: Removed an unneeded function | Subv | 1 | -5/+0 |
2014-12-13 | Semaphores: Addressed some style issues | Subv | 1 | -6/+5 |
2014-12-13 | Semaphore: Implemented the initial_count parameter. | Subv | 2 | -5/+7 |
2014-12-13 | SVC: Implemented ReleaseSemaphore. | Subv | 2 | -16/+64 |
2014-12-13 | SVC: Implemented svcCreateSemaphore | Subv | 2 | -0/+98 |
2014-12-13 | kernel: Remove unused log arguments | Lioncash | 1 | -3/+3 |
2014-12-13 | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 6 | -72/+45 |
2014-12-09 | Thread: Fixed to wait on address when in arbitration. | bunnei | 3 | -11/+31 |
2014-12-07 | Make OpenDirectory fail if the directory doesn't exist | archshift | 1 | -0/+5 |
2014-12-07 | Mutex: Remove some forward declarations | Subv | 1 | -16/+15 |
2014-12-07 | Mutex: Release all held mutexes when a thread exits. | Subv | 3 | -22/+56 |
2014-12-06 | Mutex: Properly lock the mutex when a thread enters it | Subv | 1 | -12/+9 |
2014-12-04 | Threads: Remove a redundant function. | Subv | 1 | -9/+1 |
2014-12-04 | Threads: Implemented a sequential thread id | Subv | 2 | -4/+19 |
2014-12-04 | Updated archive.cpp functions for proper error handling | archshift | 2 | -65/+36 |
2014-12-04 | SVC: Implemented GetThreadId. | Subv | 2 | -0/+19 |
2014-12-04 | kernel: Shorten GetCount | Lioncash | 1 | -6/+3 |
2014-12-04 | kernel: Make some functions const | Lioncash | 2 | -4/+4 |
2014-11-26 | Thread: Check that thread is actually in "wait state" when verifying wait. | bunnei | 1 | -1/+1 |
2014-11-26 | Mutex: Changed behavior to always release mutex for all threads. | bunnei | 1 | -8/+7 |
2014-11-25 | Implemented RenameDirectory in FS:USER | archshift | 2 | -0/+35 |
2014-11-25 | Implemented RenameFile in FS:USER | archshift | 2 | -0/+35 |
2014-11-24 | Use pointers instead of passing handles around in some functions. | Yuri Kunde Schlesner | 1 | -19/+15 |
2014-11-24 | Remove duplicated docs/update them for changed parameters. | Yuri Kunde Schlesner | 9 | -78/+0 |
2014-11-24 | HLE: Revamp error handling throrough the HLE code | Yuri Kunde Schlesner | 13 | -201/+187 |
2014-11-23 | Added DeleteFile and DeleteDirectory functions to FS:USER and the archives. | archshift | 2 | -1/+47 |
2014-11-19 | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 12 | -42/+42 |
2014-11-19 | Add static to some variables | Lioncash | 1 | -22/+22 |
2014-11-19 | Kernel:Add missing permissions in shared memory & svc | purpasmart96 | 1 | -5/+9 |
2014-11-18 | Remove extraneous semicolons | Lioncash | 1 | -1/+1 |
2014-11-18 | Archive: Fixed to not destroy archive handle on close. | bunnei | 1 | -3/+3 |
2014-11-18 | Archive: Fixed close archive before freeing. | bunnei | 1 | -1/+1 |
2014-11-18 | FS_User: Support FileSye::Path in a more generic way. | bunnei | 1 | -0/+11 |
2014-11-18 | FileSys: Updated backend code to use FileSys::Path instead of string for paths. | bunnei | 2 | -10/+10 |
2014-11-14 | Fix two format strings. | Lioncash | 1 | -1/+1 |
2014-11-02 | Added CreateDirectory function to service/fs.cpp, and in Archive. | archshift | 2 | -2/+25 |
2014-10-30 | Fix some warnings | Sean | 1 | -3/+3 |
2014-10-26 | Add `override` keyword through the code. | Yuri Kunde Schlesner | 6 | -35/+35 |
2014-10-06 | FileSys: split the constructor into an Open method, in order to notify the opener something went wrong. | Emmanuel Gil Peyrot | 1 | -0/+3 |
2014-10-06 | FileSys/Kernel: Implement SetSize service call for File objects. | Emmanuel Gil Peyrot | 1 | -0/+8 |
2014-09-21 | Use the citra user path for the sdmc directory | archshift | 1 | -2/+1 |
2014-09-17 | Kernel: Implement the Close command for Archive, File and Directory. | Emmanuel Gil Peyrot | 2 | -0/+43 |
2014-09-17 | Kernel: Add a Directory object and a getter for it from an Archive object. | Emmanuel Gil Peyrot | 3 | -0/+91 |
2014-09-17 | Kernel: Add a File object and a getter for it from an Archive object. | Emmanuel Gil Peyrot | 2 | -0/+118 |
2014-09-15 | Core: Get rid of unnecessary switch statement in Kernel | Lioncash | 1 | -41/+2 |
2014-09-09 | core: Prune redundant includes | archshift | 3 | -6/+0 |
2014-08-31 | Threading: Fix thread starting to execute first instruction correctly. | bunnei | 1 | -0/+5 |
2014-08-28 | Threading: Fix thread starting to execute first instruction correctly. | bunnei | 1 | -0/+5 |
2014-08-23 | Added FS functions to Archive and Archive_RomFS | archshift | 1 | -3/+31 |
2014-08-19 | Core: Use std::array for managing kernel object space | Lioncash | 2 | -5/+5 |
2014-08-18 | Core: Alter the kernel string functions to use std::string instead of const char*. | Lioncash | 8 | -25/+22 |
2014-08-07 | Thread: Added more descriptive comment to WaitCurrentThread. | bunnei | 2 | -2/+10 |
2014-08-06 | AddressArbiter: Removed unnecessary HLE::Reschedule. | bunnei | 1 | -1/+0 |
2014-08-06 | AddressArbiter: Fixed bug with break statements missing from case statements. | bunnei | 1 | -0/+2 |
2014-08-06 | Kernel: Updated Event and Mutex to specify handle that they are blocking for. | bunnei | 2 | -2/+2 |
2014-07-09 | Kernel: Added preliminary support for address arbiters. | bunnei | 3 | -1/+124 |
2014-07-09 | Thread: Added functions to resume threads from address arbitration. | bunnei | 2 | -0/+44 |
2014-07-05 | SharedMemory: Updated MapSharedMemory to use an enum for permissions. | bunnei | 2 | -6/+27 |
2014-07-05 | Kernel: Added support for shared memory objects. | bunnei | 2 | -0/+132 |
2014-07-05 | Archive: Added Init/Shutdown methods to reset kernel archive state. | bunnei | 3 | -0/+19 |
2014-07-05 | FileSys: Added preliminary support for applications reading the RomFS archive. | bunnei | 2 | -10/+105 |
2014-06-27 | Kernel: Added stubbed code to support creation of kernel Archive objects. | bunnei | 3 | -0/+85 |
2014-06-13 | Kernel: Removed unnecessary "#pragma once". | bunnei | 1 | -2/+0 |
2014-06-13 | Kernel: Added freeing of kernel objects on emulator shutdown. | bunnei | 2 | -0/+10 |
2014-06-13 | Event: Updated several log messages to be assertions. | bunnei | 1 | -16/+8 |
2014-06-13 | Thread: Renamed occurrences of "t" to "thread" to improve readability. | bunnei | 1 | -48/+45 |
2014-06-13 | Thread: Cleaned up VerifyWait, fixed issue where nullptr msg could unnecessarily be logged. | bunnei | 1 | -9/+7 |
2014-06-13 | HLE: Removed usnused EatCycles function. | bunnei | 1 | -9/+0 |
2014-06-13 | Thread: Moved position of * in arguments. | bunnei | 1 | -2/+2 |
2014-06-13 | Thread: Updated VerifyWait to be more readable (but functionally the same). | bunnei | 1 | -4/+3 |
2014-06-13 | HLE: Updated all uses of NULL to nullptr (to be C++11 compliant) | bunnei | 3 | -9/+9 |
2014-06-13 | Kernel: Updated various kernel function "name" arguments to be const references. | bunnei | 4 | -6/+6 |
2014-06-13 | HLE: Updated various handle debug assertions to be more clear. | bunnei | 2 | -3/+3 |
2014-06-13 | Mutex: Moved ReleaseMutex iterator declaration to be inside while loop. | bunnei | 1 | -2/+1 |
2014-06-13 | Kernel: Updated several member functions to be const | bunnei | 4 | -11/+11 |
2014-06-13 | Thread: Fixed bug with ResetThread where cpu_registers[15] was being incorrectly set | bunnei | 1 | -1/+1 |
2014-06-13 | Kernel: Made SyncRequest not pure virtual, with a default implementation of error (as this is not required for all kernel objects) | bunnei | 3 | -23/+4 |
2014-06-13 | Kernel: Added real support for thread and event blocking | bunnei | 5 | -48/+165 |
2014-06-05 | kernel: changed current default thread priority back to 0x30 - I think this is more correct | bunnei | 1 | -1/+1 |
2014-06-03 | svc: added optional name field to Event and Mutex (used for debugging) | bunnei | 4 | -8/+21 |
2014-06-03 | kernel: moved position of * for GetTypeName and GetName | bunnei | 1 | -2/+2 |
2014-06-02 | svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle support | bunnei | 2 | -0/+51 |
2014-06-02 | kernel: changed main thread priority to default, updated Kernel::Reschedule to use PrepareReschedule | bunnei | 3 | -4/+6 |
2014-06-01 | thread: updated Reschedule to sit at a synchronization barrier when no other threads are ready for execution | bunnei | 1 | -0/+18 |
2014-06-01 | event: added a hackish ability to set an event as "locked" to its current state, cleaned up some comments | bunnei | 2 | -4/+32 |
2014-05-30 | mutex: fixed typo in ReleaseMutex | bunnei | 1 | -1/+3 |
2014-05-30 | event: added support for ClearEvent, fixed a bug with CreateEvent, fixed some comments | bunnei | 2 | -9/+14 |
2014-05-28 | mutex: added preliminary SyncRequest/WaitSynchronization, added some comments/assertions | bunnei | 1 | -0/+6 |
2014-05-28 | event: fixed typos and updated CMakeLists | bunnei | 1 | -1/+1 |
2014-05-28 | event: added SetEventLocked method to change status an events lock | bunnei | 2 | -0/+18 |
2014-05-28 | kernel: added event module to support creation of CTR "Event" objects | bunnei | 2 | -0/+119 |
2014-05-27 | mutex: removed docstring comment that is no longer relevant | bunnei | 1 | -1/+0 |
2014-05-27 | mutex: added additional docstrings | bunnei | 1 | -0/+2 |
2014-05-27 | kernel: added WaitSynchronization method to Kernel::Object | bunnei | 3 | -0/+29 |
2014-05-27 | kernel: updated SyncRequest to take boolean thread wait result as a parameter | bunnei | 3 | -5/+20 |
2014-05-27 | kernel: added enum for known CurrentThread and CurrentProcess handles | bunnei | 1 | -0/+5 |
2014-05-27 | kernel: add a SyncRequest method to KernelObject for use with svcSendSyncRequest | bunnei | 3 | -0/+11 |
2014-05-23 | thread: renamed "WaitCurThread" to "WaitCurrentThread", removed unused "reason" argument | bunnei | 2 | -4/+4 |
2014-05-23 | thread: removed unused SwitchContext/Reschedule reason field, added missing arg parameter to SVC CreateThread | bunnei | 2 | -4/+4 |
2014-05-23 | kernel: refactored function naming to remove "__" prefix | bunnei | 5 | -62/+72 |
2014-05-23 | thread: moved ThreadStatus/WaitType to header, added support for arg on CreateThread, added correct CPSR reset | bunnei | 2 | -35/+40 |
2014-05-22 | thread: fixed bug where result of __NextThread was not being properly checked when NULL | bunnei | 1 | -1/+1 |
2014-05-21 | mutex: refactored the interface to code to return a Mutex* handle | bunnei | 2 | -3/+13 |
2014-05-21 | mutex: initial commit of HLE module | bunnei | 2 | -0/+148 |
2014-05-21 | kernel: fixed include, in general include "common.h" not "common_types.h" | bunnei | 1 | -1/+1 |
2014-05-21 | thread: added correct lowest thread priority, added a thread priority check, and added some comments | bunnei | 2 | -6/+10 |
2014-05-21 | thread: exposed ResumeThreadFromWait function for use in other kernel modules | bunnei | 2 | -8/+11 |
2014-05-21 | thread: moved threading calls to the Kernel namespace | bunnei | 3 | -101/+115 |
2014-05-21 | ARM_Interface: added SaveContext and LoadContext functions for HLE thread switching | bunnei | 1 | -36/+2 |
2014-05-21 | renamed "syscall" module to "svc" (more accurate naming) | bunnei | 1 | -1/+1 |
2014-05-21 | thread: whitespace change - fixed * and & placement | bunnei | 2 | -27/+27 |
2014-05-21 | - created a Kernel namespace | bunnei | 4 | -67/+79 |
2014-05-20 | thread: added declaration for __KernelReschedule to be used by syscall module | bunnei | 1 | -0/+3 |
2014-05-19 | - updated service(s) to be KernelObject's | bunnei | 1 | -4/+5 |
2014-05-19 | - moved Handle/Result definitions to kernel.h | bunnei | 2 | -3/+2 |
2014-05-17 | changed a comment | bunnei | 2 | -2/+2 |
2014-05-17 | - added enum ThreadProcessorId | bunnei | 2 | -53/+107 |
2014-05-17 | - replaced KERNELOBJECT_MAX_NAME_LENGTH with KERNEL_MAX_NAME_LENGTH | bunnei | 3 | -8/+12 |
2014-05-16 | completely gutted/refactored threading code to be simpler | bunnei | 2 | -658/+230 |
2014-05-16 | changed "UID" to "Handle" to be a little more consistent with CTR naming | bunnei | 2 | -18/+21 |
2014-05-15 | - added helper function for __KernelCreateThread | bunnei | 2 | -4/+76 |
2014-05-15 | changed primary thread priority to 0x30 - this is typical, not 0x31 | bunnei | 1 | -1/+2 |
2014-05-14 | fixed thread reset to not set stack address | bunnei | 1 | -1/+1 |
2014-05-14 | various cleanups / remove unused code | bunnei | 2 | -65/+29 |
2014-05-14 | added a bunch of threading code, recycled from PPSSPP, with lots of hacks in for 3DS... doesn't really do much yet. Just a jumping off point | bunnei | 2 | -70/+543 |
2014-05-14 | - added __KernelLoadExec function | bunnei | 2 | -13/+35 |
2014-05-10 | added initial kernel/thread modules | bunnei | 4 | -0/+527 |