german77
c73bb33ff1
service: hle: Allow to access read buffer A and X directly
2 years ago
Liam
65be230fdd
service: move hle_ipc from kernel
3 years ago
Liam
a936972614
service: refactor server architecture
Converts services to have their own processes
3 years ago
arades79
683019878f
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
45e13b03f3
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
Liam
ceda2d280e
general: rename CurrentProcess to ApplicationProcess
3 years ago
ameerj
2d2522693e
Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span"
This reverts commit 25fc5c0e11 , reversing
changes made to af20e25081 .
3 years ago
liamwhite
b01698775b
Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer"
3 years ago
ameerj
a1490d77ac
hle_ipc: Rename ReadBufferSpan to ReadBuffer
3 years ago
ameerj
7ffd624248
service: Use ReadBufferSpan where it is trivial to do so
3 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
Morph
a6e6a5ac38
general: Get the current process program id directly from the system
This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
4 years ago
Morph
64275dfbf4
general: Rename GetTitleID to GetProgramID
4 years ago
Morph
12c1766997
general: Replace RESULT_SUCCESS with ResultSuccess
Transition to PascalCase for result names.
5 years ago
bunnei
2a7eff57a8
hle: kernel: Rename Process to KProcess.
5 years ago
bunnei
34bed1ab41
hle: kernel: Refactor out various KThread std::shared_ptr usage.
5 years ago
Morph
7d9465d47a
prepo: Stub GetTransmissionStatus
5 years ago
Morph
2394807b42
prepo: Stub RequestImmediateTransmission
- Used by Animal Crossing: New Horizons
5 years ago
german
9150b8972e
Stub GetSystemSessionId
5 years ago
Morph
ae6b3bdfbf
prepo: Fix BufferDescriptorX invalid buffer errors and add "New" variants of SaveReport
The second input buffer could be optional when prepo/srepo is called, test for the availability of the second buffer prior to reading from it.
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
Lioncash
da7be67daf
ipc_helpers: Remove usage of the global system instance
Resolves numerous deprecation warnings throughout the codebase due to
inclusion of this header. Now building core should be significantly less
noisy (and also relying on less global state).
This also uncovered quite a few modules that were relying on indirect
includes, which have also been fixed.
5 years ago
VolcaEM
6a0010d0c6
service: Update function tables
6 years ago
David Marcec
2f0b322e72
prepo: : Don't read extra buffer from report unless passed
Prepo doesn't always pass a secondary buffer, we assume it always does which leads to a bad read.
6 years ago
Lioncash
99eaa2e6f2
service: Update function tables
Keeps the service function tables up to date.
Updated based off information on SwitchBrew.
6 years ago
bunnei
2245c24e21
services: prepo: Fix IPC interface with SaveReport/SaveReportWithUser.
6 years ago
Lioncash
e21b6ff79d
service: Update function tables
Keeps the function tables up to date.
Updated based off information from Switchbrew.
6 years ago
David Marcec
36a97dd8a2
Rebase
6 years ago
Zach Hilman
8dd2e91427
prepo: Remove system global accessors
6 years ago
Zach Hilman
daf9cd9358
prepo: Implement SaveReport New and System variants
7 years ago
Zach Hilman
b77fde7c5c
loader: Move NSO module tracking to AppLoader
Also cleanup of general stuff
7 years ago
Zach Hilman
cdf52b9374
prepo: Save reports from PlayReport service
Logs a lot of seemingly innocuous telemetry games generate.
7 years ago
Lioncash
ae7f55947e
prepo: Update service function table.
Also introduces the new prepo:a2 service.
Updated based off information provided by Switchbrew.
7 years ago
Lioncash
325c259fc5
service/prepo: Move class into the cpp file
This doesn't need to be exposed within the header and be kept in the
translation unit, eliminating the need to include anything within the
header.
7 years ago
James Rowe
638956aa81
Rename logging macro back to LOG_*
8 years ago
David Marcec
abc23416e8
Switched to NGLOG_WARNING
8 years ago
David Marcec
f1f7f2cba9
Added PREPO to logging backend, Removed comments from SaveReportWithUser
8 years ago
David Marcec
27650499bc
GetIUserInterface->CreateUserInterface, Added todos and stub logs. Playreport->PlayReport.
8 years ago
David Marcec
f3137d3bc1
Implemented GetIUserInterface properly, Playreport and SSL::SetInterfaceVersion. Fixed ipc issues with IAudioDevice(wrong ids)
8 years ago