Difference between revisions of "LOADER:LoadProcess"

From 3dbrew
Jump to navigation Jump to search
(LoadProcess)
 
(Minor fix.)
Line 9: Line 9:
 
|-
 
|-
 
| 1-2
 
| 1-2
| u64, Title
+
| u64, Title Handle
 
|}
 
|}
  

Revision as of 03:43, 10 October 2015

Request

Index Word Description
0 Header code [0x00010080]
1-2 u64, Title Handle

Response

Index Word Description
0 Header code
1 Result code
3 KProcess handle

Description

This maps 0x10000000 and reads ExeFS:/.code there, then decompresses it if needed. This then uses svcCreateProcess and svcSetupProcess. Once finished this writes the KProcess handle to cmdreply[3].