Difference between revisions of "Loader Services"

From 3dbrew
Jump to navigation Jump to search
m (GetProgramInfo)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
|-
 
|-
 
| 0x00010080
 
| 0x00010080
| LoadProcess(u64 titlehandle). This maps 0x10000000 and reads ExeFS:/.code there, then decompresses it if needed. This then uses [[SVC|svcCreateProcess]] and svcSetupProcess. Once finished this writes the KProcess handle to cmdreply[3].
+
| [[LOADER:LoadProcess|LoadProcess]]
 
|-
 
|-
 
| 0x00020200
 
| 0x00020200
| RegisterProgram. Writes u64 titlehandle starting at cmdreply[2].
+
| [[LOADER:RegisterProgram|RegisterProgram]]
 
|-
 
|-
 
| 0x00030080
 
| 0x00030080
| UnregisterProgram
+
| [[LOADER:UnregisterProgram|UnregisterProgram]]
 
|-
 
|-
 
| 0x00040080
 
| 0x00040080
| GetExheader(u64 titlehandle)
+
| [[LOADER:GetProgramInfo|GetProgramInfo]]
 
|}
 
|}

Latest revision as of 07:32, 11 October 2015

Loader service "Loader"[edit]

Command Header Description
0x00010080 LoadProcess
0x00020200 RegisterProgram
0x00030080 UnregisterProgram
0x00040080 GetProgramInfo