SVC: Difference between revisions

Line 219: Line 219:


== svcSetHeapSize ==
== svcSetHeapSize ==
Size must be a multiple of 0x2000000. The heap base-address is written to out.
'''Description:''' Set the process heap to a given size. It can both extend and shrink the heap.


It allows both extending and shrinking the heap.
Size must be a multiple of 0x2000000.
 
On success, the heap base-address (which is fixed by kernel, aslr'd) is written to outaddr.


== svcSetMemoryPermission ==
== svcSetMemoryPermission ==