Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-12-29 | kernel: Fix implementation of ConvertSessionToDomain. | bunnei | 1 | -10/+0 | |
2017-10-15 | hle: Implement ConvertSessionToDomain, various cleanups. | bunnei | 1 | -0/+10 | |
2017-06-25 | Kernel/ServerSession: Keep track of which threads have issued sync requests. | Subv | 1 | -2/+12 | |
2017-06-08 | Session: Remove/add some forward declarations | Yuri Kunde Schlesner | 1 | -1/+1 | |
2017-06-06 | Kernel: Add a dedicated SetHleHandler method to ServerPort/ServerSession | Yuri Kunde Schlesner | 1 | -8/+12 | |
This allows attaching a HLE handle to a ServerPort at any point after it is created, allowing port/session creation to be generic between HLE and regular services. | |||||
2017-06-06 | HLE: Move SessionRequestHandler from Service:: to Kernel:: | Yuri Kunde Schlesner | 1 | -5/+4 | |
Most of the code that works with this is or will be in the kernel, so it's a more appropriate place for it to be. | |||||
2017-05-30 | Kernel: Move HandleTable to a separate file | Yuri Kunde Schlesner | 1 | -1/+1 | |
2017-05-30 | Kernel: Move WaitObject to a separate file | Yuri Kunde Schlesner | 1 | -0/+1 | |
Now that HandleTable doesn't directly depend on WaitObject anymore, this can be separated from the main kernel.h header. | |||||
2017-05-15 | Kernel: Use a Session object to keep track of the status of a Client/Server session pair. | Subv | 1 | -3/+9 | |
Reduce the associated port's connection count when a ServerSession is destroyed. | |||||
2017-02-27 | Doxygen: Amend minor issues (#2593) | Mat M | 1 | -1/+2 | |
Corrects a few issues with regards to Doxygen documentation, for example: - Incorrect parameter referencing. - Missing @param tags. - Typos in @param tags. and a few minor other issues. | |||||
2017-02-27 | Core: Remove unnecessary include in thread.h | Yuri Kunde Schlesner | 1 | -0/+1 | |
2017-01-04 | Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter. | Subv | 1 | -2/+2 | |
This will be useful when implementing mutex priority inheritance. | |||||
2016-12-14 | Fixed the codestyle to match our clang-format rules. | Subv | 1 | -10/+15 | |
2016-12-09 | Moved the HLE command buffer translation task to ServerSession instead of the HLE handler superclass. | Subv | 1 | -0/+10 | |
2016-12-08 | Use std::move where appropriate. | Subv | 1 | -1/+3 | |
2016-12-05 | KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it. | Subv | 1 | -15/+15 | |
2016-12-01 | Fixed the rebase mistakes. | Subv | 1 | -3/+6 | |
2016-12-01 | A bit of a redesign. | Subv | 1 | -159/+8 | |
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-12-01 | fixup! Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. | Subv | 1 | -1/+1 | |
2016-12-01 | Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. | Subv | 1 | -33/+40 | |
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-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -2/+0 | |
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||||
2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 1 | -25/+36 | |
2016-08-02 | fix #1942 and adds a few IPC functions for descriptors | Lectem | 1 | -15/+103 | |
2016-05-31 | Fix parameter name in EnableNotification | mailwl | 1 | -0/+4 | |
2016-03-21 | session: Make helper functions constexpr | Lioncash | 1 | -6/+6 | |
2015-06-28 | Common: Cleanup key_map includes. | Emmanuel Gil Peyrot | 1 | -0/+6 | |
2015-06-23 | Add helpers to create IPC command buffer headers and descriptors | Yuri Kunde Schlesner | 1 | -0/+34 | |
2015-05-15 | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 1 | -1/+1 | |
memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory. | |||||
2015-05-11 | Core/Memory: Give every emulated thread it's own TLS area. | Subv | 1 | -3/+7 | |
The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200. This allows some games like Mario Kart 7 to continue further. | |||||
2015-05-09 | Memory: Re-organize and rename memory area address constants | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-02-11 | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 1 | -1/+1 | |
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft. | |||||
2015-02-02 | Explicitly instantiate constructors/destructors for Kernel objects | Yuri Kunde Schlesner | 1 | -0/+4 | |
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-01-22 | Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void. | bunnei | 1 | -4/+4 | |
2015-01-22 | WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual. | bunnei | 1 | -3/+8 | |
2015-01-22 | Session: Change to a WaitObject. | bunnei | 1 | -1/+7 | |
2014-12-28 | Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants | Yuri Kunde Schlesner | 1 | -2/+2 | |
2014-12-21 | License change | purpasmart96 | 1 | -1/+1 | |
2014-12-15 | Remove SyncRequest from K::Object and create a new K::Session type | Yuri Kunde Schlesner | 1 | -0/+58 | |
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.) |