Xenomai  3.0-rc7
rtdm_driver Struct Reference

RTDM driver. More...

Collaboration diagram for rtdm_driver:

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 driver defined appendix to struct rtdm_dev_context.
 
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...
 
struct {
}; 
 Reserved area.
 

Detailed Description

RTDM driver.

This descriptor describes a RTDM device driver. The structure holds runtime data, therefore it must reside in writable memory.

Field Documentation

int rtdm_driver::device_count

Count of devices this driver manages.

This value is used to allocate a chrdev region for named devices.

Referenced by rtdm_dev_register(), and udd_register_device().

int rtdm_driver::device_flags

Device flags, see Device Flags for details.

Referenced by rtdm_dev_register(), rtdm_dev_unregister(), and udd_register_device().

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 udd_get_device(), and udd_register_device().


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