Ignore:
Timestamp:
Jun 18, 2017, 10:06:41 PM (5 years ago)
Author:
alain
Message:

Introduce syscalls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/hal_atomic.c

    r8 r23  
    7979}
    8080
    81 ///////////////////////////////////////
    82 int32_t hal_atomic_inc( uint32_t * ptr)
    83 {
    84         return hal_atomic_add( ptr , 1 );
    85 }
    86 
    87 ///////////////////////////////////////
    88 int32_t hal_atomic_dec( uint32_t * ptr)
    89 {
    90         return hal_atomic_add( ptr , -1 );
    91 }
    92 
    9381//////////////////////////////////////
    9482bool_t hal_atomic_cas( uint32_t * ptr,
Note: See TracChangeset for help on using the changeset viewer.