From 42740bd6b545c9b389e53ec67bcd83b291821344 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 30 Jan 2009 22:14:47 +0000 Subject: 2009-01-30 Joel Sherrill * 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. --- cpukit/score/include/rtems/score/object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/include/rtems/score/object.h') 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 /** -- cgit v1.2.3