summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_client_session.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-12-06kernel: implement remaining IPC syscallsLiam1-15/+3
2023-03-13kernel: remove kernel_Liam1-1/+1
2023-03-13kernel: convert KPort, KSessionLiam1-6/+5
2022-10-12k_server_session: preliminary support for userspace server sessionsLiam1-2/+1
2022-06-27core: Replace all instances of ResultCode with Resultgerman771-3/+3
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-06-07hle: kernel: KAutoObjectWithListContainer: Use boost::instrusive::rbtree.bunnei1-2/+2
- Fixes some crashes introduced by our common intrusive red/black tree impl.
2021-05-29kernel: Add missing override specifiersLioncash1-2/+2
Over the course of the kernel refactoring a tiny bit of missing overrides slipped through review, so we can add these. While we're at it, we can remove redundant virtual keywords where applicable as well.
2021-05-08kernel: Eliminate variable shadowingLioncash1-1/+1
Now that the large kernel refactor is merged, we can eliminate the remaining variable shadowing cases.
2021-05-06fixup! hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.bunnei1-1/+1
2021-05-06hle: kernel: Remove deprecated Object class.bunnei1-19/+0
2021-05-06hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.bunnei1-21/+33
2021-05-06hle: kernel: Refactor out various KThread std::shared_ptr usage.bunnei1-1/+1
2021-01-29core: hle: kernel: object: Implement Finalize() virtual method.bunnei1-0/+2
2021-01-29core: hle: kernel: Rename Thread to KThread.bunnei1-2/+2
2021-01-11core: hle: kernel: Update KSynchronizationObject.bunnei1-6/+2
2020-09-14kernel: Remove all dependencies on the global system instanceLioncash1-1/+6
With this, the kernel finally doesn't depend directly on the global system instance anymore.
2020-04-17core: memory: Move to Core::Memory namespace.bunnei1-2/+2
- helpful to disambiguate Kernel::Memory namespace.
2020-02-11Kernel: Refactor synchronization to better match REFernando Sahmkow1-0/+2
2020-02-11Kernel: Change WaitObject to Synchronization object. In order to better reflect RE.Fernando Sahmkow1-2/+2
2019-11-28kernel: Implement a more accurate IPC dispatch.bunnei1-6/+15
2019-11-27core: Prepare various classes for memory read/write migrationLioncash1-1/+5
Amends a few interfaces to be able to handle the migration over to the new Memory class by passing the class by reference as a function parameter where necessary. Notably, within the filesystem services, this eliminates two ReadBlock() calls by using the helper functions of HLERequestContext to do that for us.
2019-11-25kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154)bunnei1-4/+4
* 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-04-11kernel: Make handle type declarations constexprLioncash1-1/+1
Some objects declare their handle type as const, while others declare it as constexpr. This makes the const ones constexpr for consistency, and prevent unexpected compilation errors if these happen to be attempted to be used within a constexpr context.
2019-03-06kernel/client_session: Make data members privateLioncash1-4/+5
These can be made private, as they aren't accessed in contexts that require them to be public.
2019-01-01core/kernel: Remove unnecessary inclusionsLioncash1-2/+2
Gets rid of a few unnecessary header dependencies in some source files.
2018-08-29kernel: Eliminate kernel global stateLioncash1-2/+3
As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header.
2018-08-02kernel: Move object class to its own source filesLioncash1-1/+1
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.
2018-01-25hle: Integrate Domain handling into ServerSession.bunnei1-1/+2
2018-01-25hle: Remove Domain and SyncObject kernel objects.bunnei1-2/+1
2018-01-21Format: Run the new clang format on everythingJames Rowe1-1/+1
2017-12-29kernel: Add SyncObject primitive, use it for ClientSession.bunnei1-8/+3
2017-06-29Kernel/SVC: Pass the current thread as a parameter to ClientSession::SendSyncRequest.Subv1-1/+3
2017-05-30Kernel: Move HandleTable to a separate fileYuri Kunde Schlesner1-2/+1
2017-05-22Kernel/Sessions: Remove the ClientSession::Create function.Subv1-7/+0
It is not meant to be used by anything other than CreateSessionPair.
2017-05-15Kernel: Remove a now unused enum and variable regarding a session's status.Subv1-7/+0
2017-05-15Kernel: Use a Session object to keep track of the status of a Client/Server session pair.Subv1-5/+6
Reduce the associated port's connection count when a ServerSession is destroyed.
2016-12-14Fixed the codestyle to match our clang-format rules.Subv1-5/+6
2016-12-08Added a framework for partially handling Session disconnections.Subv1-2/+9
Further implementation will happen in a future commit. Fixes a regression.
2016-12-05KServerPorts now have an HLE handler "template", which is inherited by all ServerSessions created from it.Subv1-9/+12
2016-12-01Fixed the rebase mistakes.Subv1-8/+9
2016-12-01A bit of a redesign.Subv1-4/+1
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-01IPC/HLE: Associate the ClientSessions with their parent port's HLE interface if it exists.Subv1-0/+6
Pass the triggering ServerSession to the HLE command handler to differentiate which session caused the request.
2016-12-01 Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.Subv1-0/+50
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.