Changeset 91a8f83 in mainline for kernel/generic/src/proc/the.c
- Timestamp:
- 2018-10-31T18:15:56Z (6 years ago)
- Children:
- 071cb36
- Parents:
- 482f968
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/the.c
r482f968 r91a8f83 33 33 /** 34 34 * @file 35 * @brief THEstructure functions.35 * @brief CURRENT structure functions. 36 36 * 37 * This file contains functions to manage the THEstructure.38 * The THEstructure exists at the base address of every kernel37 * This file contains functions to manage the CURRENT structure. 38 * The CURRENT structure exists at the base address of every kernel 39 39 * stack and carries information about current settings 40 40 * (e.g. current CPU, current thread, task and address space … … 45 45 #include <assert.h> 46 46 47 /** Initialize THEstructure47 /** Initialize CURRENT structure 48 48 * 49 * Initialize THEstructure passed as argument.49 * Initialize CURRENT structure passed as argument. 50 50 * 51 * @param the THEstructure to be initialized.51 * @param the CURRENT structure to be initialized. 52 52 * 53 53 */ 54 void the_initialize(the_t *the)54 void current_initialize(current_t *the) 55 55 { 56 56 the->preemption = 0; … … 65 65 } 66 66 67 /** Copy THEstructure67 /** Copy CURRENT structure 68 68 * 69 * Copy the source THE structure to the destination THEstructure.69 * Copy the source CURRENT structure to the destination CURRENT structure. 70 70 * 71 * @param src The source THEstructure.72 * @param dst The destination THEstructure.71 * @param src The source CURRENT structure. 72 * @param dst The destination CURRENT structure. 73 73 * 74 74 */ 75 NO_TRACE void the_copy(the_t *src, the_t *dst)75 NO_TRACE void current_copy(current_t *src, current_t *dst) 76 76 { 77 77 assert(src->magic == MAGIC);
Note:
See TracChangeset
for help on using the changeset viewer.