summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_server_session.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: Replace all instances of ResultCode with Resultgerman772022-06-271-6/+6
|
* common: Change semantics of UNREACHABLE to unconditionally crashLiam2022-06-141-2/+2
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-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.
* hle: kernel: Unify and integrate reference tracking for KServerPort/KServerSession.bunnei2022-04-081-0/+3
| | | | - These are not managed elsewhere, and need to be tracked and closed on emulation shutdown.
* core: hle: kernel: Remove server session tracking.bunnei2022-03-151-4/+1
| | | | - These are now allocated/managed by emulated memory, so we do not need to track and free them on shutdown.
* core: hle: kernel: k_server_session: Ensure SessionRequestManager is freed.bunnei2022-03-151-0/+3
|
* core: hle: kernel: Use weak_ptr where possible for SessionRequestHandler and SessionRequestManager.bunnei2022-03-151-1/+6
|
* hle: kernel: KServerSession: Remove hack for CompleteSyncRequest.bunnei2022-01-211-11/+0
| | | | - This does not appear to be necessary anymore.
* hle: kernel: KServerSession: Simplify CompleteSyncRequest EndWait.bunnei2022-01-211-7/+2
| | | | | - Considering is_thread_waiting is never set, so we can remove IsThreadWaiting. - KThread::EndWait will take the scheduler lock, so we can remove the redundant lock.
* hle: kernel: KServerSession: Migrate to updated KThreadQueue.bunnei2021-12-071-2/+1
|
* hle: kernel: KThread: Remove tracking of sync object from threads.bunnei2021-12-071-1/+1
|
* core: Fix transitive include build errorsameerj2021-11-041-0/+1
|
* core: Remove unused includesameerj2021-11-041-1/+0
|
* hle: kernel: Track and release server sessions, and protect methods with locks.bunnei2021-07-211-1/+4
|
* hle: kernel: KServerSession: Work-around scenario where session is closed too early.bunnei2021-06-081-7/+24
|
* hle: kernel: hle_ipc: Ensure SessionRequestHandler is valid.bunnei2021-06-081-4/+9
|
* hle: kernel: Remove service thread manager and use weak_ptr.bunnei2021-06-081-1/+1
| | | | | - We no longer need to queue up service threads to be destroyed. - Fixes a race condition where a thread could be destroyed too early, which caused a crash in Pokemon Sword/Shield.
* hle: kernel: KServerSession: Use ASSERT_MSG where appropriate.bunnei2021-06-071-1/+1
|
* hle: kernel: k_server_session: Return service thread by strong pointer.bunnei2021-06-071-1/+1
|
* hle: kernel: k_server_session: Ensure service thread is valid before dereference.bunnei2021-06-071-1/+3
|
* hle: kernel: KAutoObjectWithListContainer: Use boost::instrusive::rbtree.bunnei2021-06-071-2/+2
| | | | - Fixes some crashes introduced by our common intrusive red/black tree impl.
* hle: kernel: Refactor to allocate a ServiceThread per service handler.bunnei2021-06-051-8/+13
| | | | | | - 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.
* general: Replace RESULT_SUCCESS with ResultSuccessMorph2021-06-021-8/+8
| | | | Transition to PascalCase for result names.
* hle: kernel: Implement CloneCurrentObject and improve session management.bunnei2021-05-211-20/+15
|
* hle: service: Implement IPC::CommandType::Close.bunnei2021-05-111-2/+2
| | | | - This was not actually closing sessions before.
* kernel: Eliminate variable shadowingLioncash2021-05-081-1/+1
| | | | | Now that the large kernel refactor is merged, we can eliminate the remaining variable shadowing cases.
* hle: kernel: Migrate to KHandleTable.bunnei2021-05-061-1/+1
|
* hle: kernel: Rename Process to KProcess.bunnei2021-05-061-1/+1
|
* hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject.bunnei2021-05-061-1/+1
|
* hle: kernel: Migrate KClientPort to KAutoObject.bunnei2021-05-061-1/+1
|
* hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.bunnei2021-05-061-0/+164