LDN services: Difference between revisions

No edit summary
Line 401: Line 401:
=== InitializeWithVersion ===
=== InitializeWithVersion ===
Takes an input PID, a s32 version, and an u64 pid_placeholder.
Takes an input PID, a s32 version, and an u64 pid_placeholder.
Official sw uses hard-coded value 0x1 for the version.


The version must not be negative.
The version must not be negative.
Line 413: Line 411:


[[#GetState|State]] must be 0, this cmd eventually sets the State to value 1.
[[#GetState|State]] must be 0, this cmd eventually sets the State to value 1.
Version values passed by official sw:
{| class="wikitable" border="1"
|-
! Value || SystemVersion
|-
| 0x1 || [7.0.0+]
|-
| 0x2 || [18.0.0+]
|-
| 0x3 || [19.0.0+]
|-
| 0x4 || [20.0.0+]
|}


=== InitializeWithPriority ===
=== InitializeWithPriority ===