Liam
31bf57a310
general: properly support multiple memory instances
2 years ago
Liam
a529ef4c09
sm:: fix tipc deserialization
2 years ago
Liam
34e4012998
service: use interface factory in server manager
2 years ago
Liam
40bb176c39
kernel: implement remaining IPC syscalls
2 years ago
Liam
84cb20bc72
core: remove ResultVal type
3 years ago
Liam
1b5c87ab6a
kernel: match calls to Register and Unregister
3 years ago
Liam
097c25b164
kernel: convert KPort, KSession
3 years ago
Liam
1d0fe75e7c
hle: rename legacy errors to Results
3 years ago
Liam
65be230fdd
service: move hle_ipc from kernel
3 years ago
Liam
72e5552409
sm:: fix lingering session initialization issues
3 years ago
Liam
6e0a33089b
sm:: support service registration deferral
3 years ago
Liam
a936972614
service: refactor server architecture
Converts services to have their own processes
3 years ago
Liam
77b74f5d95
sm:: avoid excessive port recreation
3 years ago
Liam
983f2b7074
kernel: invert session request handling flow
3 years ago
Liam
4e9adae5da
kernel: more complete fix for KPort reference counting
3 years ago
Liam
d867ae5ab6
k_server_session: fix crashes
3 years ago
Liam
61a8696510
k_server_session: preliminary support for userspace server sessions
4 years ago
german77
a7d9be1384
core: Replace all instances of ResultCode with Result
4 years ago
Morph
99ceb03a1c
general: Convert source file copyright comments over to SPDX
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.
4 years ago
bunnei
a7f73d606f
hle: kernel: Unify and integrate reference tracking for KServerPort/KServerSession.
- These are not managed elsewhere, and need to be tracked and closed on emulation shutdown.
4 years ago
bunnei
d737652d08
hle: service: sm: Remove manual tracking of KServerPorts.
4 years ago
bunnei
bf1750664c
hle: service: Add option for service interfaces to create or use the default thread.
4 years ago
bunnei
8873c0c3db
core: hle: service: sm: Fix KPort reference count.
4 years ago
ameerj
7c4b6aab2e
core: Remove unused includes
4 years ago
Morph
cb09ea0f01
general: Remove MakeResult helpers
This is made obsolete by the presence of implicit constructors.
4 years ago
bunnei
7bd020e030
hle: service: sm: Refactor to better manage ports.
5 years ago
Morph
c6d7da88c7
service: Append service name prefix to common filenames
5 years ago
bunnei
781c85b951
hle: service: sm: Remove redundant session reservation, etc.
- We were double-reserving, causing us to run out of sessions in Pokemon Sword & Shield.
5 years ago
bunnei
ec5674a6ad
hle: service: sm: Fix GetService setup of session & port.
5 years ago
bunnei
27ce97fd42
hle: kernel: Refactor to allocate a ServiceThread per service handler.
- 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 .
5 years ago
Morph
12c1766997
general: Replace RESULT_SUCCESS with ResultSuccess
Transition to PascalCase for result names.
5 years ago
bunnei
7361eac10f
hle: kernel: Implement CloneCurrentObject and improve session management.
5 years ago
bunnei
c40e7593f5
Revert "WORKAROUND: temp. disable session resource limits while we work out issues"
This reverts commit fc086f93b2 .
5 years ago
bunnei
fc086f93b2
WORKAROUND: temp. disable session resource limits while we work out issues
5 years ago
bunnei
2c1e119c4a
hle: service: sm: Add TIPC support.
- Fixes our error checking of names as well.
5 years ago
bunnei
49c4c329f6
hle: service: sm: GetService: Reserve session resource when we create a KSession.
5 years ago
bunnei
934b2d8842
hle: service: sm: Improve Initialize implementation.
5 years ago
bunnei
bf380b8584
hle: kernel: Remove deprecated Object class.
5 years ago
bunnei
626f746971
hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject.
5 years ago
bunnei
7a06864100
hle: kernel: Migrate KServerPort to KAutoObject.
5 years ago
bunnei
0297448fbc
hle: kernel: Migrate KClientPort to KAutoObject.
5 years ago
bunnei
7444963bbb
hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject.
5 years ago
bunnei
5e5933256b
hle: kernel: Refactor IPC interfaces to not use std::shared_ptr.
5 years ago
german77
6c81332ca7
sm: Use proper names, update to 12.x
5 years ago
bunnei
35c3c078e3
core: hle: kernel: Update KSynchronizationObject.
5 years ago
Lioncash
1a954b2a59
service: Eliminate usages of the global system instance
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
5 years ago
Lioncash
057aa6275d
service/sm: Slightly more efficient string name validation
We can check the end of the string first for null-termination, rather
than the beginning of the string.
6 years ago
Lioncash
78b1bc3b61
service/sm: Eliminate dependency on the global system instance
6 years ago
Lioncash
ffdf8c0cb3
service: Remove two usages of the global system accessor
Removes more instances of reliance on global state.
6 years ago
Fernando Sahmkow
48fa3b7a0f
General: Cleanup legacy code.
6 years ago