summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/sm/sm.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel: Implement a more accurate IPC dispatch.bunnei2019-11-281-2/+4
|
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei2019-11-251-5/+5
| | | | | | * kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details.
* kernel/server_port: Make data members privateLioncash2019-03-111-1/+1
| | | | | | | With this, all kernel objects finally have all of their data members behind an interface, making it nicer to reason about interactions with other code (as external code no longer has the freedom to totally alter internals and potentially messing up invariants).
* service/sm: Take std::string by const reference in UnregisterServiceLioncash2018-11-241-1/+1
| | | | | | | | Avoids the need to create a copy of the std::string instance (potentially allocating). The only reason RegisterService takes its argument by value is because it's std::moved internally.
* sm: Implement RegisterService and UnregisterServiceZach Hilman2018-11-041-0/+3
| | | These are needed by Edizon to boot. They are used to see if a user is using SX OS, as SX OS registers a custom service called 'tx' and attempting to register a service of the same name lets the application know if it is present.
* Ported #4296 from citraDavid Marcec2018-10-061-0/+19
| | | | This will allow us to easily remove the use of "NFC" in "System"
* services/sm: Amend error code constantsLioncash2018-09-141-6/+0
| | | | | | | | Courtesy of @ogniK5377. This also moves them into the cpp file and limits the visibility to where they're directly used. It also gets rid of unused or duplicate error codes.
* core/core: Remove unnecessary sm/controller includeLioncash2018-09-061-0/+1
| | | | | | | | | | The only reason this include was necessary, was because the constructor wasn't defaulted in the cpp file and the compiler would inline it wherever it was used. However, given Controller is forward declared, all those inlined constructors would see an incomplete type, causing a compilation failure. So, we just place the constructor in the cpp file, where it can see the complete type definition, allowing us to remove this include.
* kernel: Move object class to its own source filesLioncash2018-08-021-3/+5
| | | | | | General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code.
* hle/service: Make constructors explicit where applicableLioncash2018-07-191-1/+1
| | | | | Prevents implicit construction and makes these lingering non-explicit constructors consistent with the rest of the other classes in services.
* core: Relocate g_service_manager to the System classLioncash2018-04-211-3/+3
| | | | | Converts the service manager from a global into an instance-based variable.
* service: Use nested namespace specifiers where applicableLioncash2018-04-201-4/+2
| | | | Tidies up namespace declarations
* yuzu: Update license text to be consistent across project.bunnei2018-01-131-1/+1
|
* service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor.bunnei2017-12-281-2/+2
|
* hle: Use Switch formatted result codes.bunnei2017-11-011-13/+5
|
* hle: Initial implementation of NX service framework and IPC.bunnei2017-10-151-2/+18
|
* HLE/SRV: Implemented RegisterService.Subv2017-09-241-0/+3
| | | | Now system modules can do more than just crash immediately on startup.
* Service/sm: Convert 'srv:' to ServiceFrameworkYuri Kunde Schlesner2017-06-091-2/+8
|
* Service: Make service registration part of the sm implementationYuri Kunde Schlesner2017-06-061-0/+49
Also enhances the GetServiceHandle implementation to be more accurate.