Changeset d99c1d2 in mainline for kernel/arch/ia32/include/types.h


Ignore:
Timestamp:
2010-03-23T14:41:06Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b1164e8
Parents:
7c682dd1
Message:

use [u]int{8|16|32|64}_t type definitions as detected by the autotool
replace direct usage of arch/types.h with typedefs.h

File:
1 edited

Legend:

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

    r7c682dd1 rd99c1d2  
    3636#define KERN_ia32_TYPES_H_
    3737
    38 #include <arch/common.h>
    39 
    4038typedef uint32_t size_t;
    4139
     
    5250} fncptr_t;
    5351
    54 #define PRIp "x"        /**< Format for uintptr_t. */
    55 #define PRIs "u"        /**< Format for size_t. */
     52#define PRIp "x"  /**< Format for uintptr_t. */
     53#define PRIs "u"  /**< Format for size_t. */
    5654
    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 "lld"    /**< Format for int64_t. */
    61 #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 "d"    /**< Format for int32_t. */
     58#define PRId64 "lld"  /**< Format for int64_t. */
     59#define PRIdn "d"     /**< Format for native_t. */
    6260
    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 "llu"    /**< Format for uint64_t. */
    67 #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. */
    6866
    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 "llx"    /**< Format for hexadecimal (u)int64_t. */
    73 #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. */
    7472
    7573#endif
Note: See TracChangeset for help on using the changeset viewer.