Ignore:
Timestamp:
2018-07-08T17:58:56Z (7 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
914c693
Parents:
6abff2a8
Message:

use uint8_t * instead of char *

Technically, there should be no difference on all current platforms. But
the intention is more clear and it is failproof.

File:
1 edited

Legend:

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

    r6abff2a8 rd4475a44  
    6060static inline void __tcb_set(tcb_t *tcb)
    6161{
    62         char *tls = (char *) tcb;
     62        uint8_t *tls = (uint8_t *) tcb;
    6363        tls += sizeof(tcb_t) + ARM_TP_OFFSET;
    6464        asm volatile (
     
    7777static inline tcb_t *__tcb_get(void)
    7878{
    79         char *ret;
     79        uint8_t *ret;
    8080        asm volatile (
    8181            "mov %0, r9"
Note: See TracChangeset for help on using the changeset viewer.