| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-01-09 | Kernel: Start using boost::intrusive_ptr for lifetime management | Yuri Kunde Schlesner | |
| 2015-01-09 | Thread: Fix nullptr access in a logging function | Yuri Kunde Schlesner | |
| 2015-01-09 | Thread: Rename thread_queue => thread_list | Yuri Kunde Schlesner | |
| 2015-01-09 | Thread: Reduce use of Handles and move some funcs to inside the class. | Yuri Kunde Schlesner | |
| 2015-01-09 | Kernel: Move Thread's definition to the header file | Yuri Kunde Schlesner | |
| 2015-01-09 | Move ThreadContext to core/core.h and deal with the fallout | Yuri Kunde Schlesner | |
| 2015-01-08 | SVC: Fixed SleepThread. | Subv | |
| It will now properly wait the specified number of nanoseconds and then wake up the thread. | |||
| 2015-01-07 | Threads: Use a dummy idle thread when no other are ready. | Subv | |
| This thread will not actually execute instructions, it will only advance the timing/events and try to yield immediately to the next ready thread, if there aren't any ready threads then it will be rescheduled and start its job again. | |||
| 2015-01-07 | Common: Clean up ThreadQueueList | Yuri Kunde Schlesner | |
| Replace all the C-style complicated buffer management with a std::deque. In addition to making the code easier to understand it also adds support for non-POD IdTypes. Also clean the rest of the code to follow our code style. | |||
| 2014-12-28 | Kernel: New handle manager | Yuri Kunde Schlesner | |
| This handle manager more closely mirrors the behaviour of the CTR-OS one. In addition object ref-counts and support for DuplicateHandle have been added. Note that support for DuplicateHandle is still experimental, since parts of the kernel still use Handles internally, which will likely cause troubles if two different handles to the same object are used to e.g. wait on a synchronization primitive. | |||
| 2014-12-28 | Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants | Yuri Kunde Schlesner | |
| 2014-12-28 | Rename ObjectPool to HandleTable | Yuri Kunde Schlesner | |
| 2014-12-21 | Merge pull request #291 from purpasmart96/license | bunnei | |
| License change | |||
| 2014-12-20 | License change | purpasmart96 | |
| 2014-12-20 | Thread: Wait current thread on svc_SleepThread | bunnei | |
| - Removed unused VBLANK sleep mode - Added error log for bad context switch - Renamed VerifyWait to CheckWaitType to be more clear | |||
| 2014-12-20 | Kernel: Implement support for current thread pseudo-handle | Yuri Kunde Schlesner | |
| This boots a few (mostly Nintendo 1st party) games further. | |||
| 2014-12-13 | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | |
| 2014-12-10 | Merge pull request #256 from Subv/mutex | bunnei | |
| Kernel/Mutex: Properly lock the mutex when a thread enters it | |||
| 2014-12-08 | Thread: Fixed to wait on address when in arbitration. | bunnei | |
| 2014-12-07 | Mutex: Release all held mutexes when a thread exits. | Subv | |
| 2014-12-04 | Threads: Remove a redundant function. | Subv | |
| Use the next_thread_id variable directly. | |||
| 2014-12-04 | Threads: Implemented a sequential thread id | Subv | |
| 2014-12-04 | SVC: Implemented GetThreadId. | Subv | |
| For now threads are using their Handle value as their Id, it should not really cause any problems because Handle values are unique in Citra, but it should be changed. I left a ToDo there because this is not correct behavior as per hardware. | |||
| 2014-11-26 | Thread: Check that thread is actually in "wait state" when verifying wait. | bunnei | |
| 2014-11-24 | Use pointers instead of passing handles around in some functions. | Yuri Kunde Schlesner | |
| 2014-11-24 | Remove duplicated docs/update them for changed parameters. | Yuri Kunde Schlesner | |
| 2014-11-24 | HLE: Revamp error handling throrough the HLE code | Yuri Kunde Schlesner | |
| All service calls in the CTR OS return result codes indicating the success or failure of the call. Previous to this commit, Citra's HLE emulation of services and the kernel universally either ignored errors or returned dummy -1 error codes. This commit makes an initial effort to provide an infrastructure for error reporting and propagation which can be use going forward to make HLE calls accurately return errors as the original system. A few parts of the code have been updated to use the new system where applicable. One part of this effort is the definition of the `ResultCode` type, which provides facilities for constructing and parsing error codes in the structured format used by the CTR. The `ResultVal` type builds on `ResultCode` by providing a container for values returned by function that can report errors. It enforces that correct error checking will be done on function returns by preventing the use of the return value if the function returned an error code. Currently this change is mostly internal since errors are still suppressed on the ARM<->HLE border, as a temporary compatibility hack. As functionality is implemented and tested this hack can be eventually removed. | |||
| 2014-11-19 | Merge pull request #211 from linkmauve/master | bunnei | |
| Remove trailing spaces from the entire project | |||
| 2014-11-19 | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵ | Emmanuel Gil Peyrot | |
| or generated | |||
| 2014-11-18 | Add static to some variables | Lioncash | |
| 2014-10-26 | Add `override` keyword through the code. | Yuri Kunde Schlesner | |
| This was automated using `clang-modernize`. | |||
| 2014-09-08 | core: Prune redundant includes | archshift | |
| 2014-08-28 | Threading: Fix thread starting to execute first instruction correctly. | bunnei | |
| 2014-08-17 | Core: 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-06 | Thread: Added more descriptive comment to WaitCurrentThread. | bunnei | |
| 2014-07-08 | Thread: Added functions to resume threads from address arbitration. | bunnei | |
| Thread: Cleaned up arbitrate address functions. Thread: Cleaned up ArbitrateAllThreads function. | |||
| 2014-06-13 | Thread: Renamed occurrences of "t" to "thread" to improve readability. | bunnei | |
| 2014-06-13 | Thread: Cleaned up VerifyWait, fixed issue where nullptr msg could ↵ | bunnei | |
| unnecessarily be logged. | |||
| 2014-06-13 | HLE: Removed usnused EatCycles function. | bunnei | |
| 2014-06-13 | Thread: Moved position of * in arguments. | bunnei | |
| 2014-06-13 | Thread: Updated VerifyWait to be more readable (but functionally the same). | bunnei | |
| 2014-06-13 | HLE: Updated all uses of NULL to nullptr (to be C++11 compliant) | bunnei | |
| 2014-06-13 | HLE: Updated various handle debug assertions to be more clear. | bunnei | |
| 2014-06-13 | Kernel: Updated several member functions to be const | bunnei | |
| 2014-06-13 | Thread: Fixed bug with ResetThread where cpu_registers[15] was being ↵ | bunnei | |
| incorrectly set | |||
| 2014-06-13 | Kernel: Made SyncRequest not pure virtual, with a default implementation of ↵ | bunnei | |
| error (as this is not required for all kernel objects) | |||
| 2014-06-13 | Kernel: Added real support for thread and event blocking | bunnei | |
| - 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-01 | svc: added GetThreadPriority and SetThreadPriority, added (incomplete) ↵ | bunnei | |
| DuplicateHandle support | |||
| 2014-06-01 | kernel: changed main thread priority to default, updated Kernel::Reschedule ↵ | bunnei | |
| to use PrepareReschedule | |||
| 2014-06-01 | thread: updated Reschedule to sit at a synchronization barrier when no other ↵ | bunnei | |
| threads are ready for execution | |||
