Changes

Jump to navigation Jump to search
335 bytes added ,  23:16, 13 October 2017
Line 219: Line 219:     
== svcSetHeapSize ==
 
== svcSetHeapSize ==
'''Description:''' Set the process heap to a given size. It can both extend and shrink the heap.
+
<div style="display: inline-block">
 +
{| class="wikitable" border="1"
 +
|-
 +
! Argument || Type || Name || Direction
 +
|-
 +
| X0 || u64 || Size || In
 +
|-
 +
| W0 || [[#Result]] || Ret || Out
 +
|-
 +
| X1 || u64 || OutAddr || In
 +
|}
 +
</div>
   −
Size must be a multiple of 0x2000000.
+
<div style="display: inline-block; vertical-align:top;">
 +
'''Description:''' Set the process heap to a given <code>Size</code>. It can both extend and shrink the heap.
   −
On success, the heap base-address (which is fixed by kernel, aslr'd) is written to outaddr.
+
<code>Size</code> must be a multiple of 0x2000000.
   −
[2.0.0+] Size must be less than 0x18000000.
+
On success, the heap base-address (which is fixed by kernel, aslr'd) is written to code>OutAddr</code>.
 +
 
 +
[2.0.0+] <code>Size</code> must be less than 0x18000000.
 +
</div>
    
== svcSetMemoryPermission ==
 
== svcSetMemoryPermission ==

Navigation menu