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

    r991779c5 r7f1c620  
    2727 */
    2828
    29  /** @addtogroup ia32   
     29/** @addtogroup ia32   
    3030 * @{
    3131 */
     
    3838#define NULL 0
    3939
    40 typedef signed char __s8;
    41 typedef signed short __s16;
    42 typedef signed long __s32;
    43 typedef signed long long __s64;
     40typedef signed char int8_t;
     41typedef signed short int16_t;
     42typedef signed long int32_t;
     43typedef signed long long int64_t;
    4444
    45 typedef unsigned char __u8;
    46 typedef unsigned short __u16;
    47 typedef unsigned long __u32;
    48 typedef unsigned long long __u64;
     45typedef unsigned char uint8_t;
     46typedef unsigned short uint16_t;
     47typedef unsigned long uint32_t;
     48typedef unsigned long long uint64_t;
    4949
    50 typedef __u32 __address;
    51 typedef __u32 pfn_t;
     50typedef uint32_t uintptr_t;
     51typedef uint32_t pfn_t;
    5252
    53 typedef __u32 ipl_t;
     53typedef uint32_t ipl_t;
    5454
    55 typedef __u32 __native;
    56 typedef __s32 __snative;
     55typedef uint32_t unative_t;
     56typedef int32_t native_t;
    5757
    5858typedef struct page_specifier pte_t;
     
    6060#endif
    6161
    62  /** @}
     62/** @}
    6363 */
    6464
Note: See TracChangeset for help on using the changeset viewer.