RTEMS Logo

RTEMS 4.10.0 On-Line Library


Key Concepts Thirty-Two Object ID Format

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

2.2.2.1: Thirty-Two Object ID Format

The thirty-two bit format for an object ID is composed of four parts: API, object class, node, and index. The data type rtems.id is used to store object IDs.

Thirty-Two Bit Object Id

Thirty-Two Bit Object Id

The most significant five bits are the object class. The next three bits indicate the API to which the object class belongs. The next eight bits (16-23) are the number of the node on which this object was created. The node number is always one (1) in a single processor system. The least significant sixteen bits form an identifier within a particular object type. This identifier, called the object index, ranges in value from 1 to the maximum number of objects configured for this object type.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation