diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-16 08:31:38 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-16 08:31:38 +0000 |
commit | 5b39691e9eaa4f03b14794b824487f324aea7ca2 (patch) | |
tree | 7b30d6723d5f754caaf2396ee40ed669785f1f7f /os/ports/GCC | |
parent | 98c5ccf6b8ce4800442ddc0986690fe0121b701a (diff) | |
download | ChibiOS-5b39691e9eaa4f03b14794b824487f324aea7ca2.tar.gz ChibiOS-5b39691e9eaa4f03b14794b824487f324aea7ca2.tar.bz2 ChibiOS-5b39691e9eaa4f03b14794b824487f324aea7ca2.zip |
Kernel events improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4667 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC')
-rw-r--r-- | os/ports/GCC/ARM/chtypes.h | 3 | ||||
-rw-r--r-- | os/ports/GCC/ARMCMx/chtypes.h | 3 | ||||
-rw-r--r-- | os/ports/GCC/AVR/chtypes.h | 3 | ||||
-rw-r--r-- | os/ports/GCC/MSP430/chtypes.h | 3 | ||||
-rw-r--r-- | os/ports/GCC/PPC/chtypes.h | 5 | ||||
-rw-r--r-- | os/ports/GCC/SIMIA32/chtypes.h | 3 |
6 files changed, 13 insertions, 7 deletions
diff --git a/os/ports/GCC/ARM/chtypes.h b/os/ports/GCC/ARM/chtypes.h index eb0c04c77..a4067e915 100644 --- a/os/ports/GCC/ARM/chtypes.h +++ b/os/ports/GCC/ARM/chtypes.h @@ -46,7 +46,8 @@ typedef uint8_t tslices_t; /**< Thread time slices counter. */ typedef uint32_t tprio_t; /**< Thread priority. */
typedef int32_t msg_t; /**< Inter-thread message. */
typedef int32_t eventid_t; /**< Event Id. */
-typedef uint32_t eventmask_t; /**< Events mask. */
+typedef uint32_t eventmask_t; /**< Event mask. */
+typedef uint32_t flagsmask_t; /**< Event flags. */
typedef uint32_t systime_t; /**< System time. */
typedef int32_t cnt_t; /**< Resources counter. */
diff --git a/os/ports/GCC/ARMCMx/chtypes.h b/os/ports/GCC/ARMCMx/chtypes.h index 4d896fea0..70feda2fe 100644 --- a/os/ports/GCC/ARMCMx/chtypes.h +++ b/os/ports/GCC/ARMCMx/chtypes.h @@ -44,7 +44,8 @@ typedef uint8_t tslices_t; /**< Thread time slices counter. */ typedef uint32_t tprio_t; /**< Thread priority. */
typedef int32_t msg_t; /**< Inter-thread message. */
typedef int32_t eventid_t; /**< Event Id. */
-typedef uint32_t eventmask_t; /**< Events mask. */
+typedef uint32_t eventmask_t; /**< Event mask. */
+typedef uint32_t flagsmask_t; /**< Event flags. */
typedef uint32_t systime_t; /**< System time. */
typedef int32_t cnt_t; /**< Resources counter. */
diff --git a/os/ports/GCC/AVR/chtypes.h b/os/ports/GCC/AVR/chtypes.h index 0c8197823..96ed68aa3 100644 --- a/os/ports/GCC/AVR/chtypes.h +++ b/os/ports/GCC/AVR/chtypes.h @@ -46,7 +46,8 @@ typedef uint8_t tslices_t; /**< Thread time slices counter. */ typedef uint8_t tprio_t; /**< Thread priority. */
typedef int16_t msg_t; /**< Inter-thread message. */
typedef uint8_t eventid_t; /**< Event Id. */
-typedef uint8_t eventmask_t; /**< Events mask. */
+typedef uint8_t eventmask_t; /**< Event mask. */
+typedef uint8_t flagsmask_t; /**< Event flags. */
typedef uint16_t systime_t; /**< System time. */
typedef int8_t cnt_t; /**< Resources counter. */
diff --git a/os/ports/GCC/MSP430/chtypes.h b/os/ports/GCC/MSP430/chtypes.h index a56351016..d195f3fb3 100644 --- a/os/ports/GCC/MSP430/chtypes.h +++ b/os/ports/GCC/MSP430/chtypes.h @@ -46,7 +46,8 @@ typedef uint8_t tslices_t; /**< Thread time slices counter. */ typedef uint16_t tprio_t; /**< Thread priority. */
typedef int16_t msg_t; /**< Inter-thread message. */
typedef int16_t eventid_t; /**< Event Id. */
-typedef uint16_t eventmask_t; /**< Events mask. */
+typedef uint16_t eventmask_t; /**< Event mask. */
+typedef uint16_t flagsmask_t; /**< Event flags. */
typedef uint16_t systime_t; /**< System time. */
typedef int16_t cnt_t; /**< Resources counter. */
diff --git a/os/ports/GCC/PPC/chtypes.h b/os/ports/GCC/PPC/chtypes.h index debc5f0f8..3a1844ef9 100644 --- a/os/ports/GCC/PPC/chtypes.h +++ b/os/ports/GCC/PPC/chtypes.h @@ -54,11 +54,12 @@ typedef int32_t bool_t; /**< Fast boolean type. */ typedef uint8_t tmode_t; /**< Thread flags. */
typedef uint8_t tstate_t; /**< Thread state. */
typedef uint8_t trefs_t; /**< Thread references counter. */
-typedef uint8_t tslices_t; /**< Thread time slices counter. */
+typedef uint8_t tslices_t; /**< Thread time slices counter.*/
typedef uint32_t tprio_t; /**< Thread priority. */
typedef int32_t msg_t; /**< Inter-thread message. */
typedef int32_t eventid_t; /**< Event Id. */
-typedef uint32_t eventmask_t; /**< Events mask. */
+typedef uint32_t eventmask_t; /**< Event mask. */
+typedef uint32_t flagsmask_t; /**< Event flags. */
typedef uint32_t systime_t; /**< System time. */
typedef int32_t cnt_t; /**< Resources counter. */
diff --git a/os/ports/GCC/SIMIA32/chtypes.h b/os/ports/GCC/SIMIA32/chtypes.h index 54d701044..7b24597c2 100644 --- a/os/ports/GCC/SIMIA32/chtypes.h +++ b/os/ports/GCC/SIMIA32/chtypes.h @@ -38,7 +38,8 @@ typedef uint8_t tslices_t; /**< Thread time slices counter. */ typedef uint32_t tprio_t; /**< Thread priority. */
typedef int32_t msg_t; /**< Inter-thread message. */
typedef int32_t eventid_t; /**< Event Id. */
-typedef uint32_t eventmask_t; /**< Events mask. */
+typedef uint32_t eventmask_t; /**< Event mask. */
+typedef uint32_t flagsmask_t; /**< Event flags. */
typedef uint32_t systime_t; /**< System time. */
typedef int32_t cnt_t; /**< Resources counter. */
|