Ignore:
Timestamp:
Jul 31, 2017, 1:59:52 PM (7 years ago)
Author:
alain
Message:

Several modifs in the generic scheduler and in the hal_context to
fix the context switch mechanism.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/core/hal_special.c

    r279 r296  
    4848}
    4949
    50 ////////////////////////////////
    51 inline cycle_t hal_time_stamp()
    52 {
    53     cycle_t count;
     50/////////////////////////////
     51inline reg_t hal_time_stamp()
     52{
     53    reg_t count;
    5454
    5555        asm volatile ("mfc0   %0,  $9" : "=&r" (count));
     
    6161inline reg_t hal_get_sr()
    6262{
    63     register uint32_t sr;
     63    reg_t sr;
    6464
    6565        asm volatile ("mfc0    %0,    $12" : "=&r" (sr));
Note: See TracChangeset for help on using the changeset viewer.