Ignore:
Timestamp:
Aug 7, 2017, 12:50:17 PM (4 years ago)
Author:
alain
Message:

Introduce the delayed context switch if current thread has a lock.

File:
1 edited

Legend:

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

    r311 r337  
    3131// and hal_fpu_context_t, defined in hal_context.c file, that are accessed with generic
    3232// void* pointers stored in the thread descriptor.
    33 // - the "hal_context_t" structure is used to store the CPU registers values that
    34 //   have not been saved in the kernel stack by the interrupt handler.
    35 // - the "hal_fpu_context_t" structure is used to save the FPU registers when required.
     33// - the "hal_context_t" struct is used for the CPU registers values at context switch.
     34// - the "hal_fpu_context_t" struct is used for the FPU registers when required.
    3635//////////////////////////////////////////////////////////////////////////////////////////
    3736
Note: See TracChangeset for help on using the changeset viewer.