Changes between Version 8 and Version 9 of library_malloc
- Timestamp:
- Dec 6, 2014, 4:15:42 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_malloc
v8 v9 20 20 == cluster selection == 21 21 22 The malloc() and free() functions below have the same semantic as the standard UNIX functions. 23 The remote_malloc() function is a specific GIET-VM extension. 22 The 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. 24 23 25 Using the (x,y) arguments in the remote_malloc() function, the user application can explicitely select the cluster(x,y) wherememory will be allocated.26 If these arguments (x,y) are not defined, as in the malloc() function, the cluster is implicitely defined by the (x,y) coordinate of the processor running the calling task. 24 The 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. 25 27 26 If there is no heap(x,y) defined in the selected cluster, or if there is no more space in the selected heap(x,y) segment, a NULL pointer is returned. 28 27 29 == Available functions 28 == Available functions == 30 29 31 30 * '''void * malloc( unsigned int size )