Changes between Version 13 and Version 14 of library_malloc


Ignore:
Timestamp:
Jul 29, 2015, 2:52:30 PM (9 years ago)
Author:
guerin
Comment:

almalloc

Legend:

Unmodified
Added
Removed
Modified
  • library_malloc

    v13 v14  
    2525The 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.
    2626
     27almalloc() and alfree() can be used to allocate aligned memory blocks. These two functions are implemented on top of malloc/free().
     28
    2729The remote_malloc() function is a specific GIET-VM extension that allow the application to explicitely select the cluster(x,y) where physical memory will be allocated.
    2830
     
    3537 * '''void * remote_malloc( unsigned int size, unsigned int x, unsigned int y )
    3638 * '''void free( void* ptr )
    37 
     39 * '''void * almalloc( unsigned int align, unsigned int size )
     40 * '''void alfree( void* ptr )
    3841