62#define RTEMS_MEDIA_MOUNT_BASE "/media"
64#define RTEMS_MEDIA_DELIMITER '-'
83 RTEMS_MEDIA_EVENT_DISK_ATTACH,
84 RTEMS_MEDIA_EVENT_DISK_DETACH,
85 RTEMS_MEDIA_EVENT_MOUNT,
86 RTEMS_MEDIA_EVENT_UNMOUNT,
87 RTEMS_MEDIA_EVENT_PARTITION_INQUIRY,
88 RTEMS_MEDIA_EVENT_PARTITION_ATTACH,
89 RTEMS_MEDIA_EVENT_PARTITION_DETACH,
90 RTEMS_MEDIA_EVENT_ERROR
105 RTEMS_MEDIA_STATE_INQUIRY,
106 RTEMS_MEDIA_STATE_READY,
107 RTEMS_MEDIA_STATE_ABORTED,
108 RTEMS_MEDIA_STATE_SUCCESS,
109 RTEMS_MEDIA_STATE_FAILED,
110 RTEMS_MEDIA_ERROR_DISK_UNKNOWN,
111 RTEMS_MEDIA_ERROR_DISK_EXISTS,
112 RTEMS_MEDIA_ERROR_DISK_OR_PARTITION_UNKNOWN,
113 RTEMS_MEDIA_ERROR_DISK_OR_PARTITION_EXISTS,
114 RTEMS_MEDIA_ERROR_PARTITION_UNKNOWN,
115 RTEMS_MEDIA_ERROR_PARTITION_ORPHAN,
116 RTEMS_MEDIA_ERROR_PARTITION_DETACH_WITH_MOUNT,
117 RTEMS_MEDIA_ERROR_PARTITION_WITH_UNKNOWN_DISK,
118 RTEMS_MEDIA_ERROR_MOUNT_POINT_UNKNOWN,
119 RTEMS_MEDIA_ERROR_MOUNT_POINT_EXISTS,
120 RTEMS_MEDIA_ERROR_MOUNT_POINT_ORPHAN
443 const char *driver_name,
449 RTEMS_MEDIA_EVENT_DISK_ATTACH,
460 const char *disk_path
464 RTEMS_MEDIA_EVENT_DISK_DETACH,
523 const char *device_path,
524 dev_t *device_identifier
uint32_t rtems_attribute
This type represents Classic API attributes.
Definition: attr.h:96
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition: io.h:103
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition: io.h:115
uint32_t rtems_mode
This type represents a Classic API task mode set.
Definition: modes.h:174
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
@ RTEMS_SUCCESSFUL
This status code indicates successful completion of a requested operation.
Definition: status.h:90
uint32_t rtems_task_priority
This integer type represents task priorities of the Classic API.
Definition: types.h:257
This header file defines the RTEMS Classic API.