Xenomai  3.0.5
rtdm_dev_context Struct Reference

Device context. More...

Collaboration diagram for rtdm_dev_context:

Data Fields

struct rtdm_devicedevice
 Set of active device operation handlers. More...
 
char dev_private [0]
 Begin of driver defined context data structure.
 

Detailed Description

Device context.

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_driver.context_size during device registration.

Field Documentation

◆ device

struct rtdm_device* rtdm_dev_context::device

Set of active device operation handlers.

Reference to owning device


The documentation for this struct was generated from the following file: