Changeset e7b7be3f in mainline for uspace/libc/arch/mips32/include


Ignore:
Timestamp:
2007-01-22T13:10:08Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f3fc9b
Parents:
62c63fc
Message:

asm volatile → asm volatile

Location:
uspace/libc/arch/mips32/include
Files:
2 edited

Legend:

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

    r62c63fc re7b7be3f  
    5757        long tmp, v;
    5858
    59         __asm__ volatile (
     59        asm volatile (
    6060                "1:\n"
    6161                "       ll %0, %1\n"
  • uspace/libc/arch/mips32/include/thread.h

    r62c63fc re7b7be3f  
    6262        tp += MIPS_TP_OFFSET + sizeof(tcb_t);
    6363
    64         __asm__ volatile ("add $27, %0, $0" : : "r"(tp)); /* Move tls to K1 */
     64        asm volatile ("add $27, %0, $0" : : "r"(tp)); /* Move tls to K1 */
    6565}
    6666
     
    6969        void * retval;
    7070
    71         __asm__ volatile("add %0, $27, $0" : "=r"(retval));
     71        asm volatile("add %0, $27, $0" : "=r"(retval));
    7272
    7373        return (tcb_t *)(retval - MIPS_TP_OFFSET - sizeof(tcb_t));
Note: See TracChangeset for help on using the changeset viewer.