Loader services: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
= ldr: | = ldr:dmnt = | ||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || | |||
|- | |||
| 1 || | |||
|- | |||
| 2 || | |||
|} | |||
= ldr:pm = | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
| Line 7: | Line 19: | ||
|- | |- | ||
| 1 || | | 1 || | ||
|- | |||
| 2 || | |||
|- | |||
| 3 || | |||
|} | |} | ||
| Line 99: | Line 115: | ||
| 2 || Always 0. | | 2 || Always 0. | ||
|} | |} | ||
= ldr:shel = | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 0 || [[#LoadProcess]] | |||
|- | |||
| 1 || [[#ClearProcessList]] | |||
|} | |||
== LoadProcess == | |||
Takes a type-0x19 input buffer with launch arguments (as string), an u32 (size of arguments string), and an input title-id. | |||
Loads a process for the specified title-id and passes along the supplied arguments. | |||
Loaded processes are kept in a queue waiting for PM to launch them. The maximum number of waiting processes in this list is 10. | |||
== ClearProcessList == | |||
Clears the loaded processes waiting queue. | |||
[[Category:Services]] | [[Category:Services]] | ||