Changeset 76ca3f7 in mainline for kernel/arch/ia64/include/types.h


Ignore:
Timestamp:
2010-03-23T20:49:54Z (15 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e417b96
Parents:
b48ebd19 (diff), 63f8966 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mailnline changes, revision 329

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/include/types.h

    rb48ebd19 r76ca3f7  
    3636#define KERN_ia64_TYPES_H_
    3737
    38 typedef signed char int8_t;
    39 typedef signed short int16_t;
    40 typedef signed int int32_t;
    41 typedef signed long int64_t;
    42 typedef struct {
    43         int64_t lo;
    44         int64_t hi;
    45 } int128_t;
    46 
    47 typedef unsigned char uint8_t;
    48 typedef unsigned short uint16_t;
    49 typedef unsigned int uint32_t;
    50 typedef unsigned long uint64_t;
    51 typedef struct {
    52         uint64_t lo;
    53         uint64_t hi;
    54 } uint128_t;
    55 
    5638typedef uint64_t size_t;
    5739
     
    7052} __attribute__((may_alias)) fncptr_t;
    7153
    72 #define PRIp "lx"       /**< Format for uintptr_t. */
    73 #define PRIs "lu"       /**< Format for size_t. */
     54#define PRIp "lx"  /**< Format for uintptr_t. */
     55#define PRIs "lu"  /**< Format for size_t. */
    7456
    75 #define PRId8 "d"       /**< Format for int8_t. */
    76 #define PRId16 "d"      /**< Format for int16_t. */
    77 #define PRId32 "d"      /**< Format for int32_t. */
    78 #define PRId64 "ld"     /**< Format for int64_t. */
    79 #define PRIdn "d"       /**< Format for native_t. */
     57#define PRId8 "d"    /**< Format for int8_t. */
     58#define PRId16 "d"   /**< Format for int16_t. */
     59#define PRId32 "d"   /**< Format for int32_t. */
     60#define PRId64 "ld"  /**< Format for int64_t. */
     61#define PRIdn "d"    /**< Format for native_t. */
    8062
    81 #define PRIu8 "u"       /**< Format for uint8_t. */
    82 #define PRIu16 "u"      /**< Format for uint16_t. */
    83 #define PRIu32 "u"      /**< Format for uint32_t. */
    84 #define PRIu64 "lu"     /**< Format for uint64_t. */
    85 #define PRIun "u"       /**< Format for unative_t. */
     63#define PRIu8 "u"    /**< Format for uint8_t. */
     64#define PRIu16 "u"   /**< Format for uint16_t. */
     65#define PRIu32 "u"   /**< Format for uint32_t. */
     66#define PRIu64 "lu"  /**< Format for uint64_t. */
     67#define PRIun "u"    /**< Format for unative_t. */
    8668
    87 #define PRIx8 "x"       /**< Format for hexadecimal (u)int8_t. */
    88 #define PRIx16 "x"      /**< Format for hexadecimal (u)int16_t. */
    89 #define PRIx32 "x"      /**< Format for hexadecimal (u)uint32_t. */
    90 #define PRIx64 "lx"     /**< Format for hexadecimal (u)int64_t. */
    91 #define PRIxn "x"       /**< Format for hexadecimal (u)native_t. */
     69#define PRIx8 "x"    /**< Format for hexadecimal (u)int8_t. */
     70#define PRIx16 "x"   /**< Format for hexadecimal (u)int16_t. */
     71#define PRIx32 "x"   /**< Format for hexadecimal (u)uint32_t. */
     72#define PRIx64 "lx"  /**< Format for hexadecimal (u)int64_t. */
     73#define PRIxn "x"    /**< Format for hexadecimal (u)native_t. */
    9274
    9375#endif
Note: See TracChangeset for help on using the changeset viewer.