diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-01-30 22:14:47 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-01-30 22:14:47 +0000 |
commit | 42740bd6b545c9b389e53ec67bcd83b291821344 (patch) | |
tree | 9f83718f1bd4a6cccf0c6c1caa10b0b8262747d8 /cpukit/score/include/rtems/score/object.h | |
parent | 2009-01-29 Nickolay Semyonov-Kolchin <nbkolchin@gmail.com> (diff) | |
download | rtems-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.
Diffstat (limited to 'cpukit/score/include/rtems/score/object.h')
-rw-r--r-- | cpukit/score/include/rtems/score/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 /** |