Ignore:
File:
1 edited

Legend:

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

    rd99c1d2 r0eef314  
    2727 */
    2828
    29 /** @addtogroup ia32
     29/** @addtogroup ia32   
    3030 * @{
    3131 */
     
    3535#ifndef KERN_ia32_TYPES_H_
    3636#define KERN_ia32_TYPES_H_
     37
     38typedef signed char int8_t;
     39typedef signed short int16_t;
     40typedef signed long int32_t;
     41typedef signed long long int64_t;
     42
     43typedef unsigned char uint8_t;
     44typedef unsigned short uint16_t;
     45typedef unsigned long uint32_t;
     46typedef unsigned long long uint64_t;
    3747
    3848typedef uint32_t size_t;
     
    4555typedef uint32_t unative_t;
    4656typedef int32_t native_t;
    47 typedef uint32_t atomic_count_t;
    4857
    4958typedef struct {
    5059} fncptr_t;
    5160
    52 #define PRIp "x"  /**< Format for uintptr_t. */
    53 #define PRIs "u"  /**< Format for size_t. */
     61#define PRIp "x"        /**< Format for uintptr_t. */
     62#define PRIs "u"        /**< Format for size_t. */
    5463
    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. */
     64#define PRId8 "d"       /**< Format for int8_t. */
     65#define PRId16 "d"      /**< Format for int16_t. */
     66#define PRId32 "d"      /**< Format for int32_t. */
     67#define PRId64 "lld"    /**< Format for int64_t. */
     68#define PRIdn "d"       /**< Format for native_t. */
    6069
    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. */
     70#define PRIu8 "u"       /**< Format for uint8_t. */
     71#define PRIu16 "u"      /**< Format for uint16_t. */
     72#define PRIu32 "u"      /**< Format for uint32_t. */
     73#define PRIu64 "llu"    /**< Format for uint64_t. */
     74#define PRIun "u"       /**< Format for unative_t. */
    6675
    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. */
     76#define PRIx8 "x"       /**< Format for hexadecimal (u)int8_t. */
     77#define PRIx16 "x"      /**< Format for hexadecimal (u)int16_t. */
     78#define PRIx32 "x"      /**< Format for hexadecimal (u)uint32_t. */
     79#define PRIx64 "llx"    /**< Format for hexadecimal (u)int64_t. */
     80#define PRIxn "x"       /**< Format for hexadecimal (u)native_t. */
    7281
    7382#endif
Note: See TracChangeset for help on using the changeset viewer.