Changeset fadfaf8 in mainline


Ignore:
Timestamp:
2008-06-04T06:00:36Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
009474f
Parents:
7f880ee8
Message:

Better comments for pretty print formatters.

File:
1 edited

Legend:

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

    r7f880ee8 rfadfaf8  
    5858typedef int32_t native_t;
    5959
    60 /**< Formats for uintptr_t, size_t, count_t and index_t */
    61 #define PRIp "x"
    62 #define PRIs "u"
    63 #define PRIc "u"
    64 #define PRIi "u"
     60#define PRIp "x"        /**< Format for uintptr_t. */
     61#define PRIs "u"        /**< Format for size_t. */
     62#define PRIc "u"        /**< Format for count_t. */
     63#define PRIi "u"        /**< Format for index_t. */
    6564
    66 /**< Formats for (u)int8_t, (u)int16_t, (u)int32_t, (u)int64_t and (u)native_t */
    67 #define PRId8 "d"
    68 #define PRId16 "d"
    69 #define PRId32 "d"
    70 #define PRId64 "lld"
    71 #define PRIdn "d"
     65#define PRId8 "d"       /**< Format for int8_t. */
     66#define PRId16 "d"      /**< Format for int16_t. */
     67#define PRId32 "d"      /**< Format for int32_t. */
     68#define PRId64 "lld"    /**< Format for int64_t. */
     69#define PRIdn "d"       /**< Format for native_t. */
    7270
    73 #define PRIu8 "u"
    74 #define PRIu16 "u"
    75 #define PRIu32 "u"
    76 #define PRIu64 "llu"
    77 #define PRIun "u"
     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. */
    7876
    79 #define PRIx8 "x"
    80 #define PRIx16 "x"
    81 #define PRIx32 "x"
    82 #define PRIx64 "llx"
    83 #define PRIxn "x"
     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. */
    8482
    8583/** Page Table Entry. */
Note: See TracChangeset for help on using the changeset viewer.