Ignore:
Timestamp:
Jul 18, 2015, 3:00:42 PM (9 years ago)
Author:
alain
Message:

Modify the task activation/desactivation mechanism
to support the _kill_application() and _exec_application() system functions.
The RUN Boolean in task context has been replaced by the NORUN bit-vector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_kernel/exc_handler.c

    r547 r629  
    8585
    8686    // goes to sleeping state
    87     _set_context_slot(CTX_RUN_ID, 0);
     87    _set_context_slot( CTX_NORUN_ID , 1 );
    8888
    89     // deschedule (suicide)
    90     unsigned int save_sr;  // unused
     89    // deschedule
     90    unsigned int save_sr; 
    9191    _it_disable( &save_sr );
    9292    _ctx_switch();
Note: See TracChangeset for help on using the changeset viewer.