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

    rb48ebd19 r76ca3f7  
    3636#define KERN_mips32_TYPES_H_
    3737
    38 typedef signed char int8_t;
    39 typedef signed short int16_t;
    40 typedef signed long int32_t;
    41 typedef signed long long int64_t;
    42 
    43 typedef unsigned char uint8_t;
    44 typedef unsigned short uint16_t;
    45 typedef unsigned long uint32_t;
    46 typedef unsigned long long uint64_t;
    47 
    4838typedef uint32_t size_t;
    4939
     
    6050} fncptr_t;
    6151
    62 #define PRIp "x"        /**< Format for uintptr_t. */
    63 #define PRIs "u"        /**< Format for size_t. */
     52#define PRIp "x"  /**< Format for uintptr_t. */
     53#define PRIs "u"  /**< Format for size_t. */
    6454
    65 #define PRId8 "d"       /**< Format for int8_t. */
    66 #define PRId16 "d"      /**< Format for int16_t. */
    67 #define PRId32 "ld"     /**< Format for int32_t. */
    68 #define PRId64 "lld"    /**< Format for int64_t. */
    69 #define PRIdn "d"       /**< Format for native_t. */
     55#define PRId8 "d"     /**< Format for int8_t. */
     56#define PRId16 "d"    /**< Format for int16_t. */
     57#define PRId32 "ld"   /**< Format for int32_t. */
     58#define PRId64 "lld"  /**< Format for int64_t. */
     59#define PRIdn "d"     /**< Format for native_t. */
    7060
    71 #define PRIu8 "u"       /**< Format for uint8_t. */
    72 #define PRIu16 "u"      /**< Format for uint16_t. */
    73 #define PRIu32 "u"      /**< Format for uint32_t. */
    74 #define PRIu64 "llu"    /**< Format for uint64_t. */
    75 #define PRIun "u"       /**< Format for unative_t. */
     61#define PRIu8 "u"     /**< Format for uint8_t. */
     62#define PRIu16 "u"    /**< Format for uint16_t. */
     63#define PRIu32 "u"    /**< Format for uint32_t. */
     64#define PRIu64 "llu"  /**< Format for uint64_t. */
     65#define PRIun "u"     /**< Format for unative_t. */
    7666
    77 #define PRIx8 "x"       /**< Format for hexadecimal (u)int8_t. */
    78 #define PRIx16 "x"      /**< Format for hexadecimal (u)int16_t. */
    79 #define PRIx32 "x"      /**< Format for hexadecimal (u)uint32_t. */
    80 #define PRIx64 "llx"    /**< Format for hexadecimal (u)int64_t. */
    81 #define PRIxn "x"       /**< Format for hexadecimal (u)native_t. */
     67#define PRIx8 "x"     /**< Format for hexadecimal (u)int8_t. */
     68#define PRIx16 "x"    /**< Format for hexadecimal (u)int16_t. */
     69#define PRIx32 "x"    /**< Format for hexadecimal (u)uint32_t. */
     70#define PRIx64 "llx"  /**< Format for hexadecimal (u)int64_t. */
     71#define PRIxn "x"     /**< Format for hexadecimal (u)native_t. */
    8272
    8373#endif
Note: See TracChangeset for help on using the changeset viewer.