SVC: Difference between revisions
Line 256: | Line 256: | ||
'''Description:''' Set the process heap to a given Size. It can both extend and shrink the heap. | '''Description:''' Set the process heap to a given Size. It can both extend and shrink the heap. | ||
Size must be a multiple of 0x200000. | Size must be a multiple of 0x200000 (2MB). | ||
On success, the heap base-address (which is fixed by kernel, aslr'd) is written to OutAddr. | On success, the heap base-address (which is fixed by kernel, aslr'd) is written to OutAddr. | ||
Line 262: | Line 262: | ||
Uses current process pool partition. | Uses current process pool partition. | ||
[2.0.0+] Size must be less than | [2.0.0+] Size must be less than or equal to 4GB. | ||
== svcSetMemoryPermission == | == svcSetMemoryPermission == |