Changeset 76ca3f7 in mainline for kernel/arch/arm32/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/arm32/include/types.h

    rb48ebd19 r76ca3f7  
    4343#endif
    4444
    45 typedef signed char int8_t;
    46 typedef signed short int16_t;
    47 typedef signed long int32_t;
    48 typedef signed long long int64_t;
    49 
    50 typedef unsigned char uint8_t;
    51 typedef unsigned short uint16_t;
    52 typedef unsigned long uint32_t;
    53 typedef unsigned long long uint64_t;
    54 
    5545typedef uint32_t size_t;
    5646
     
    6757} fncptr_t;
    6858
    69 #define PRIp "x"        /**< Format for uintptr_t. */
    70 #define PRIs "u"        /**< Format for size_t. */
     59#define PRIp "x"  /**< Format for uintptr_t. */
     60#define PRIs "u"  /**< Format for size_t. */
    7161
    72 #define PRId8 "d"       /**< Format for int8_t. */
    73 #define PRId16 "d"      /**< Format for int16_t. */
    74 #define PRId32 "d"      /**< Format for int32_t. */
    75 #define PRId64 "lld"    /**< Format for int64_t. */
    76 #define PRIdn "d"       /**< Format for native_t. */
     62#define PRId8 "d"     /**< Format for int8_t. */
     63#define PRId16 "d"    /**< Format for int16_t. */
     64#define PRId32 "d"    /**< Format for int32_t. */
     65#define PRId64 "lld"  /**< Format for int64_t. */
     66#define PRIdn "d"     /**< Format for native_t. */
    7767
    78 #define PRIu8 "u"       /**< Format for uint8_t. */
    79 #define PRIu16 "u"      /**< Format for uint16_t. */
    80 #define PRIu32 "u"      /**< Format for uint32_t. */
    81 #define PRIu64 "llu"    /**< Format for uint64_t. */
    82 #define PRIun "u"       /**< Format for unative_t. */
     68#define PRIu8 "u"     /**< Format for uint8_t. */
     69#define PRIu16 "u"    /**< Format for uint16_t. */
     70#define PRIu32 "u"    /**< Format for uint32_t. */
     71#define PRIu64 "llu"  /**< Format for uint64_t. */
     72#define PRIun "u"     /**< Format for unative_t. */
    8373
    84 #define PRIx8 "x"       /**< Format for hexadecimal (u)int8_t. */
    85 #define PRIx16 "x"      /**< Format for hexadecimal (u)int16_t. */
    86 #define PRIx32 "x"      /**< Format for hexadecimal (u)uint32_t. */
    87 #define PRIx64 "llx"    /**< Format for hexadecimal (u)int64_t. */
    88 #define PRIxn "x"       /**< Format for hexadecimal (u)native_t. */
     74#define PRIx8 "x"     /**< Format for hexadecimal (u)int8_t. */
     75#define PRIx16 "x"    /**< Format for hexadecimal (u)int16_t. */
     76#define PRIx32 "x"    /**< Format for hexadecimal (u)uint32_t. */
     77#define PRIx64 "llx"  /**< Format for hexadecimal (u)int64_t. */
     78#define PRIxn "x"     /**< Format for hexadecimal (u)native_t. */
    8979
    9080#endif
Note: See TracChangeset for help on using the changeset viewer.