Changes between Version 8 and Version 9 of common_utils


Ignore:
Timestamp:
Aug 12, 2014, 2:34:07 PM (11 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • common_utils

    v8 v9  
    128128 == __6) Task context access functions__ ==
    129129
     130 === unsigned int _get_current_task_id( void ) ===
     131This function returns the local index of the currently running task from the processor scheduler.
     132
     133 === unsigned int _get_task_slot( unsigned int gpid, unsigned int ltid, unsigned int slot )
     134This function returns the content of a context ''slot'' for a task identified by the the ''gpid'' argument
     135(global processor index), and the ''ltid'' argument (local task index on the processor).
     136
     137 === void _set_task_slot( unsigned int gpid, unsigned int ltid, unsigned int slot, unsigned int value )
     138This function writes ''value'' in the the context ''slot'' of the task identified by the the ''gpid'' argument
     139(global processor index), and the ''ltid'' argument (local task index on the processor).
     140
     141 === unsigned int _get_context_slot( unsigned int slot )
     142This function returns the content of a context ''slot'' for the calling task.
     143
     144 === void _set_task_slot( unsigned int slot, unsigned int value )
     145This function writes ''value'' in the the context ''slot'' of the running task.
     146
    130147 == __7) Mapping access functions
    131148
     
    169186
    170187 == __X) Miscelaneous functions__ ==
     188
     189 === void _exit() ===
     190Processor suicide with a message on TTY0 in case of kernel panic.
     191
     192 === void _random_wait( unsigned value ) ===
     193This function implements a pseudo-random delay.
     194The ''value'' argument define an exponentially increasing mean delay,
     195and should not be larger than 32.
     196
     197 === void _break( char* string ) ===
     198This blocking function implements an interactive break for kernel debug.
     199