Changeset 71689d44 in rtems
- Timestamp:
- 11/16/99 18:40:25 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 8f9efcb9
- Parents:
- dc2b337
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user/concepts.t
rdc2b337 r71689d44 61 61 62 62 @cindex object ID 63 @cindex object ID composition 63 64 64 65 @need 3000 … … 66 67 An object ID is a unique unsigned thirty-two bit 67 68 entity composed of three parts: object class, node, and index. 68 The most significant six bits are the object class. The next69 ten bits are the number of the node on which this object was70 created. The node number is always one (1) in a single71 processor system. The least significant sixteen bits form an72 identifier within a particular object type. This identifier,73 called the object index, ranges in value from 1 to the maximum74 number of objects configured for this object type.75 69 76 70 @ifset use-ascii … … 152 146 @end ifset 153 147 148 The most significant six bits are the object class. The next 149 ten bits are the number of the node on which this object was 150 created. The node number is always one (1) in a single 151 processor system. The least significant sixteen bits form an 152 identifier within a particular object type. This identifier, 153 called the object index, ranges in value from 1 to the maximum 154 number of objects configured for this object type. 155 154 156 155 157 The three components of an object ID make it possible … … 171 173 directives are not necessary in a properly designed single 172 174 processor application. 175 176 In addition, services are provided to portably examine the 177 three subcomponents of an RTEMS ID. These services are 178 prototyped as follows: 179 180 @cindex obtaining class from object ID 181 @cindex obtaining node from object ID 182 @cindex obtaining index from object ID 183 @cindex get class from object ID 184 @cindex get node from object ID 185 @cindex get index from object ID 186 @findex rtems_get_class 187 @findex rtems_get_node 188 @findex rtems_get_index 189 190 @example 191 rtems_unsigned32 rtems_get_class( rtems_id ); 192 rtems_unsigned32 rtems_get_node( rtems_id ); 193 rtems_unsigned32 rtems_get_index( rtems_id ); 194 @end example 173 195 174 196 An object control block is a data structure defined
Note: See TracChangeset
for help on using the changeset viewer.