Changeset 285 for trunk/hal


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

Must be reg_t.

Location:
trunk/hal
Files:
2 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
  • trunk/hal/x86_64/core/hal_irqmask.c

    r240 r285  
    2424#include <hal_segmentation.h>
    2525
    26 inline void hal_disable_irq(uint32_t *old)
     26inline void hal_disable_irq(reg_t *old)
    2727{
    2828        tls_t *tls = curcpu();
     
    3434}
    3535
    36 inline void hal_enable_irq(uint32_t *old)
     36inline void hal_enable_irq(reg_t *old)
    3737{
    3838        tls_t *tls = curcpu();
     
    4444}
    4545
    46 inline void hal_restore_irq(uint32_t old)
     46inline void hal_restore_irq(reg_t old)
    4747{
    4848        tls_t *tls = curcpu();
Note: See TracChangeset for help on using the changeset viewer.