Ignore:
File:
1 edited

Legend:

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

    rd99c1d2 r38428aa3  
    2727 */
    2828
    29 /** @addtogroup ia64
     29/** @addtogroup ia64   
    3030 * @{
    3131 */
     
    3535#ifndef KERN_ia64_TYPES_H_
    3636#define KERN_ia64_TYPES_H_
     37
     38typedef signed char int8_t;
     39typedef signed short int16_t;
     40typedef signed int int32_t;
     41typedef signed long int64_t;
     42typedef struct {
     43        int64_t lo;
     44        int64_t hi;
     45} int128_t;
     46
     47typedef unsigned char uint8_t;
     48typedef unsigned short uint16_t;
     49typedef unsigned int uint32_t;
     50typedef unsigned long uint64_t;
     51typedef struct {
     52        uint64_t lo;
     53        uint64_t hi;
     54} uint128_t;
    3755
    3856typedef uint64_t size_t;
     
    4563typedef uint64_t unative_t;
    4664typedef int64_t native_t;
    47 typedef uint64_t atomic_count_t;
    4865
    4966typedef struct {
     
    5269} __attribute__((may_alias)) fncptr_t;
    5370
    54 #define PRIp "lx"  /**< Format for uintptr_t. */
    55 #define PRIs "lu"  /**< Format for size_t. */
     71#define PRIp "lx"       /**< Format for uintptr_t. */
     72#define PRIs "lu"       /**< Format for size_t. */
    5673
    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. */
     74#define PRId8 "d"       /**< Format for int8_t. */
     75#define PRId16 "d"      /**< Format for int16_t. */
     76#define PRId32 "d"      /**< Format for int32_t. */
     77#define PRId64 "ld"     /**< Format for int64_t. */
     78#define PRIdn "d"       /**< Format for native_t. */
    6279
    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. */
     80#define PRIu8 "u"       /**< Format for uint8_t. */
     81#define PRIu16 "u"      /**< Format for uint16_t. */
     82#define PRIu32 "u"      /**< Format for uint32_t. */
     83#define PRIu64 "lu"     /**< Format for uint64_t. */
     84#define PRIun "u"       /**< Format for unative_t. */
    6885
    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. */
     86#define PRIx8 "x"       /**< Format for hexadecimal (u)int8_t. */
     87#define PRIx16 "x"      /**< Format for hexadecimal (u)int16_t. */
     88#define PRIx32 "x"      /**< Format for hexadecimal (u)uint32_t. */
     89#define PRIx64 "lx"     /**< Format for hexadecimal (u)int64_t. */
     90#define PRIxn "x"       /**< Format for hexadecimal (u)native_t. */
    7491
    7592#endif
Note: See TracChangeset for help on using the changeset viewer.