Liam
d414904aef
service: jit: stub JIT service
4 years ago
bunnei
f1a91e0397
hle: vi: Integrate new NVFlinger and HosBinderDriverServer service.
4 years ago
Narr the Reg
4eef3a0cde
service/mnpp: Stub mnpp_app
Used in Super Nintendo Entertainment System™ - Nintendo Switch Online
4 years ago
ameerj
d27abf5546
core: Remove unused includes
4 years ago
german77
b036d9df7d
ngct: Stub NGCT:U service
4 years ago
bunnei
4e7c75d592
hle: service: sm: Refactor to better manage ports.
5 years ago
Morph
d66442a4e1
service: Append service name prefix to common filenames
5 years ago
Lioncash
f4d6293427
General: Resolve fmt specifiers to adhere to 8.0.0 API where applicable
Also removes some deprecated API usages.
5 years ago
bunnei
8bf7b19d1d
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
7ebc38a6d1
general: Replace RESULT_SUCCESS with ResultSuccess
Transition to PascalCase for result names.
5 years ago
bunnei
6e3c9d2b06
hle: kernel: Implement CloneCurrentObject and improve session management.
5 years ago
bunnei
fe91306d87
hle: service: Add support for dispatching TIPC requests.
5 years ago
bunnei
80d920e464
hle: service: Implement IPC::CommandType::Close.
- This was not actually closing sessions before.
5 years ago
bunnei
e9d3612085
hle: service: sm: Use RegisterNamedService to register the service.
5 years ago
bunnei
777e7c52ba
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
ad048de3d6
hle: kernel: Rename Process to KProcess.
5 years ago
bunnei
d6844cf75f
hle: kernel: Migrate KPort, KClientPort, and KServerPort to KAutoObject.
5 years ago
bunnei
2bc45b4a13
hle: kernel: Migrate KServerPort to KAutoObject.
5 years ago
bunnei
9f1abd8188
hle: kernel: Migrate KClientPort to KAutoObject.
5 years ago
bunnei
7a76bc30fa
common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
5 years ago
ameerj
96fbe4f630
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
96bf3fa674
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
3d70b4a4ea
core: hle: kernel: Rename Thread to KThread.
5 years ago
bunnei
e5f216261e
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
8cf0ba96d9
hle: service: Ensure system is powered on before writing IPC result.
5 years ago
Lioncash
8f135703dc
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
346271b80b
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
5f53d285aa
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
655892e84b
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
deb3536936
Revert "core: Fix clang build"
5 years ago
Lioncash
18636013c9
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
711c5c7bdf
service: Restore "unused" function
Turns out this function is actually used, but within a trace log.
5 years ago
Lioncash
341c612474
service: Remove unused funcation
This is now completely unused, so it can be removed.
5 years ago
Lioncash
054735e3fe
service: Remove two usages of the global system accessor
Removes more instances of reliance on global state.
5 years ago
ReinUsesLisp
853ee47a15
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
4a4516868c
kernel: Implement a more accurate IPC dispatch.
6 years ago
bunnei
5cb0f276fe
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
d4de82fcdb
bcat: Add FSC accessors for BCAT data
Ports BCAT to use FSC interface
6 years ago
Zach Hilman
2fa697bb7c
core: Add LM::Manager to system
Allows centralized control over logging mechanisms.
7 years ago
David Marcec
827c35bac0
Removed reference to core timing to nvflinger and used system instead
6 years ago
David Marcec
f18f3f6b8e
Rebase
6 years ago
Zach Hilman
447ada6c0a
prepo: Remove system global accessors
6 years ago
Zach Hilman
04078a2139
configure_debug: Move reporting option to logging
6 years ago
Zach Hilman
c3ad37b707
yuzu: Port old usages of Filesystem namespace to FilesystemController
7 years ago
Zach Hilman
e443d76a29
services: Pass FileSystemController as reference to services that need it
7 years ago
Lioncash
b8c8916ab8
service/audio: Remove global system accessors
Trims out the lingering reliance on global state out of the audio code.
7 years ago
Fernando Sahmkow
531e3431fb
nv_services: Deglobalize NvServices
7 years ago
Zach Hilman
a6f0026b75
am: Implement SetCpuBoostMode in terms of APM
7 years ago
Zach Hilman
512a47c184
fsp-srv: Implement OutputAccessLogToSdCard
Allows games to log data to the SD.
7 years ago
Zach Hilman
a37e318a69
pm: Implement pm:shell and pm:dmnt GetApplicationPid
Returns the process ID of the current application or 0 if no app is running.
7 years ago