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

    r991779c5 r7f1c620  
    3838#define NULL    0
    3939
    40 typedef signed char __s8;
    41 typedef unsigned char __u8;
     40typedef signed char int8_t;
     41typedef unsigned char uint8_t;
    4242
    43 typedef signed short __s16;
    44 typedef unsigned short __u16;
     43typedef signed short int16_t;
     44typedef unsigned short uint16_t;
    4545
    46 typedef unsigned long __u32;
    47 typedef signed long __s32;
     46typedef unsigned long uint32_t;
     47typedef signed long int32_t;
    4848
    49 typedef unsigned long long __u64;
    50 typedef signed long long __s64;
     49typedef unsigned long long uint64_t;
     50typedef signed long long int64_t;
    5151
    52 typedef __u32 __address;
     52typedef uint32_t uintptr_t;
    5353
    54 typedef __u32 ipl_t;
     54typedef uint32_t ipl_t;
    5555
    56 typedef __u32 __native;
    57 typedef __s32 __snative;
     56typedef uint32_t unative_t;
     57typedef int32_t native_t;
    5858
    5959typedef struct pte pte_t;
    6060
    61 typedef __u32 pfn_t;
     61typedef uint32_t pfn_t;
    6262
    6363#endif
Note: See TracChangeset for help on using the changeset viewer.