Changeset 285 for trunk/hal/tsar_mips32


Ignore:
Timestamp:
Jul 27, 2017, 3:29:48 PM (7 years ago)
Author:
max@…
Message:

Must be reg_t.

File:
1 edited

Legend:

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

    r279 r285  
    2525#include <hal_types.h>
    2626
    27 /////////////////////////////////////////////
    28 inline void hal_disable_irq( uint32_t * old )
     27//////////////////////////////////////////
     28inline void hal_disable_irq( reg_t * old )
    2929{
    3030        register uint32_t sr;
     
    4343}
    4444
    45 ////////////////////////////////////////////
    46 inline void hal_enable_irq( uint32_t * old )
     45/////////////////////////////////////////
     46inline void hal_enable_irq( reg_t * old )
    4747{
    4848        register uint32_t sr;
     
    6060}
    6161
    62 ///////////////////////////////////////////
    63 inline void hal_restore_irq( uint32_t old )
     62////////////////////////////////////////
     63inline void hal_restore_irq( reg_t old )
    6464{
    6565        __asm__ volatile
Note: See TracChangeset for help on using the changeset viewer.