Ignore:
Timestamp:
2018-04-15T09:35:04Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c1f44ca
Parents:
8ebe212
Message:

More ccheck fixes, sometimes with manual intervention.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/mips32/include/libarch/tls.h

    r8ebe212 r18b6a88  
    6969        tp += MIPS_TP_OFFSET + sizeof(tcb_t);
    7070
    71         asm volatile ("add $27, %0, $0" : : "r"(tp)); /* Move tls to K1 */
     71        asm volatile ("add $27, %0, $0" : : "r" (tp)); /* Move tls to K1 */
    7272}
    7373
    74 static inline tcb_t * __tcb_get(void)
     74static inline tcb_t *__tcb_get(void)
    7575{
    76         void * retval;
     76        void *retval;
    7777
    78         asm volatile("add %0, $27, $0" : "=r"(retval));
     78        asm volatile ("add %0, $27, $0" : "=r" (retval));
    7979
    8080        return (tcb_t *)(retval - MIPS_TP_OFFSET - sizeof(tcb_t));
Note: See TracChangeset for help on using the changeset viewer.