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

    r991779c5 r7f1c620  
    3838#define NULL 0
    3939
    40 typedef signed char __s8;
    41 typedef signed short __s16;
    42 typedef signed int __s32;
    43 typedef signed long __s64;
     40typedef signed char int8_t;
     41typedef signed short 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 typedef __u64 __address;
    51 typedef __u64 pfn_t;
     50typedef uint64_t uintptr_t;
     51typedef uint64_t pfn_t;
    5252
    53 typedef __u64 ipl_t;
     53typedef uint64_t ipl_t;
    5454
    55 typedef __u64 __native;
     55typedef uint64_t unative_t;
    5656
    5757/** Page Table Entry. */
Note: See TracChangeset for help on using the changeset viewer.