Difference between revisions of "Loader Services"
Jump to navigation
Jump to search
WulfyStylez (talk | contribs) |
|||
Line 9: | Line 9: | ||
| 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]. | | 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]. | ||
|- | |- | ||
− | | | + | | 0x00020200 |
| RegisterProgram. Writes u64 titlehandle starting at cmdreply[2]. | | RegisterProgram. Writes u64 titlehandle starting at cmdreply[2]. | ||
|- | |- | ||
− | | | + | | 0x00030080 |
| UnregisterProgram | | UnregisterProgram | ||
|- | |- |
Revision as of 00:59, 7 June 2015
Loader service "Loader"
Command Header | Description |
---|---|
0x00010080 | LoadProcess(u64 titlehandle). 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]. |
0x00020200 | RegisterProgram. Writes u64 titlehandle starting at cmdreply[2]. |
0x00030080 | UnregisterProgram |
0x00040080 | GetExheader(u64 titlehandle) |