Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-10-15 | hle: Initial implementation of NX service framework and IPC. | bunnei | 1 | -235/+0 | |
2017-09-24 | HLE/SRV: Implemented RegisterService. | Subv | 1 | -1/+25 | |
Now system modules can do more than just crash immediately on startup. | |||||
2017-06-19 | ResultVal: Remove MoveFrom() | Yuri Kunde Schlesner | 1 | -2/+2 | |
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue. | |||||
2017-06-11 | Service/sm: Convert srv: to use IPC helpers | Yuri Kunde Schlesner | 1 | -49/+56 | |
2017-06-09 | Service/sm: Convert 'srv:' to ServiceFramework | Yuri Kunde Schlesner | 1 | -38/+33 | |
2017-06-06 | Service: Remove unnecessary includes from service.h | Yuri Kunde Schlesner | 1 | -0/+3 | |
This has a huge fallout in terms of needing to fix other files because all service implementations included that file. | |||||
2017-06-06 | Service: Make service registration part of the sm implementation | Yuri Kunde Schlesner | 1 | -14/+31 | |
Also enhances the GetServiceHandle implementation to be more accurate. | |||||
2017-06-06 | Service/sm: Use an actual semaphore for the notification semaphore | Yuri Kunde Schlesner | 1 | -8/+9 | |
An Event was used way back then when we didn't have proper working semaphores. Our Semaphore implementation is good enough now. | |||||
2017-06-06 | Service: Move SRV interface to a new sm/ subdirectory | Yuri Kunde Schlesner | 1 | -3/+3 | |
This will contain the implementation of the sm (Service Manager) system module. | |||||
2017-05-25 | Kernel: Centralize error definitions in errors.h | Yuri Kunde Schlesner | 1 | -3/+1 | |
2016-12-14 | Fixed the codestyle to match our clang-format rules. | Subv | 1 | -1/+1 | |
2016-12-11 | Add all services to the Service namespace | Lioncash | 1 | -14/+10 | |
Previously there was a split where some of the services were in the Service namespace and others were not. | |||||
2016-12-08 | Use std::move where appropriate. | Subv | 1 | -5/+0 | |
2016-12-05 | Return an error code when connecting to a saturated port. | Subv | 1 | -2/+6 | |
The error code was taken from the 3DS kernel. | |||||
2016-12-05 | KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it. | Subv | 1 | -11/+3 | |
2016-12-01 | Threads do not wait for the server endpoint to call AcceptSession before returning from a ConnectToPort or GetServiceHandle call. | Subv | 1 | -1/+2 | |
2016-12-01 | Fixed the rebase mistakes. | Subv | 1 | -2/+1 | |
2016-12-01 | A bit of a redesign. | Subv | 1 | -2/+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 | Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication. | Subv | 1 | -1/+16 | |
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 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 1 | -1/+1 | |
2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 1 | -2/+1 | |
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 | -24/+26 | |
2016-08-02 | fix #1942 and adds a few IPC functions for descriptors | Lectem | 1 | -1/+1 | |
2016-05-31 | Fix parameter name in EnableNotification | mailwl | 1 | -2/+2 | |
2016-05-31 | Fix mistakes, add output header codes | mailwl | 1 | -8/+24 | |
2016-05-31 | remove ugly function | mailwl | 1 | -35/+3 | |
2016-05-31 | srv: Update according 3dbrew | mailwl | 1 | -15/+137 | |
2016-03-13 | svc: Move ResetType enum to the kernel event header | Lioncash | 1 | -1/+1 | |
2016-03-12 | svc: Make ResetType an enum class | Lioncash | 1 | -1/+1 | |
2016-02-02 | services: Get rid of unnecessary includes | Lioncash | 1 | -1/+1 | |
2015-07-17 | Ensure all kernel objects are released during shutdown | Yuri Kunde Schlesner | 1 | -0/+4 | |
This commit fixes several kernel object leaks. The most severe of them was threads not being removed from the private handle table used for CoreTiming events. This resulted in Threads never being released, which in turn held references to Process, causing CodeSets to never be freed when loading other applications. | |||||
2015-05-07 | Common: Remove common.h | Yuri Kunde Schlesner | 1 | -0/+2 | |
2015-02-02 | Kernel: Stop creating useless Handles during object creation | Yuri Kunde Schlesner | 1 | -1/+1 | |
They're finally unnecessary, and will stop cluttering the application's handle table. | |||||
2015-02-02 | Service: Clean-up Interface | Yuri Kunde Schlesner | 1 | -1/+1 | |
2015-02-02 | Make Port/Service registration and querying more HW-accurate | Yuri Kunde Schlesner | 1 | -3/+3 | |
2015-01-30 | Kernel: Convert Event to not use Handles | Yuri Kunde Schlesner | 1 | -4/+4 | |
2015-01-22 | Event: Fixed some bugs and cleanup (Subv) | bunnei | 1 | -1/+1 | |
2015-01-10 | Logging: Log all called service functions (under trace). Compile out all trace logs under release for performance. | archshift | 1 | -4/+0 | |
2015-01-06 | Services: Clean up a few things and add a few function names | purpasmart96 | 1 | -7/+9 | |
2014-12-26 | More services & small clean ups | purpasmart96 | 1 | -3/+0 | |
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 | -3/+3 | |
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 | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 1 | -4/+4 | |
2014-11-24 | HLE: Revamp error handling throrough the HLE code | Yuri Kunde Schlesner | 1 | -3/+3 | |
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 | Add static to some variables | Lioncash | 1 | -1/+1 | |
2014-11-18 | core: Mark some hle functions as static | Lioncash | 1 | -3/+3 | |
These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static. | |||||
2014-11-02 | Added ReceiveNotification, PublishToSubscriber unimplemented functions to SRV | archshift | 1 | -0/+2 | |
2014-09-09 | core: Prune redundant includes | archshift | 1 | -1/+0 | |
2014-08-31 | srv::Initialize: Return "success" status code. | bunnei | 1 | -0/+4 | |
2014-08-28 | srv::Initialize: Return "success" status code. | bunnei | 1 | -0/+4 | |
2014-08-06 | SRV: Updated GetProcSemaphore to create an event instead of a mutex. | bunnei | 1 | -8/+10 | |
2014-06-13 | HLE: Updated all uses of NULL to nullptr (to be C++11 compliant) | bunnei | 1 | -4/+4 | |
2014-06-03 | svc: added optional name field to Event and Mutex (used for debugging) | bunnei | 1 | -1/+1 | |
2014-05-30 | srv: fix to log unimplemented service (instead of crash) | bunnei | 1 | -6/+2 | |
2014-05-30 | hle: cleaned up log messages | bunnei | 1 | -3/+3 | |
2014-05-30 | srv: changed a NOTICE_LOG to DEBUG_LOG | bunnei | 1 | -1/+1 | |
2014-05-27 | srv: added a real mutex for GetProcSemaphore (instead of stubbed) | bunnei | 1 | -3/+10 | |
2014-05-19 | renamed "UID" to "Handle" where appropriate | bunnei | 1 | -2/+2 | |
2014-05-19 | - moved Handle/Result definitions to kernel.h | bunnei | 1 | -1/+1 | |
- added ResetType enum | |||||
2014-05-17 | added stubbed GetProcSemaphore - does nothing but avoids an exception | bunnei | 1 | -1/+7 | |
2014-05-08 | - removed HLE mem "hack" and replaced with kernel mem region | bunnei | 1 | -1/+1 | |
- added a helper function for getting command buffer for services - fixed bug where GSP DMA was incorrectly being done in DataSynchronizationBarrier (instead of gsp_TriggerCmdReqQueue) | |||||
2014-04-25 | - refactored how service functions are called | bunnei | 1 | -3/+3 | |
- added option to create/delete service handles | |||||
2014-04-17 | fixed bug with printing std::string in log messages | bunnei | 1 | -2/+2 | |
2014-04-17 | updated service comments | bunnei | 1 | -0/+3 | |
2014-04-16 | - added stubbed out GSP::Gpu service interface | bunnei | 1 | -1/+1 | |
- various cleanups/refactors to HLE services | |||||
2014-04-16 | restructured hle:services completely to use function lookup tables | bunnei | 1 | -0/+55 | |