Xenomai
3.0.5
|
RTDM driver. More...
Data Fields | |
struct rtdm_profile_info | profile_info |
Class profile information. More... | |
int | device_flags |
Device flags, see Device Flags for details. More... | |
size_t | context_size |
Size of the private memory area the core should automatically allocate for each open file descriptor, which is usable for storing the context data associated to each connection. More... | |
int | protocol_family |
Protocol device identification: protocol family (PF_xxx) | |
int | socket_type |
Protocol device identification: socket type (SOCK_xxx) | |
struct rtdm_fd_ops | ops |
I/O operation handlers. | |
struct rtdm_sm_ops | smops |
State management handlers. | |
int | device_count |
Count of devices this driver manages. More... | |
int | base_minor |
Base minor for named devices. More... | |
struct { | |
}; | |
Reserved area. | |
RTDM driver.
This descriptor describes a RTDM device driver. The structure holds runtime data, therefore it must reside in writable memory.
int rtdm_driver::base_minor |
Base minor for named devices.
size_t rtdm_driver::context_size |
Size of the private memory area the core should automatically allocate for each open file descriptor, which is usable for storing the context data associated to each connection.
The allocated memory is zero-initialized. The start of this area can be retrieved by a call to rtdm_fd_to_private().
int rtdm_driver::device_count |
Count of devices this driver manages.
This value is used to allocate a chrdev region for named devices.
int rtdm_driver::device_flags |
Device flags, see Device Flags for details.
struct rtdm_profile_info rtdm_driver::profile_info |
Class profile information.
The RTDM_PROFILE_INFO() macro must be used for filling up this field.
Referenced by rtdm_drv_set_sysclass(), and udd_get_device().