Changes between Version 2 and Version 3 of kernel_malloc


Ignore:
Timestamp:
Dec 7, 2014, 7:26:32 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_malloc

    v2 v3  
    1515=== void '''_heap_init'''( ) ===
    1616This function initialises the kernel_heap[x][y] descriptors array
    17  * It must exist one heap vseg in each cluster. The vseg length must be a power of 2, and the vseg base address must be aligned.
     17It must exist one heap vseg in each cluster. The vseg length must be a power of 2, and the vseg base address must be aligned.
    1818
    1919=== void* '''_remote_malloc'''( unsigned int size, unsigned int x, unsigned int y ) ===
    20 This function uses and updates the '''kernel_heap[x][y] array, and returns a pointer (virtual address) on a physical memory block located in cluster[x][y].
     20This function uses and updates the '''kernel_heap[x][y]''' array, and returns a pointer (virtual address) on a physical memory block located in cluster[x][y].
    2121 * '''size''' : number of requested bytes
    2222 * '''x''' : cluster X coordinate