summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-19 19:30:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-12-19 19:30:37 +0000
commitb7b450efac6497f5ac698213a33fd01c6af736da (patch)
tree1a3367b21c94ba1291866954bbae890833267d12 /cpukit
parent2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-b7b450efac6497f5ac698213a33fd01c6af736da.tar.bz2
2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* itron/include/itronsys/types.h: Derive ITRON ID type from Objects_Id to avoid sizing mismatches.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/itron/include/itronsys/types.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index af6cb5a5d7..e32da0b077 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,10 @@
2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
+ * itron/include/itronsys/types.h: Derive ITRON ID type from Objects_Id
+ to avoid sizing mismatches.
+
+2008-12-19 Joel Sherrill <joel.sherrill@oarcorp.com>
+
* rtems/src/dpmemcreate.c: Spacing.
* rtems/src/timerserver.c: Move error check to RTEMS_DEBUG. Cannot
happen under normal circumstances.
diff --git a/cpukit/itron/include/itronsys/types.h b/cpukit/itron/include/itronsys/types.h
index a580bf4ffb..80d73c4c3a 100644
--- a/cpukit/itron/include/itronsys/types.h
+++ b/cpukit/itron/include/itronsys/types.h
@@ -16,6 +16,8 @@
#ifndef _ITRONSYS_TYPES_H
#define _ITRONSYS_TYPES_H
+#include <rtems/score/object.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -61,7 +63,7 @@ typedef int32_t INT; /* Signed integer (bit width of processor) */
typedef uint32_t UINT; /* Unsigned integer (bit width of processor) */
typedef bool BOOL; /* Boolean value. TRUE (1) or FALSE (0). */
typedef int16_t FN; /* Function code. Signed integer. Maximum 2 bytes. */
-typedef int ID; /* Object ID number (???id) */
+typedef Objects_Id ID; /* Object ID number (???id) */
/* Value range depends on the system. Usually */
/* a signed integer. Certain ID values may */
/* represent objects on other nodes when the */