Changes between Version 10 and Version 11 of library_stdio
- Timestamp:
- Aug 7, 2014, 12:57:57 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v10 v11 119 119 120 120 === void giet_vobj_get_vbase( char* vspace_name, char* vobj_name, unsigned int* vobj_vaddr) === 121 This function returns in argument ''vobj_vaddr'' the virtual base address of a vobj defined in the mapping_info data structure ),identified by the two arguments ''vspace_name'' and ''vobj_name''. In case of error (such as undefined vspace or undefined vobj), it makes a giet_exit().121 This function returns in argument ''vobj_vaddr'' the virtual base address of a vobj defined in the mapping_info data structure. The vobj is identified by the two arguments ''vspace_name'' and ''vobj_name''. In case of error (such as undefined vspace or undefined vobj), it makes a giet_exit(). 122 122 123 123 === void giet_heap_info( unsigned int* vaddr, unsigned int* length, unsigned int x, unsigned int y ); 124 124 This function supports access to the running task's heap or to a remote heap. If (x < X_SIZE) and (y < Y_SIZE), it returns the base address and length of the heap associated to any task running on cluster(x,y). Otherwise, it returns the base address and length of the heap associated to the calling task. In case of error (such as undefined heap segment in the selected cluster, it returns heap_size = 0). 125 126 === void giet_get_mapping( void* ptr, unsigned int* x, unsigned int* y ) === 127 This function takes as input a virtual address (''ptr'' argument), and returns in the ''x,y'' arguments the coordinates of the cluster containing the physical address associated to ''ptr''. In case of error (unmapped virtual address), it makes a giet_exit(). 125 128 126 129 … … 128 131 129 132 130