Ignore:
Timestamp:
May 11, 2017, 7:49:17 PM (7 years ago)
Author:
max@…
Message:

Typos, and cosmetic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/generic/hal_context.h

    r16 r17  
    2929//
    3030// A thread context is defined by the two (core specific) structures hal_context_t
    31 // and hal_uzone_t, defined  in hal_context.c file, that are accessed with generic
     31// and hal_uzone_t, defined in hal_context.c file, that are accessed with generic
    3232// void* pointers stored in the thread descriptor.
    3333// - the "hal_context_t" structure is used to store the CPU registers values that
     
    8787/****************************************************************************************
    8888 * This function allocates, from the local cluster, the physical memory required for
    89  * the thread CPU context, initialises it, and link the context to the thread.
     89 * the thread CPU context, initialises it, and links the context to the thread.
    9090 * Seven registers are initialised:
    9191 * - sp_29 / fp_30 / ra_31
     
    101101 * This function allocates, from the local cluster, the physical memory required for
    102102 * a thread CPU context, initialises it from values contained in "src" thread context,
    103  * and link the context to the "dst" thread.
     103 * and links the context to the "dst" thread.
    104104 ****************************************************************************************
    105105 * @ dst  : pointer on the destination thread descriptor.
     
    118118
    119119/****************************************************************************************
    120  * This function save in the thread context the CPU registers values that have not
     120 * This function saves in the thread context the CPU registers values that have not
    121121 * been saved in the thread stack by the exception handler:
    122122 * - GRs : s0 to S7 , sp , fp, ra
     
    129129
    130130/****************************************************************************************
    131  * This function restore from the thread context the CPU registers values that have not
     131 * This function restores from the thread context the CPU registers values that have not
    132132 * been saved in the thread stack by the exception handler.
    133133 * - GRs : s0 to S7 , sp , fp, ra
     
    140140
    141141/****************************************************************************************
    142  * This function load the relevant CPU registers from values contained in
     142 * This function loads the relevant CPU registers from values contained in
    143143 * the thread context. It should be called for a thread that has not been executed yet.
    144144 * - GRs : sp , fp , a0
     
    182182
    183183/****************************************************************************************
    184  * This function save in the thread uzone the FPU registers values.
     184 * This function saves in the thread uzone the FPU registers values.
    185185 ****************************************************************************************
    186186 * @ thread  : pointer on the thread descriptor.
     
    189189
    190190/****************************************************************************************
    191  * This function restore from the thread uzone the FPU registers values.
     191 * This function restores from the thread uzone the FPU registers values.
    192192 ****************************************************************************************
    193193 * @ thread  : pointer on the thread descriptor.
Note: See TracChangeset for help on using the changeset viewer.