Ignore:
Timestamp:
Jan 17, 2014, 11:49:27 PM (11 years ago)
Author:
cfuguet
Message:
  • Bugfix: The ISR_SWITCH index should be NB_PROCS_MAX + local_pid. This is because the first NB_PROCS_MAX indexes on the XICU in each cluster are used for the WAKEUP software interrupts.
  • Relocating the memcpy and memset functions into the giet_libs/stdlib.* files.
  • Modification of the sort application to used 8 threads instead of
    1. Modifying the mapping files to distribute the 8 threads on the available processors. (Ex. When using 4 processors, each one executes 2 threads)
File:
1 edited

Legend:

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

    r267 r271  
    119119        // reset timer counter
    120120#if USE_XICU
    121         _xcu_timer_reset_cpt(cluster_id, local_id);
     121        _xcu_timer_reset_cpt(cluster_id, NB_PROCS_MAX + local_id);
    122122#else
    123         _timer_reset_cpt(cluster_id, local_id);
     123        _timer_reset_cpt(cluster_id, NB_PROCS_MAX + local_id);
    124124#endif
    125125
Note: See TracChangeset for help on using the changeset viewer.