- 21 Dec, 2018 2 commits
- 19 Dec, 2018 14 commits
-
-
bunnei authored
Device handle should not be a random id, instead it's the current npad id
-
bunnei authored
Fix arrayed texture LOD selection and depth comparison ordering
-
bunnei authored
service/sm: Improve debug log for RegisterService
-
Lioncash authored
If a thread handle is passed to svcGetProcessId, the kernel attempts to access the process ID via the thread's instance's owning process. Technically, this function should also be handling the kernel debug objects as well, however we currently don't handle those kernel objects yet, so I've left a note via a comment about it to remind myself when implementing it in the future.
-
bunnei authored
kernel/svc: Implement svcSetMemoryAttribute
-
Lioncash authored
With all the basic backing functionality implemented, we can now unstub svcSetMemoryAttribute.
-
Lioncash authored
This puts the backing functionality for svcSetMemoryAttribute in place, which will be utilized in a following change.
-
Lioncash authored
vm_manager: Add member function for checking a memory range adheres to certain attributes, permissions and states
-
Lioncash authored
Starts the process ID counter off at 81, which is what the kernel itself checks against internally when creating processes. It's actually supposed to panic if the PID is less than 81 for a userland process.
-
Lioncash authored
The service call uses a 64-bit value, just like svcGetProcessId. This amends the function signature accordingly.
-
Lioncash authored
The kernel uses a 64-bit value for the thread ID, so we shouldn't be using a 32-bit value.
-
Lioncash authored
svcGetProcessId's out parameter is a pointer to a 64-bit value, not a 32-bit one.
-
Lioncash authored
In the actual kernel, this is a 64-bit value, so we shouldn't be using a 32-bit type to handle it.
-
David Marcec authored
Found during hardware testing
-
- 18 Dec, 2018 10 commits
-
-
Lioncash authored
Now it also indicates the name and max session count. This also gives a name to the unknown bool. This indicates if the created port is supposed to be using light handles or regular handles internally. This is passed to the respective svcCreatePort parameter internally.
-
bunnei authored
kernel/thread: Set default fpcr
-
bunnei authored
arm_dynarmic: Set CNTFRQ value
-
MerryMage authored
-
MerryMage authored
-
bunnei authored
shader_bytecode: Fixup half float's operator B encoding
-
bunnei authored
applets: Correct usage of SignalStateChanged event
-
ReinUsesLisp authored
-
bunnei authored
Implement postfactor multiplication/division for fmul instructions
-
Lioncash authored
This is supposed to return the current process' ID. (0 indicates an invalid ID for both process IDs and ARU IDs).
-
- 17 Dec, 2018 2 commits
- 16 Dec, 2018 2 commits
-
-
Lioncash authored
This is shorter and more concise. This also removes the now-innaccurate comment, as it's not returned wholesale to svcQueryMemory anymore.
-
Lioncash authored
Adds the barebones enumeration constants and functions in place to handle memory attributes, while also essentially leaving the attribute itself non-functional.
-
- 15 Dec, 2018 5 commits
- 14 Dec, 2018 3 commits
- 13 Dec, 2018 2 commits
-
-
Lioncash authored
We can hide the direct array from external view and instead provide functions to retrieve the necessary info. This has the benefit of completely hiding the makeup of the SinkDetails structure from the rest of the code. Given that this makes the array hidden, we can also make the array constexpr by altering the members slightly. This gets rid of several static constructor calls related to std::vector and std::function. Now we don't have heap allocations here that need to occur before the program can even enter main(). It also has the benefit of saving a little bit of heap space, but this doesn't matter too much, since the savings in that regard are pretty tiny.
-
Jens Schmer authored
Services created with the ServiceFramework base class install themselves as HleHandlers with an owning shared_ptr in the ServerPort ServiceFrameworkBase::port member variable, creating a cyclic ownership between ServiceFrameworkBase and the ServerPort, preventing deletion of the service objects. Fix that by removing the ServiceFrameworkBase::port member because that was only used to detect multiple attempts at installing a port. Instead store a flag if the port was already installed to achieve the same functionality.
-