Change the size of a block
=> r1 = address of heap
r2 = address of claimed memory
r3 = new size of block
<= r2 = new address of memory
Change the size of the block pointed to by r2 to be r3. If r2 is 0, this call is equivalent to MAlloc_Claim; if r3 is 0 this call is equivalent to MAlloc_Free.
MAlloc will attempt to leave the data where it was, but if unable to do so will copy the data to a new block, and return the pointer to that new area.
|
|
|