Changeset 7f1c620 in mainline for arch/ia64/include/context.h


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/include/context.h

    r991779c5 r7f1c620  
    5757#define context_set(c, _pc, stack, size)                                                                \
    5858        do {                                                                                            \
    59                 (c)->pc = (__address) _pc;                                                              \
    60                 (c)->bsp = ((__address) stack) + ALIGN_UP((size), REGISTER_STACK_ALIGNMENT);            \
     59                (c)->pc = (uintptr_t) _pc;                                                              \
     60                (c)->bsp = ((uintptr_t) stack) + ALIGN_UP((size), REGISTER_STACK_ALIGNMENT);            \
    6161                (c)->ar_pfs &= PFM_MASK;                                                                \
    62                 (c)->sp = ((__address) stack) + ALIGN_UP((size), STACK_ALIGNMENT) - SP_DELTA;           \
     62                (c)->sp = ((uintptr_t) stack) + ALIGN_UP((size), STACK_ALIGNMENT) - SP_DELTA;           \
    6363        } while (0);
    6464
     
    7272         * Application registers
    7373         */
    74         __u64 ar_pfs;
    75         __u64 ar_unat_caller;
    76         __u64 ar_unat_callee;
    77         __u64 ar_rsc;
    78         __address bsp;          /* ar_bsp */
    79         __u64 ar_rnat;
    80         __u64 ar_lc;
     74        uint64_t ar_pfs;
     75        uint64_t ar_unat_caller;
     76        uint64_t ar_unat_callee;
     77        uint64_t ar_rsc;
     78        uintptr_t bsp;          /* ar_bsp */
     79        uint64_t ar_rnat;
     80        uint64_t ar_lc;
    8181
    8282        /*
    8383         * General registers
    8484         */
    85         __u64 r1;
    86         __u64 r4;
    87         __u64 r5;
    88         __u64 r6;
    89         __u64 r7;
    90         __address sp;           /* r12 */
    91         __u64 r13;
     85        uint64_t r1;
     86        uint64_t r4;
     87        uint64_t r5;
     88        uint64_t r6;
     89        uint64_t r7;
     90        uintptr_t sp;           /* r12 */
     91        uint64_t r13;
    9292       
    9393        /*
    9494         * Branch registers
    9595         */
    96         __address pc;           /* b0 */
    97         __u64 b1;
    98         __u64 b2;
    99         __u64 b3;
    100         __u64 b4;
    101         __u64 b5;
     96        uintptr_t pc;           /* b0 */
     97        uint64_t b1;
     98        uint64_t b2;
     99        uint64_t b3;
     100        uint64_t b4;
     101        uint64_t b5;
    102102
    103103        /*
    104104         * Predicate registers
    105105         */
    106         __u64 pr;
     106        uint64_t pr;
    107107
    108108        __r128 f2 __attribute__ ((aligned(16)));
Note: See TracChangeset for help on using the changeset viewer.