Difference between revisions of "Loader services"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 44: Line 44:
 
| 2 || Always 0.
 
| 2 || Always 0.
 
|-
 
|-
| 3 || Nro address
+
| 3 || Nro heap address
 
|-
 
|-
 
| 4 || Nro size
 
| 4 || Nro size
 
|-
 
|-
| 5 ||
+
| 5 || Bss backing heap address
 
|-
 
|-
 
| 6 || Bss size
 
| 6 || Bss size

Revision as of 23:01, 27 June 2017

ldr:shel

Cmd Name
0
1

ldr:ro

Cmd Name
0 #LoadNro
1 UnloadNro
2 #LoadNrr
3 UnloadNrr
4 #Initialize

LoadNro

Word Value
0 0x00000004
1 0x80000012
2 0x00000001
0-1 Pid
0 "SCFI"
1 0x00000000
2 Always 0.
3 Nro heap address
4 Nro size
5 Bss backing heap address
6 Bss size

LoadNrr

Word Value
0 0x00000004
1 0x8000000E
2 0x00000001
0-1 Pid
0 "SFCI"
1 0x00000002
2 Always 0.
3 Nrr address
4 Nrr size

Initialize

Word Value
0 0x00000004
1 0x8000000A
2 0x00000003
0-1 Pid
2 Process handle (0xFFFF8001)
0 "SFCI"
1 0x00000004
2 Always 0.