Changeset 7f1c620 in mainline for arch/mips32/include/asm.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/mips32/include/asm.h

    r991779c5 r7f1c620  
    5353 * The stack must start on page boundary.
    5454 */
    55 static inline __address get_stack_base(void)
     55static inline uintptr_t get_stack_base(void)
    5656{
    57         __address v;
     57        uintptr_t v;
    5858       
    5959        __asm__ volatile ("and %0, $29, %1\n" : "=r" (v) : "r" (~(STACK_SIZE-1)));
     
    6363
    6464extern void cpu_halt(void);
    65 extern void asm_delay_loop(__u32 t);
    66 extern void userspace_asm(__address ustack, __address uspace_uarg,
    67                           __address entry);
     65extern void asm_delay_loop(uint32_t t);
     66extern void userspace_asm(uintptr_t ustack, uintptr_t uspace_uarg,
     67                          uintptr_t entry);
    6868
    6969#endif
Note: See TracChangeset for help on using the changeset viewer.