#include <revolution/os.h>void OSAddToHeap (OSHeapHandle heap, void* start, void* end);
|
Operating heap handle that was previously created using the OSCreateHeap function. |
|
Start address of block to add to heap. |
|
End address of block to add to heap. |
None.
Although this function is provided for compatibility's sake, we recommend using the MEM library.
Adds an arbitrary memory block to heap. This function is used to free blocks previously allocated using the OSAllocFixed function or to create noncontiguous heaps.
Memory Allocation Functions, OSAllocFixed, OSCreateHeap
03/01/2006 Initial version.