Difference between revisions of "Loader Services"

From 3dbrew
Jump to navigation Jump to search
(Created page with "Category:Services = Loader service "Loader" = {| class="wikitable" border="1" |- ! Command Header ! Description |- | 0x0001.... | Initialize, this maps 0x10000000 and reads...")
 
Line 7: Line 7:
 
|-
 
|-
 
| 0x0001....
 
| 0x0001....
| Initialize, this maps 0x10000000 and reads ExeFS there.
+
| LoadProcess, this maps 0x10000000 and reads ExeFS:/.code there, then decompresses it if needed. This then uses [[SVC|svcCreateProcess]] and svcSetupProcess. Once finished this returns the KProcess handle in the command response.
 
|-
 
|-
 
| 0x0002....
 
| 0x0002....

Revision as of 22:29, 24 April 2014

Loader service "Loader"

Command Header Description
0x0001.... LoadProcess, this maps 0x10000000 and reads ExeFS:/.code there, then decompresses it if needed. This then uses svcCreateProcess and svcSetupProcess. Once finished this returns the KProcess handle in the command response.
0x0002.... RegisterProgram
0x0003.... UnregisterProgram
0x0004.... Shutdown