diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-01-05 20:09:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-01-05 20:09:02 +0000 |
commit | b028e725e35629e0405d237942e97a73843ae35b (patch) | |
tree | 5cac5182644fcd11fe996272790b2b9a62cec67b /cpukit/score/include/rtems/score/object.h | |
parent | 2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-b028e725e35629e0405d237942e97a73843ae35b.tar.bz2 |
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* score/include/rtems/score/object.h,
score/src/objectallocatebyindex.c: Object index should be int.
Fix bug when index is negative.
* score/src/objectextendinformation.c: Do not allow maximum number
of allocated objects to exceed maximum representable in index
field of Object Id.
* score/src/objectgetisr.c: Use same code that is in _Objects_Get
to extract index field of Object Id.
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 af46659069..6bd5358869 100644 --- a/cpukit/score/include/rtems/score/object.h +++ b/cpukit/score/include/rtems/score/object.h @@ -519,7 +519,7 @@ Objects_Control *_Objects_Allocate( */ Objects_Control *_Objects_Allocate_by_index( Objects_Information *information, - uint16_t the_index, + int the_index, uint16_t sizeof_control ); |