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

    r991779c5 r7f1c620  
    2727 */
    2828
    29  /** @addtogroup amd64 
     29/** @addtogroup amd64   
    3030 * @{
    3131 */
     
    3838#define NULL 0
    3939
    40 typedef signed char __s8;
    41 typedef signed short __s16;
    42 typedef signed int __s32;
    43 typedef signed long long __s64;
     40typedef signed char int8_t;
     41typedef signed short int16_t;
     42typedef signed int int32_t;
     43typedef signed long long int64_t;
    4444
    45 typedef unsigned char __u8;
    46 typedef unsigned short __u16;
    47 typedef unsigned int __u32;
    48 typedef unsigned long long __u64;
     45typedef unsigned char uint8_t;
     46typedef unsigned short uint16_t;
     47typedef unsigned int uint32_t;
     48typedef unsigned long long uint64_t;
    4949
    50 typedef __u64 __address;
    51 typedef __u64 pfn_t;
     50typedef uint64_t uintptr_t;
     51typedef uint64_t pfn_t;
    5252
    5353/* Flags of processor (return value of interrupts_disable()) */
    54 typedef __u64 ipl_t;
     54typedef uint64_t ipl_t;
    5555
    56 typedef __u64 __native;
    57 typedef __s64 __snative;
     56typedef uint64_t unative_t;
     57typedef int64_t native_t;
    5858
    5959typedef struct page_specifier pte_t;
     
    6161#endif
    6262
    63  /** @}
     63/** @}
    6464 */
    65 
Note: See TracChangeset for help on using the changeset viewer.