Changeset 2f40fe4 in mainline for arch/mips32/include/atomic.h


Ignore:
Timestamp:
2006-07-01T21:40:36Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5eabe73
Parents:
7ee0e2f
Message:

Change cache_error exception to take istate * as a parameter.
Make cache_error() print epc in the panic message.
Do not rely on the compiler to generate 'nop' after 'beq' in atomic_add()
and put it there explicitly.
Indentation fixes and cosmetic changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/include/atomic.h

    r7ee0e2f r2f40fe4  
    2727 */
    2828
    29  /** @addtogroup mips32
     29/** @addtogroup mips32 
    3030 * @{
    3131 */
     
    6363                "       sc %0, %1\n"
    6464                "       beq %0, %4, 1b\n"       /* if the atomic operation failed, try again */
    65                 /*      nop     */              /* nop is inserted automatically by compiler */
     65                "       nop\n"
    6666                : "=r" (tmp), "=m" (val->count), "=r" (v)
    6767                : "i" (i), "i" (0)
     
    7373#endif
    7474
    75  /** @}
     75/** @}
    7676 */
    77 
Note: See TracChangeset for help on using the changeset viewer.