| Age | Commit message (Collapse) | Author |
|
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: Use std::mutex instead of spin locks for most kernel locking.
|
|
|
|
UnmapCodeMemory (fixes #8174)
|
|
|
|
- Instead of randomization, choose in-order addresses for where to map NROs into memory.
- This results in predictable behavior when debugging and consistent behavior when reproducing issues.
|
|
|
|
|
|
|
|
|
|
|
|
This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
|
|
|
|
This is made obsolete by the presence of implicit constructors.
|
|
Transition to PascalCase for result names.
|
|
Kernel Rework: Migrate kernel objects to KAutoObject
|
|
We can use the dedicated memory function for performing copies instead
of reading into a temporary buffer and then immediately writing it back
out to memory.
Eliminates a bit of heap memory churn.
|
|
|
|
|
|
|
|
|
|
|
|
* kernel: Unify result codes
Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways.
* oops
* rename errors to svc_results
|
|
|
|
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
|
|
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.
|
|
- Used by Final Fantasy X/X-2 HD Remaster.
|
|
Should finally resolve building with clang.
|
|
|
|
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
|
|
We were performing an int < size_t comparison. We can just correct the
type of the induction variable.
|
|
|
|
It's not needed to have it in its previous position anymore
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
According to Atmosphére (https://github.com/Atmosphere-NX/Atmosphere/blob/c7026b90940a1d88f9c10a6d98263bf22e654fa5/libraries/libstratosphere/include/stratosphere/ro/ro_types.hpp), nrr_kind (Atmosphére calls it "type") is 7.0.0+
|
|
This was based on Switchbrew pages:
https://switchbrew.org/wiki/NRR
https://switchbrew.org/wiki/NRO
|
|
Keeps the service function tables up to date.
Updated based off information on SwitchBrew.
|
|
- Should be no functional changes.
|
|
- Includes removing some service impls. that are untested.
|
|
- Fixes #3541, used by Final Fantasy VIII Remastered.
|
|
With all of the trivial parts of the memory interface moved over, we can
get right into moving over the bits that are used.
Note that this does require the use of GetInstance from the global
system instance to be used within hle_ipc.cpp and the gdbstub. This is
fine for the time being, as they both already rely on the global system
instance in other functions. These will be removed in a change directed
at both of these respectively.
For now, it's sufficient, as it still accomplishes the goal of
de-globalizing the memory code.
|
|
These functions are marked for deprecation and it's recommended that the
*_ret variants be used instead.
|