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

    r991779c5 r7f1c620  
    2727 */
    2828
    29  /** @addtogroup ia64   
     29/** @addtogroup ia64   
    3030 * @{
    3131 */
     
    3838#define NULL    0
    3939
    40 typedef signed char __s8;
    41 typedef signed short int __s16;
    42 typedef signed int __s32;
    43 typedef signed long __s64;
     40typedef signed char int8_t;
     41typedef signed short int int16_t;
     42typedef signed int int32_t;
     43typedef signed long int64_t;
    4444
    45 typedef unsigned char __u8;
    46 typedef unsigned short __u16;
    47 typedef unsigned int __u32;
    48 typedef unsigned long __u64;
     45typedef unsigned char uint8_t;
     46typedef unsigned short uint16_t;
     47typedef unsigned int uint32_t;
     48typedef unsigned long uint64_t;
    4949
    50 
    51 typedef unsigned char __r8;                     /*Reserve byte*/
     50typedef unsigned char __r8;                     /* Reserve byte */
    5251typedef unsigned short __r16;
    5352typedef unsigned int __r32;
    5453typedef unsigned long __r64;
    55 typedef struct __r128{__r64 lo;__r64 hi;} __r128;
     54typedef struct __r128 {
     55        __r64 lo;
     56        __r64 hi;
     57} __r128;
    5658
     59typedef uint64_t uintptr_t;
     60typedef uint64_t pfn_t;
    5761
    58 typedef __u64 __address;
    59 typedef __u64 pfn_t;
     62typedef uint64_t ipl_t;
    6063
    61 typedef __u64 ipl_t;
    62 
    63 typedef __u64 __native;
    64 typedef __s64 __snative;
     64typedef uint64_t unative_t;
     65typedef int64_t native_t;
    6566
    6667typedef struct pte pte_t;
     
    6869#endif
    6970
    70  /** @}
     71/** @}
    7172 */
    7273
Note: See TracChangeset for help on using the changeset viewer.