Changes between Version 9 and Version 10 of library_malloc


Ignore:
Timestamp:
Mar 30, 2015, 5:10:52 PM (9 years ago)
Author:
bellefin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_malloc

    v9 v10  
    2020 == cluster selection ==
    2121
     22The heap_init() function has to be called by one single task before using other malloc functions.
     23
    2224The malloc() and free() functions below have the same semantic as the standard UNIX functions. The cluster where the memory is allocated is implicitely defined by the (x,y) coordinate of the processor running the calling task.
    2325
     
    2830 == Available functions ==
    2931
     32 * '''void heap_init( unsigned int x, unsigned int y )
    3033 * '''void * malloc( unsigned int size )
    3134 * '''void * remote_malloc( unsigned int size, unsigned int x, unsigned int y )
    32  * '''void free( void* ptr )
     35 * '''void free( void* ptr )
     36
    3337