Changeset 7f1c620 in mainline for arch/ia64/src/ia64.c


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/src/ia64.c

    r991779c5 r7f1c620  
    7878{
    7979        /* Set Interruption Vector Address (i.e. location of interruption vector table). */
    80         iva_write((__address) &ivt);
     80        iva_write((uintptr_t) &ivt);
    8181        srlz_d();
    8282       
     
    117117        rsc.mode = 3;                           /* eager mode */
    118118
    119         switch_to_userspace((__address) kernel_uarg->uspace_entry,
    120                             ((__address) kernel_uarg->uspace_stack)+PAGE_SIZE-ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT),
    121                             ((__address) kernel_uarg->uspace_stack)+PAGE_SIZE,
    122                             (__address) kernel_uarg->uspace_uarg,
     119        switch_to_userspace((uintptr_t) kernel_uarg->uspace_entry,
     120                            ((uintptr_t) kernel_uarg->uspace_stack)+PAGE_SIZE-ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT),
     121                            ((uintptr_t) kernel_uarg->uspace_stack)+PAGE_SIZE,
     122                            (uintptr_t) kernel_uarg->uspace_uarg,
    123123                            psr.value, rsc.value);
    124124
     
    132132 * We use r13 (a.k.a. tp) for this purpose.
    133133 */
    134 __native sys_tls_set(__native addr)
     134unative_t sys_tls_set(unative_t addr)
    135135{
    136136        return 0;
Note: See TracChangeset for help on using the changeset viewer.