Changeset 50269c46 in rtems
- Timestamp:
- 02/10/05 21:46:23 (18 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 16ae480
- Parents:
- 3d852ab
- Location:
- cpukit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r3d852ab r50269c46 1 2005-02-10 Joel Sherrill <joel@OARcorp.com> 2 3 PR 753/rtems 4 * score/include/rtems/score/object.h, 5 score/src/objectinitializeinformation.c: Configured number of objects 6 needs to be of a type with more bits than Objects_Maximum to support 7 configuring unlimited objects. The type for configuring the maximum 8 number of objects should probably always be the same fundamental type 9 as Object Id. For 16-bit Id configurations, the constant 10 OBJECTS_UNLIMITED_OBJECTS was changed to 0x8000 to move in this 11 direction. 12 1 13 2005-02-09 Ralf Corsepius <ralf.corsepius@rtems.org> 2 14 -
cpukit/score/include/rtems/score/object.h
r3d852ab r50269c46 30 30 31 31 /* 32 * Mask to enable unlimited objects. This is used in the configuration33 * table when specifying the number of configured objects.34 */35 36 #define OBJECTS_UNLIMITED_OBJECTS 0x8000000037 38 /*39 32 * The following type defines the control block used to manage 40 33 * object names. … … 49 42 */ 50 43 51 #define OBJECTS_NAME_ALIGNMENT sizeof( uint32_t 44 #define OBJECTS_NAME_ALIGNMENT sizeof( uint32_t ) 52 45 53 46 /* … … 78 71 #define OBJECTS_CLASS_START_BIT 11 79 72 80 #define OBJECTS_INDEX_MASK (Objects_Id)0x000000ff 81 #define OBJECTS_API_MASK (Objects_Id)0x00000700 82 #define OBJECTS_CLASS_MASK (Objects_Id)0x0000F800 73 #define OBJECTS_INDEX_MASK (Objects_Id)0x00ff 74 #define OBJECTS_API_MASK (Objects_Id)0x0700 75 #define OBJECTS_CLASS_MASK (Objects_Id)0xF800 76 77 #define OBJECTS_INDEX_VALID_BITS (Objects_Id)0x00ff 78 #define OBJECTS_API_VALID_BITS (Objects_Id)0x0007 79 /* OBJECTS_NODE_VALID_BITS should not be used with 16 bit Ids */ 80 #define OBJECTS_CLASS_VALID_BITS (Objects_Id)0x001f 81 82 #define OBJECTS_UNLIMITED_OBJECTS 0x8000 83 83 84 84 #else … … 110 110 #define OBJECTS_API_VALID_BITS (Objects_Id)0x00000007 111 111 #define OBJECTS_CLASS_VALID_BITS (Objects_Id)0x0000001f 112 113 /* 114 * Mask to enable unlimited objects. This is used in the configuration 115 * table when specifying the number of configured objects. 116 */ 117 #define OBJECTS_UNLIMITED_OBJECTS 0x80000000 118 112 119 #endif 113 120 … … 345 352 Objects_APIs the_api, 346 353 uint32_t the_class, 347 Objects_Maximummaximum,354 uint32_t maximum, 348 355 uint16_t size, 349 356 boolean is_string, -
cpukit/score/src/objectinitializeinformation.c
r3d852ab r50269c46 52 52 Objects_APIs the_api, 53 53 uint32_t the_class, 54 Objects_Maximummaximum,54 uint32_t maximum, 55 55 uint16_t size, 56 56 boolean is_string,
Note: See TracChangeset
for help on using the changeset viewer.