Changes between Version 12 and Version 13 of kernel_context
- Timestamp:
- Dec 23, 2016, 4:59:24 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_context
v12 v13 1 = GIET-VM / T askcontext access functions =1 = GIET-VM / Thread context access functions = 2 2 3 3 [[PageOutline]] 4 4 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 t askcontexts. The codes used to identify the various context slots are defined [source:soft/giet_vm/giet_kernel/ctx_handler.h here].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 thread contexts. The codes used to identify the various context slots are defined [source:soft/giet_vm/giet_kernel/ctx_handler.h here]. 6 6 7 7 These functions are prefixed by "_" to remind that they can only be executed by a processor in kernel mode. … … 15 15 16 16 === 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 t askrunning on any processor.17 This function returns the content of a context slot for any thread running on any processor. 18 18 * '''x''' : cluster x coordinate 19 19 * '''y''' : cluster y coordinate … … 23 23 24 24 === 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 t askrunning on any processor.25 This function updates the content of a context slot for any thread running on any processor. 26 26 * '''x''' : cluster x coordinate 27 27 * '''y''' : cluster y coordinate … … 31 31 32 32 === 5) unsigned int '''_get_context_slot'''( unsigned int slot ) === 33 This function returns the content of a context slot for the calling t ask.33 This function returns the content of a context slot for the calling thread. 34 34 35 35 === 6) void '''_set_context_slot'''( unsigned int slot, unsigned int value ) === 36 This function updates the content of a context slot for the calling t ask.36 This function updates the content of a context slot for the calling thread. 37 37 38 38