Liam
2d90a927c9
core: barrier service thread shutdown
3 years ago
Nikita Strygin
1cf6f5c623
Properly write out the command buffer when serving close request
3 years ago
german77
c0264d2121
service: ptm: Rewrite PSM and add TS
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
Liam
0cfcee95c7
service: jit: stub JIT service
4 years ago
bunnei
bf1750664c
hle: service: Add option for service interfaces to create or use the default thread.
4 years ago
bunnei
7f4165fc05
hle: vi: Integrate new NVFlinger and HosBinderDriverServer service.
4 years ago
Narr the Reg
6705439cf3
service/mnpp: Stub mnpp_app
Used in Super Nintendo Entertainment System™ - Nintendo Switch Online
4 years ago
ameerj
7c4b6aab2e
core: Remove unused includes
4 years ago
german77
f134a5e56c
ngct: Stub NGCT:U service
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
Lioncash
d0b1f2bd05
General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable
Also removes some deprecated API usages.
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
21671d05a3
hle: service: Add support for dispatching TIPC requests.
5 years ago
bunnei
da25a59866
hle: service: Implement IPC::CommandType::Close.
- This was not actually closing sessions before.
5 years ago
bunnei
41928dfdda
hle: service: sm: Use RegisterNamedService to register the service.
5 years ago
bunnei
c6de9657be
hle: kernel: Implement named service ports using service interface factory.
- This allows us to create a new interface each time ConnectToNamedPort is called, removing the assumption that these are static.
5 years ago
bunnei
2a7eff57a8
hle: kernel: Rename Process to KProcess.
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
a4c6712a4b
common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
5 years ago
ameerj
54c1e0897d
configuration: Add auto stub toggle that resets on boot
Auto-stub is an experimental debugging feature that may cause unforseen bugs. This adds a toggle to only allow auto-stubbing unimplemented functions when explicitly enabled when yuzu is launched.
5 years ago
ameerj
e6e61424d4
service: Auto stub fallback
For simple services we can implement an automatic stub fallback to help with compatibility until a proper implementation is done.
Co-Authored-By: Chloe <25727384+ognik5377@users.noreply.github.com>
5 years ago
bunnei
c0d3aef28c
core: hle: kernel: Rename Thread to KThread.
5 years ago
bunnei
7d77a3f88f
hle: service: Acquire and release a lock on requests.
- This makes it such that we can safely access service members from CoreTiming thread.
5 years ago
bunnei
bea51d948d
hle: service: Ensure system is powered on before writing IPC result.
5 years ago
Lioncash
6b7320add4
core: Remove unnecessary enum casts in log calls
Follows the video core PR. fmt doesn't require casts for enum classes
anymore, so we can remove quite a few casts.
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
bunnei
7791cc8c2e
hle: services: Fix a crash with improper NVFlinger lifetime management. ( #4977 )
* hle: services: Fix a crash with improper NVFlinger lifetime management.
- This crash would happen when attempting to shutdown yuzu early on in boot.
5 years ago
bunnei
6e37676482
hle: service: Stub OLSC Initialize and SetSaveDataBackupSettingEnabled functions.
- Used by Animal Cross: New Horizons v1.6.0 update, minimal stub gets this update working.
5 years ago
bunnei
3d592972dc
Revert "core: Fix clang build"
5 years ago
Lioncash
be1954e04c
core: Fix clang build
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
5 years ago
Lioncash
f3a1bf53f9
service: Restore "unused" function
Turns out this function is actually used, but within a trace log.
5 years ago
Lioncash
8bbd82863d
service: Remove unused funcation
This is now completely unused, so it can be removed.
5 years ago
Lioncash
ffdf8c0cb3
service: Remove two usages of the global system accessor
Removes more instances of reliance on global state.
5 years ago
ReinUsesLisp
f7d59f3e0e
services/bsd: Implement most of bsd:s
This implements: Socket, Poll, Accept, Bind, Connect, GetPeerName,
GetSockName, Listen, Fcntl, SetSockOpt, Shutdown, Recv, RecvFrom,
Send, SendTo, Write, and Close
The implementation was done referencing: SwIPC, switchbrew, testing
with libnx and inspecting its code, general information about bsd
sockets online, and analysing official software.
Not everything from these service calls is implemented, but everything
that is not implemented will be logged in some way.
6 years ago
bunnei
c3d3b173d3
kernel: Implement a more accurate IPC dispatch.
6 years ago
bunnei
9046d4a548
kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. ( #3154 )
* 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.
6 years ago
Zach Hilman
19c466dfb1
bcat: Add FSC accessors for BCAT data
Ports BCAT to use FSC interface
6 years ago
Zach Hilman
4153bd8d17
core: Add LM::Manager to system
Allows centralized control over logging mechanisms.
7 years ago
David Marcec
e73ac40eaa
Removed reference to core timing to nvflinger and used system instead
6 years ago
David Marcec
fcdbf0bc53
Rebase
6 years ago
Zach Hilman
8dd2e91427
prepo: Remove system global accessors
6 years ago
Zach Hilman
038bcec111
configure_debug: Move reporting option to logging
6 years ago
Zach Hilman
c6ff4a6f4d
yuzu: Port old usages of Filesystem namespace to FilesystemController
7 years ago