Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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 | |
- ReleaseNextThread->WakeupNextThread - ReleaseAllWaitingThreads->WakeupAllWaitingThreads. | |||||
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 | |
- Separate wait checking from waiting the current thread - Resume thread when wait_all=true only if all objects are available at once - Set output to correct wait object index when there are duplicate handles | |||||
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 | |
If a thread was woken up by something, cancel the wakeup timeout. | |||||
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 | |
It will now properly wait the specified number of nanoseconds and then wake up the thread. | |||||
2015-01-08 | Threads: Use a dummy idle thread when no other are ready. | Subv | 3 | -1/+35 | |
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 | 1 | -1/+1 | |
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. | |||||
2015-01-04 | Mutex: Add the calling thread to the waiting list when needed | Subv | 1 | -2/+2 | |
This will happen when the mutex is already owned by another thread. Should fix some issues with games being stuck due to waiting threads not being awoken. | |||||
2015-01-03 | AddressArbiter: Ported arbitration type 2 from 3dmoo. | Subv | 1 | -0/+11 | |
(Thanks 3dmoo!) | |||||
2014-12-28 | Kernel: New handle manager | Yuri Kunde Schlesner | 9 | -142/+189 | |
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 | 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 | |
- Removed unused VBLANK sleep mode - Added error log for bad context switch - Renamed VerifyWait to CheckWaitType to be more clear | |||||
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 | |
This boots a few (mostly Nintendo 1st party) games further. | |||||
2014-12-18 | Filesystem/Archives: Implemented the SaveData archive | Subv | 2 | -0/+7 | |
The savedata for each game is stored in /savedata/<ProgramID> for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information Got rid of the code duplication in File and Directory Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive. FS_U: Use the correct error code when a file wasn't found | |||||
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 | |
This is a first step at fixing the conceptual insanity that is our handling of service and IPC calls. For now, interfaces still directly derived from Session because we don't have the infrastructure to do it properly. (That is, Processes and scheduling them.) | |||||
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 | |
Same semantics, idea by @yuriks | |||||
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 | |
This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has | |||||
2014-12-13 | SVC: Implemented svcCreateSemaphore | Subv | 2 | -0/+98 | |
ToDo: Implement svcReleaseSemaphore * Some testing against hardware needed | |||||
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 | |
This is in line with what the hardware itself does. It does this by splitting the initial directory opening into Directory.Open(), which will return false if a stat fails. Then, Archive::OpenDirectory will return nullptr, and archive.cpp will return an error code . | |||||
2014-12-07 | Mutex: Remove some forward declarations | Subv | 1 | -16/+15 | |
Moved Mutex::WaitSynchronization to the end of the file. | |||||
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 | |
Also resume only the next immediate thread waiting for the mutex when it is released, instead of resuming them all. | |||||
2014-12-04 | Threads: Remove a redundant function. | Subv | 1 | -9/+1 | |
Use the next_thread_id variable directly. | |||||
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 | |
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-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 | |
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-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 | |
added a todo to kernel archive | |||||
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 | |
This was automated using `clang-modernize`. | |||||
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 | |
Kernel: Return an invalid handle to OpenFile when it failed to open. | |||||
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 | |
These avoid relying on memset for clearing the arrays. | |||||
2014-08-18 | Core: Alter the kernel string functions to use std::string instead of const char*. | Lioncash | 8 | -25/+22 | |
Most functions already operate on std::strings. This also removes the need to manually null terminate thread names. | |||||
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 | |
AddressArbiter: Added documentation comment, fixed whitespace issue. AddressArbiter: Fixed incorrect comment, reordered if-statement to be more clear. SVC: Removed trailing whitespace. | |||||
2014-07-09 | Thread: Added functions to resume threads from address arbitration. | bunnei | 2 | -0/+44 | |
Thread: Cleaned up arbitrate address functions. Thread: Cleaned up ArbitrateAllThreads function. | |||||
2014-07-05 | SharedMemory: Updated MapSharedMemory to use an enum for permissions. | bunnei | 2 | -6/+27 | |
- Also added some safety checks to MapSharedMemory. | |||||
2014-07-05 | Kernel: Added support for shared memory objects. | bunnei | 2 | -0/+132 | |
SharedMemory: Added optional name field for tracking known objects. | |||||
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 | |
Archive: Fixed brace ugliness for neobrain :) FS: Commented out unused local variables to prevent warnings. ...But keeping them here for future use. archive_romfs: Removed unused #include. | |||||
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 | |
- 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-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 | |
- cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues) - added handle types for all different CTROS handles | |||||
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 | |
- various cleanups | |||||
2014-05-19 | - moved Handle/Result definitions to kernel.h | bunnei | 2 | -3/+2 | |
- added ResetType enum | |||||
2014-05-17 | changed a comment | bunnei | 2 | -2/+2 | |
2014-05-17 | - added enum ThreadProcessorId | bunnei | 2 | -53/+107 | |
- reorganized some kernel thread functions - added placeholder __KernelWaitThread_Synchronization function | |||||
2014-05-17 | - replaced KERNELOBJECT_MAX_NAME_LENGTH with KERNEL_MAX_NAME_LENGTH | bunnei | 3 | -8/+12 | |
- added KERNEL_DEFAULT_STACK_SIZE definition (0x4000) | |||||
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 | |
- added __KernelSwitchToThread for enabling a thread - added __KernelRotateThreadReadyQueue | |||||
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 | |
- fixed some logging | |||||
2014-05-10 | added initial kernel/thread modules | bunnei | 4 | -0/+527 | |