diff options
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/object.h | 2 |
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 /** |