Ignore:
Timestamp:
Aug 2, 2017, 2:17:00 PM (7 years ago)
Author:
max@…
Message:

Introduce hal_cpu_context_switch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/scheduler.c

    r306 r311  
    321321
    322322        // switch contexts
    323         hal_cpu_context_save( current->cpu_context );
    324         hal_cpu_context_restore( next->cpu_context );
     323        hal_cpu_context_switch( current , next );
    325324
    326325        // restore IRQs when calling thread resume
Note: See TracChangeset for help on using the changeset viewer.