summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/sm/sm_controller.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-27core: Replace all instances of ResultCode with Resultgerman771-1/+1
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-11-04core: Remove unused includesameerj1-2/+0
2021-07-14service: Append service name prefix to common filenamesMorph1-1/+1
2021-06-05hle: kernel: Refactor to allocate a ServiceThread per service handler.bunnei1-27/+10
- Previously, we would allocate a thread per session, which adds new threads on CloneCurrentObject. - This results in race conditions with N sessions queuing requests to the same service interface. - Fixes Pokken Tournament DX crashes/softlocks, which were regressed by #6347.
2021-06-02general: Replace RESULT_SUCCESS with ResultSuccessMorph1-3/+3
Transition to PascalCase for result names.
2021-05-21hle: kernel: Implement CloneCurrentObject and improve session management.bunnei1-7/+32
2021-05-11hle: kernel: KSession: Improve implementation of CloneCurrentObject.bunnei1-2/+10
2021-05-11hle: service: sm: Increase point buffer size.bunnei1-1/+1
2021-05-06hle: kernel: Remove deprecated Object class.bunnei1-1/+1
2021-05-06hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.bunnei1-4/+4
2021-05-06hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.bunnei1-1/+1
2020-11-27service: Eliminate usages of the global system instanceLioncash1-1/+1
Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services.
2020-06-29Remove duplicate functionsVolcaEM1-2/+0
2020-06-29Use decimal instead of hexadecimalVolcaEM1-3/+5
Co-authored-by: David <25727384+ogniK5377@users.noreply.github.com>
2020-06-29service: Update function tablesVolcaEM1-9/+10
2020-03-23sm/controller: Increase PointerBufferSizeFearlessTobi1-1/+1
This increases the PointerBufferSize as a lager one is required by some services. This change is still not hw-accurate, but it is proven to work in Ryujinx. Instead of using a hardcoded size, we should figure out the specific values for each service in the future. Some of them can be taken from Atmosphere: https://github.com/Atmosphere-NX/Atmosphere/search?q=PointerBufferSize.
2019-11-28kernel: Implement a more accurate IPC dispatch.bunnei1-4/+1
2019-11-25kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei1-1/+1
* 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.
2019-03-06kernel/server_session: Make data members privateLioncash1-1/+1
Makes it much nicer to locally reason about server session behavior, as part of its functionality isn't placed around other classes.
2018-11-26Changed logging to be "Log before execution", Added more error logging, all services should now log on some levelDavid Marcec1-5/+6
2018-09-25service: Add missing headers inclusions where applicableLioncash1-0/+3
Gets rid of a few indirect inclusions.
2018-09-06core/core: Remove unnecessary sm/controller includeLioncash1-0/+2
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.
2018-08-15kernel/server_session: Add IsSession() member functionLioncash1-1/+1
Allows querying the inverse of IsDomain() to make things more readable. This will likely also be usable in the event of implementing ConvertDomainToSession().
2018-08-15sm/controller: Correct return value of QueryPointerBufferSizeLioncash1-1/+1
This should be returning a u16 according to Switch Brew.
2018-07-03Rename logging macro back to LOG_*James Rowe1-4/+4
2018-04-24sm: Move logging macros over to new fmt-compatible onesLioncash1-4/+4
2018-04-20service: Use nested namespace specifiers where applicableLioncash1-4/+2
Tidies up namespace declarations
2018-02-03controller: DuplicateSession should return a ClientSession.bunnei1-4/+9
2018-01-25ResponseBuilder: Use a bit field for customizing instead of always_move_handles.bunnei1-1/+1
2018-01-25hle: Rename RequestBuilder to ResponseBuilder.bunnei1-3/+3
2018-01-25service: Fix all incorrect IPC response headers.bunnei1-2/+1
2018-01-25hle: Integrate Domain handling into ServerSession.bunnei1-7/+5
2018-01-25hle: Remove Domain and SyncObject kernel objects.bunnei1-1/+0
2018-01-18controller: Use DuplicateSession for DuplicateSessionEx.bunnei1-1/+7
2018-01-13yuzu: Update license text to be consistent across project.bunnei1-1/+1
2018-01-07IPC: Make DuplicateSession return the Domain instead of the Session if the request was made on a Domain interface.Subv1-1/+5
2018-01-07IPC: Corrected some command headers in the IPC Controller interface.Subv1-4/+2
2018-01-07IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests.Subv1-1/+1
Popping objects from the buffer is still not implemented.
2017-12-29controller: Implement DuplicateSession.bunnei1-9/+10
2017-12-29kernel: Fix implementation of ConvertSessionToDomain.bunnei1-12/+6
2017-12-28service: Clean up apm/lm/applet_oe/controller/sm ctor/dtor.bunnei1-2/+0
2017-10-15hle: Implement ConvertSessionToDomain, various cleanups.bunnei1-6/+24
2017-10-15hle: Initial implementation of NX service framework and IPC.bunnei1-0/+42