git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1557 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
7f8dfe2fd3
commit
ce91c3f44a
|
@ -36,15 +36,16 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef int32_t bool_t; /**< Fast boolean type. */
|
typedef int32_t bool_t; /**< Fast boolean type. */
|
||||||
typedef uint8_t tmode_t; /**< Thread flags. */
|
typedef uint8_t tmode_t; /**< Thread flags. */
|
||||||
typedef uint8_t tstate_t; /**< Thread state. */
|
typedef uint8_t tstate_t; /**< Thread state. */
|
||||||
typedef uint32_t tprio_t; /**< Thread priority. */
|
typedef uint8_t trefs_t; /**< Thread references counter. */
|
||||||
typedef int32_t msg_t; /**< Inter-thread message. */
|
typedef uint32_t tprio_t; /**< Thread priority. */
|
||||||
typedef int32_t eventid_t; /**< Event Id. */
|
typedef int32_t msg_t; /**< Inter-thread message. */
|
||||||
typedef uint32_t eventmask_t; /**< Events mask. */
|
typedef int32_t eventid_t; /**< Event Id. */
|
||||||
typedef uint32_t systime_t; /**< System time. */
|
typedef uint32_t eventmask_t; /**< Events mask. */
|
||||||
typedef int32_t cnt_t; /**< Resources counter. */
|
typedef uint32_t systime_t; /**< System time. */
|
||||||
|
typedef int32_t cnt_t; /**< Resources counter. */
|
||||||
|
|
||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
#define PACK_STRUCT_STRUCT __attribute__((packed))
|
#define PACK_STRUCT_STRUCT __attribute__((packed))
|
||||||
|
|
|
@ -36,15 +36,16 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef int8_t bool_t; /**< Fast boolean type. */
|
typedef int8_t bool_t; /**< Fast boolean type. */
|
||||||
typedef uint8_t tmode_t; /**< Thread flags. */
|
typedef uint8_t tmode_t; /**< Thread flags. */
|
||||||
typedef uint8_t tstate_t; /**< Thread state. */
|
typedef uint8_t tstate_t; /**< Thread state. */
|
||||||
typedef uint8_t tprio_t; /**< Thread priority. */
|
typedef uint8_t trefs_t; /**< Thread references counter. */
|
||||||
typedef int16_t msg_t; /**< Inter-thread message. */
|
typedef uint8_t tprio_t; /**< Thread priority. */
|
||||||
typedef uint8_t eventid_t; /**< Event Id. */
|
typedef int16_t msg_t; /**< Inter-thread message. */
|
||||||
typedef uint8_t eventmask_t; /**< Events mask. */
|
typedef uint8_t eventid_t; /**< Event Id. */
|
||||||
typedef uint16_t systime_t; /**< System time. */
|
typedef uint8_t eventmask_t; /**< Events mask. */
|
||||||
typedef int8_t cnt_t; /**< Resources counter. */
|
typedef uint16_t systime_t; /**< System time. */
|
||||||
|
typedef int8_t cnt_t; /**< Resources counter. */
|
||||||
|
|
||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
#define PACK_STRUCT_STRUCT __attribute__((packed))
|
#define PACK_STRUCT_STRUCT __attribute__((packed))
|
||||||
|
|
|
@ -36,15 +36,16 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef int16_t bool_t; /**< Fast boolean type. */
|
typedef int16_t bool_t; /**< Fast boolean type. */
|
||||||
typedef uint8_t tmode_t; /**< Thread flags. */
|
typedef uint8_t tmode_t; /**< Thread flags. */
|
||||||
typedef uint8_t tstate_t; /**< Thread state. */
|
typedef uint8_t tstate_t; /**< Thread state. */
|
||||||
typedef uint16_t tprio_t; /**< Thread priority. */
|
typedef uint8_t trefs_t; /**< Thread references counter. */
|
||||||
typedef int16_t msg_t; /**< Inter-thread message. */
|
typedef uint16_t tprio_t; /**< Thread priority. */
|
||||||
typedef int16_t eventid_t; /**< Event Id. */
|
typedef int16_t msg_t; /**< Inter-thread message. */
|
||||||
typedef uint16_t eventmask_t; /**< Events mask. */
|
typedef int16_t eventid_t; /**< Event Id. */
|
||||||
typedef uint16_t systime_t; /**< System time. */
|
typedef uint16_t eventmask_t; /**< Events mask. */
|
||||||
typedef int16_t cnt_t; /**< Resources counter. */
|
typedef uint16_t systime_t; /**< System time. */
|
||||||
|
typedef int16_t cnt_t; /**< Resources counter. */
|
||||||
|
|
||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
#define PACK_STRUCT_STRUCT __attribute__((packed))
|
#define PACK_STRUCT_STRUCT __attribute__((packed))
|
||||||
|
|
|
@ -29,15 +29,16 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef int8_t bool_t;
|
typedef int32_t bool_t; /**< Fast boolean type. */
|
||||||
typedef uint8_t tmode_t;
|
typedef uint8_t tmode_t; /**< Thread flags. */
|
||||||
typedef uint8_t tstate_t;
|
typedef uint8_t tstate_t; /**< Thread state. */
|
||||||
typedef uint32_t tprio_t;
|
typedef uint8_t trefs_t; /**< Thread references counter. */
|
||||||
typedef int32_t msg_t;
|
typedef uint32_t tprio_t; /**< Thread priority. */
|
||||||
typedef int32_t eventid_t;
|
typedef int32_t msg_t; /**< Inter-thread message. */
|
||||||
typedef uint32_t eventmask_t;
|
typedef int32_t eventid_t; /**< Event Id. */
|
||||||
typedef uint32_t systime_t;
|
typedef uint32_t eventmask_t; /**< Events mask. */
|
||||||
typedef int32_t cnt_t;
|
typedef uint32_t systime_t; /**< System time. */
|
||||||
|
typedef int32_t cnt_t; /**< Resources counter. */
|
||||||
|
|
||||||
#define INLINE inline
|
#define INLINE inline
|
||||||
#define PACK_STRUCT_STRUCT __attribute__((packed))
|
#define PACK_STRUCT_STRUCT __attribute__((packed))
|
||||||
|
|
Loading…
Reference in New Issue