Changes between Version 32 and Version 33 of kernel_syscalls


Ignore:
Timestamp:
Feb 11, 2015, 7:40:48 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_syscalls

    v32 v33  
    166166Returns in the  arguments the 2D mesh size (only clusters containing processors), and the number of processors per cluster.
    167167
    168  === 9) int '''_sys_vobj_get_vbase'''( char* vspace_name,  char* vobj_name,  unsigned int* vbase ) ===
    169 This function returns in the ''vbase'' argument the virtual base address of the vobj identified by the (vspace_name / vobj_name ) couple. Returns 0 if success, -1 if vobj not found.
     168 === 9) int '''_sys_vseg_get_vbase'''( char* vspace_name,  char* vobj_name,  unsigned int* vbase ) ===
     169This function returns in the ''vbase'' argument the virtual base address of the private vseg identified by the (vspace_name / vseg_name ) couple. Returns 0 if success, -1 if vobj not found.
    170170
    171  === 10) int '''_sys_vobj_get_length'''( char* vspace_name,  char* vobj_name,  unsigned int* length ) ===
    172 This function returns in the ''length'' argument the length of the vobj identified by the (vspace_name / vobj_name ) couple. Returns 0 if success, -1 if vobj not found
     171 === 10) int '''_sys_vseg_get_length'''( char* vspace_name,  char* vseg_name,  unsigned int* length ) ===
     172This function returns in the ''length'' argument the length of the private vseg identified by the (vspace_name / vseg_name ) couple. Returns 0 if success, -1 if vobj not found
    173173
    174174 === 11) int '''_sys_xy_from_ptr'''( void* ptr,  unsigned int*  x,  unsigned int*  y ) ===
     
    176176
    177177 === 12) int '''_sys_heap_info'''( unsigned int* vaddr,   unsigned int* length,   unsigned int  x,  unsigned int  y ) ===
    178 This function returns the information associated to a heap : vaddr and length.
     178This function returns the information associated to a user heap vseg : vaddr and length.
    179179 * If (x < X_SIZE) and (y < Y_SIZE), it return the heap associated to any task running in cluster(x,y).
    180180 * else, it return the heap associated to the calling task.
    181 It uses the global task index (CTX_GTID_ID, unique for each giet task) and the vspace index (CTX_VSID_ID), that are defined in the calling task context to find the vobj_id containing the heap.
    182181Returns 0 if success, returns -1 if not found.
    183182