| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-12-16 | Merge pull request #2260 from Subv/scheduling | bunnei | |
| Threading: Reworked the way our scheduler works. | |||
| 2016-12-14 | Fixed the codestyle to match our clang-format rules. | Subv | |
| 2016-12-14 | Fixed the codestyle to match our clang-format rules. | Subv | |
| 2016-12-10 | Properly remove a thread from its wait_objects' waitlist when it is awoken ↵ | Subv | |
| by a timeout. | |||
| 2016-12-09 | Moved the HLE command buffer translation task to ServerSession instead of ↵ | Subv | |
| the HLE handler superclass. | |||
| 2016-12-09 | WaitSynch: Removed unused variables and reduced SharedPtr copies. | Subv | |
| Define a variable with the value of the sync timeout error code. Use a boost::flat_map instead of an unordered_map to hold the equivalence of objects and wait indices in a WaitSynchN call. | |||
| 2016-12-08 | Added a framework for partially handling Session disconnections. | Subv | |
| Further implementation will happen in a future commit. Fixes a regression. | |||
| 2016-12-08 | Use std::move where appropriate. | Subv | |
| 2016-12-06 | Use boost remove_erase_if instead of the erase-remove idiom | Subv | |
| 2016-12-06 | Improved the algorithm for GetHighestPriorityReadyThread. | Subv | |
| 2016-12-05 | Return an error code when connecting to a saturated port. | Subv | |
| The error code was taken from the 3DS kernel. | |||
| 2016-12-05 | Split SessionRequestHandler::HandleSyncRequest into HandleSyncRequest, ↵ | Subv | |
| TranslateRequest and HandleSyncRequestImpl. HandleSyncRequest now takes care of calling the command buffer translate function before actually invoking the command handler for HLE services. | |||
| 2016-12-05 | Kernel: Remove the Redirection handle type. | Subv | |
| 2016-12-05 | KServerPorts now have an HLE handler "template", which is inherited by all ↵ | Subv | |
| ServerSessions created from it. | |||
| 2016-12-04 | Threading: Added some utility functions and const correctness. | Subv | |
| 2016-12-03 | Threading: Reworked the way our scheduler works. | Subv | |
| Threads will now be awakened when the objects they're waiting on are signaled, instead of repeating the WaitSynchronization call every now and then. The scheduler is now called once after every SVC call, and once after a thread is awakened from sleep by its timeout callback. This new implementation is based off reverse-engineering of the real kernel. See https://gist.github.com/Subv/02f29bd9f1e5deb7aceea1e8f019c8f4 for a more detailed description of how the real kernel handles rescheduling. | |||
| 2016-12-02 | Declare empty ServerSession and ClientSession constructors as default. | Subv | |
| 2016-11-30 | Fixed the rebase mistakes. | Subv | |
| 2016-11-30 | A bit of a redesign. | Subv | |
| Sessions and Ports are now detached from each other. HLE services are handled by means of a SessionRequestHandler class, Interface now inherits from this class. The File and Directory classes are no longer kernel objects, but SessionRequestHandlers instead, bound to a ServerSession when requested. File::OpenLinkFile now creates a new session pair and binds the File instance to it. | |||
| 2016-11-30 | IPC/HLE: Associate the ClientSessions with their parent port's HLE interface ↵ | Subv | |
| if it exists. Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request. | |||
| 2016-11-30 | Kernel/HLE: Service::Interface no longer inherits from any Kernel object, ↵ | Subv | |
| and is now its own standalone class. Interface is now used by aggregation in ClientPort, to forward service commands to their HLE implementation if needed. | |||
| 2016-11-30 | fixup! Kernel/IPC: Use Ports and Sessions as the fundamental building block ↵ | Subv | |
| of Inter Process Communication. | |||
| 2016-11-30 | Kernel/IPC: Use Ports and Sessions as the fundamental building block of ↵ | Subv | |
| Inter Process Communication. All handles obtained via srv::GetServiceHandle or svcConnectToPort are references to ClientSessions. Service modules will wait on the counterpart of those ClientSessions (Called ServerSessions) using svcReplyAndReceive or svcWaitSynchronization[1|N], and will be awoken when a SyncRequest is performed. HLE Interfaces are now ClientPorts which override the HandleSyncRequest virtual member function to perform command handling immediately. | |||
| 2016-11-27 | Merge pull request #2196 from Subv/system_mode | Yuri Kunde Schlesner | |
| Kernel/Loader: Grab the system mode from the NCCH ExHeader. | |||
| 2016-11-19 | Kernel/Loader: Grab the system mode from the NCCH ExHeader. | Subv | |
| 3dsx and elf files default to system mode 2 (96MB allocated to the application). This allows Home Menu to boot without modifications. Closes #1849 | |||
| 2016-11-19 | Kernel/Events: Log an error when trying to create Pulse events and timers. | Subv | |
| Related to #1904 | |||
| 2016-10-20 | Fix typos | Ricardo de Almeida Gonzaga | |
| 2016-09-22 | move ResetType to kernel.h | wwylele | |
| 2016-09-22 | implement wait tree widget | wwylele | |
| 2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | |
| 2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | |
| This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||
| 2016-09-18 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | |
| 2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | |
| 2016-09-15 | arm: ResetContext shouldn't be part of ARM_Interface. | bunnei | |
| 2016-08-02 | fix #1942 and adds a few IPC functions for descriptors | Lectem | |
| 2016-06-28 | Merge pull request #1869 from wwylele/dont-be-lazy | Yuri Kunde Schlesner | |
| Switch context to the same thread if necessary | |||
| 2016-06-28 | Merge pull request #1867 from mailwl/srv-update | bunnei | |
| srv: Update according 3dbrew | |||
| 2016-06-18 | Merge pull request #1877 from wwylele/wait-fix-timeout | bunnei | |
| Thread: update timeout when reruning WaitSynch | |||
| 2016-06-11 | Kernel/SVC: Implemented svcCreatePort. | Subv | |
| 2016-06-05 | Kernel: Added ClientPort and ServerPort classes. | Subv | |
| This is part of an ongoing effort to implement support for multiple processes. | |||
| 2016-06-04 | Thread: update timeout when rerunning WaitSynch | wwylele | |
| 2016-05-31 | Fix parameter name in EnableNotification | mailwl | |
| 2016-05-30 | Switch context on the same thread if necessary | wwylele | |
| 2016-05-29 | Merge pull request #1692 from Subv/rm_getpointer2 | bunnei | |
| Memory: Remove most usages of GetPointer | |||
| 2016-05-26 | Memory: Added necessary headers and removed unnecessary header | MerryMage | |
| 2016-05-21 | Kernel/Thread: Remove use of Memory::GetPointer | MerryMage | |
| 2016-05-17 | Merge pull request #1800 from JayFoxRox/set-fpscr | bunnei | |
| Set fpscr for new threads | |||
| 2016-05-17 | Set fpscr for new threads | Jannik Vogel | |
| 2016-05-14 | Memory: Fixed a regression caused by #1695 and #1689. | Subv | |
| Reserve enough space in the vector that holds the linear heap memory to prevent relocations of the backing memory when growing too much. Closes #1790 | |||
| 2016-05-13 | Merge pull request #1689 from Subv/shmem | bunnei | |
| Kernel: Implemented shared memory. | |||
