Changes between Version 12 and Version 13 of kernel_context


Ignore:
Timestamp:
Dec 23, 2016, 4:59:24 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • kernel_context

    v12 v13  
    1 = GIET-VM / Task context access functions  =
     1= GIET-VM / Thread context access functions  =
    22
    33[[PageOutline]]
    44
    5 The [source:soft/giet_vm/giet_common/utils.c utils.c] and [source:soft/giet_vm/giet_common/utils.h utils.h] files define the functions used to access the task contexts. The codes used to identify the various context slots are defined [source:soft/giet_vm/giet_kernel/ctx_handler.h here].
     5The [source:soft/giet_vm/giet_common/utils.c utils.c] and [source:soft/giet_vm/giet_common/utils.h utils.h] files define the functions used to access the thread contexts. The codes used to identify the various context slots are defined [source:soft/giet_vm/giet_kernel/ctx_handler.h here].
    66
    77These functions are prefixed by "_" to remind that they can only be executed by a processor in kernel mode.
     
    1515
    1616 === 3) unsigned int '''_get_task_slot'''( unsigned int x,  unsigned int y,  unsigned int p, unsigned int ltid, unsigned int slot ) ===
    17 This function returns the content of a context slot for any task running on any processor.
     17This function returns the content of a context slot for any thread running on any processor.
    1818 * '''x''' : cluster x coordinate
    1919 * '''y''' : cluster y coordinate
     
    2323
    2424 === 4) void  '''_set_task_slot'''( unsigned int x, unsigned int y,  unsigned int p, unsigned int ltid, unsigned int slot,  unsigned int value ) ===
    25 This function updates the content of a context slot for any task running on any processor.
     25This function updates the content of a context slot for any thread running on any processor.
    2626 * '''x''' : cluster x coordinate
    2727 * '''y''' : cluster y coordinate
     
    3131
    3232 === 5) unsigned int '''_get_context_slot'''( unsigned int slot ) ===
    33 This function returns the content of a context slot for the calling task.
     33This function returns the content of a context slot for the calling thread.
    3434
    3535 === 6) void '''_set_context_slot'''( unsigned int slot,  unsigned int value ) ===
    36 This function updates the content of a context slot for the calling task.
     36This function updates the content of a context slot for the calling thread.
    3737
    3838