Ignore:
Timestamp:
May 11, 2017, 7:49:17 PM (5 years ago)
Author:
max@…
Message:

Typos, and cosmetic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/generic/hal_remote.h

    r16 r17  
    11/*
    22 * hal_remote.h - Generic Remote Access API definition.
    3  * 
     3 *
    44 * Authors   Mohamed Karaoui  (2015)
    55 *           Alain Greiner    (2016)
    66 *
    77 * Copyright (c)  UPMC Sorbonne Universites
    8  * 
     8 *
    99 * This file is part of ALMOS-MKH.
    1010 *
     
    2929
    3030//////////////////////////////////////////////////////////////////////////////////////////
    31 //          Generic Remote Access API(implementation in hal_remote.c)
     31//          Generic Remote Access API (implementation in hal_remote.c)
    3232//
    3333// Kernel accesses to local memory bank and peripherals can use normal C pointers.
     
    7676 *****************************************************************************************
    7777 * @ xp      : extended pointer to remote data
    78  * @ return read value 
     78 * @ return read value
    7979 ****************************************************************************************/
    8080char hal_remote_lb( xptr_t  xp );
     
    118118 * @ old     : expected value
    119119 * @ new     : new value to be written
    120  * @ return true if success / return false if failure 
     120 * @ return true if success / return false if failure
    121121 ****************************************************************************************/
    122122bool_t hal_remote_atomic_cas( xptr_t   xp,
     
    132132 * @ return old value (before increment) of the remote integer
    133133 ****************************************************************************************/
    134 uint32_t hal_remote_atomic_add( xptr_t    xp, 
     134uint32_t hal_remote_atomic_add( xptr_t    xp,
    135135                                uint32_t  incr );
    136136
     
    143143 * @ return old value (before increment) of the remote integer
    144144 ****************************************************************************************/
    145 uint32_t hal_remote_atomic_and( xptr_t    xp, 
     145uint32_t hal_remote_atomic_and( xptr_t    xp,
    146146                                uint32_t  mask );
    147147
     
    154154 * @ return old value (before increment) of the remote integer
    155155 ****************************************************************************************/
    156 uint32_t hal_remote_atomic_or( xptr_t    xp, 
     156uint32_t hal_remote_atomic_or( xptr_t    xp,
    157157                               uint32_t  mask );
    158158
     
    164164 * @ incr    : increment value.
    165165 * @ old     : local buffer address for the read value (before increment)
    166  * @ return 0 if atomic / return non-zero if failure 
     166 * @ return 0 if atomic / return non-zero if failure
    167167 ****************************************************************************************/
    168168error_t hal_remote_atomic_try_add( xptr_t     xp,
     
    179179 ****************************************************************************************/
    180180void hal_remote_memcpy( xptr_t   dst,
    181                         xptr_t   src, 
     181                        xptr_t   src,
    182182                        uint32_t size );
    183183
Note: See TracChangeset for help on using the changeset viewer.