summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-30 22:14:47 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-01-30 22:14:47 +0000
commit42740bd6b545c9b389e53ec67bcd83b291821344 (patch)
tree9f83718f1bd4a6cccf0c6c1caa10b0b8262747d8
parent2009-01-29 Nickolay Semyonov-Kolchin <nbkolchin@gmail.com> (diff)
downloadrtems-42740bd6b545c9b389e53ec67bcd83b291821344.tar.bz2
2009-01-30 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/object.h: Maximum index if 0xffff not 0xff when using 32-bit ids. This resulted in unlimited configurations not being able to create more than 255 objects of a class.
-rw-r--r--cpukit/ChangeLog6
-rw-r--r--cpukit/score/include/rtems/score/object.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index baf945943a..964d49c292 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-30 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * score/include/rtems/score/object.h: Maximum index if 0xffff not 0xff
+ when using 32-bit ids. This resulted in unlimited configurations not
+ being able to create more than 255 objects of a class.
+
2009-01-29 Nickolay Semyonov-Kolchin <nbkolchin@gmail.com>
PR 1359/cpukit
diff --git a/cpukit/score/include/rtems/score/object.h b/cpukit/score/include/rtems/score/object.h
index 6bd5358869..54f4dc5875 100644
--- a/cpukit/score/include/rtems/score/object.h
+++ b/cpukit/score/include/rtems/score/object.h
@@ -192,7 +192,7 @@ typedef uint16_t Objects_Maximum;
/**
* This is the highest value for the index portion of an object Id.
*/
-#define OBJECTS_ID_FINAL_INDEX (0xff)
+#define OBJECTS_ID_FINAL_INDEX (0xffff)
#endif
/**