Xenomai API 2.6.5
Device context. More...
|Context flags, see Context Flags for details. |
|Associated file descriptor. |
|Lock counter of context, held while structure is referenced by an operation handler. |
|struct rtdm_operations *||ops|
|Set of active device operation handlers. |
|struct rtdm_device *||device|
|Reference to owning device. |
|Data stored by RTDM inside a device context (internal use only) |
|Begin of driver defined context data structure. |
A device context structure is associated with every open device instance. RTDM takes care of its creation and destruction and passes it to the operation handlers when being invoked.
Drivers can attach arbitrary data immediately after the official structure. The size of this data is provided via rtdm_device.context_size during device registration.