26 #include <sys/types.h> 49 #define RTEMS_MEDIA_MOUNT_BASE "/media" 51 #define RTEMS_MEDIA_DELIMITER '-' 70 RTEMS_MEDIA_EVENT_DISK_ATTACH,
71 RTEMS_MEDIA_EVENT_DISK_DETACH,
72 RTEMS_MEDIA_EVENT_MOUNT,
73 RTEMS_MEDIA_EVENT_UNMOUNT,
74 RTEMS_MEDIA_EVENT_PARTITION_INQUIRY,
75 RTEMS_MEDIA_EVENT_PARTITION_ATTACH,
76 RTEMS_MEDIA_EVENT_PARTITION_DETACH,
77 RTEMS_MEDIA_EVENT_ERROR
92 RTEMS_MEDIA_STATE_INQUIRY,
93 RTEMS_MEDIA_STATE_READY,
94 RTEMS_MEDIA_STATE_ABORTED,
95 RTEMS_MEDIA_STATE_SUCCESS,
96 RTEMS_MEDIA_STATE_FAILED,
97 RTEMS_MEDIA_ERROR_DISK_UNKNOWN,
98 RTEMS_MEDIA_ERROR_DISK_EXISTS,
99 RTEMS_MEDIA_ERROR_DISK_OR_PARTITION_UNKNOWN,
100 RTEMS_MEDIA_ERROR_DISK_OR_PARTITION_EXISTS,
101 RTEMS_MEDIA_ERROR_PARTITION_UNKNOWN,
102 RTEMS_MEDIA_ERROR_PARTITION_ORPHAN,
103 RTEMS_MEDIA_ERROR_PARTITION_DETACH_WITH_MOUNT,
104 RTEMS_MEDIA_ERROR_PARTITION_WITH_UNKNOWN_DISK,
105 RTEMS_MEDIA_ERROR_MOUNT_POINT_UNKNOWN,
106 RTEMS_MEDIA_ERROR_MOUNT_POINT_EXISTS,
107 RTEMS_MEDIA_ERROR_MOUNT_POINT_ORPHAN
427 const char *driver_name,
433 RTEMS_MEDIA_EVENT_DISK_ATTACH,
444 const char *disk_path
448 RTEMS_MEDIA_EVENT_DISK_DETACH,
470 rtems_device_major_number major
489 rtems_device_minor_number minor
507 const char *device_path,
508 dev_t *device_identifier
uint32_t rtems_attribute
Definition: attr.h:41
rtems_status_code
Classic API Status.
Definition: status.h:43
uint32_t rtems_mode
Definition: modes.h:41
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:66
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77
uint32_t rtems_task_priority
Definition: tasks.h:55