26 #include <sys/types.h> 47 #define RTEMS_MEDIA_MOUNT_BASE "/media" 49 #define RTEMS_MEDIA_DELIMITER '-' 68 RTEMS_MEDIA_EVENT_DISK_ATTACH,
69 RTEMS_MEDIA_EVENT_DISK_DETACH,
70 RTEMS_MEDIA_EVENT_MOUNT,
71 RTEMS_MEDIA_EVENT_UNMOUNT,
72 RTEMS_MEDIA_EVENT_PARTITION_INQUIRY,
73 RTEMS_MEDIA_EVENT_PARTITION_ATTACH,
74 RTEMS_MEDIA_EVENT_PARTITION_DETACH,
75 RTEMS_MEDIA_EVENT_ERROR
90 RTEMS_MEDIA_STATE_INQUIRY,
91 RTEMS_MEDIA_STATE_READY,
92 RTEMS_MEDIA_STATE_ABORTED,
93 RTEMS_MEDIA_STATE_SUCCESS,
94 RTEMS_MEDIA_STATE_FAILED,
95 RTEMS_MEDIA_ERROR_DISK_UNKNOWN,
96 RTEMS_MEDIA_ERROR_DISK_EXISTS,
97 RTEMS_MEDIA_ERROR_DISK_OR_PARTITION_UNKNOWN,
98 RTEMS_MEDIA_ERROR_DISK_OR_PARTITION_EXISTS,
99 RTEMS_MEDIA_ERROR_PARTITION_UNKNOWN,
100 RTEMS_MEDIA_ERROR_PARTITION_ORPHAN,
101 RTEMS_MEDIA_ERROR_PARTITION_DETACH_WITH_MOUNT,
102 RTEMS_MEDIA_ERROR_PARTITION_WITH_UNKNOWN_DISK,
103 RTEMS_MEDIA_ERROR_MOUNT_POINT_UNKNOWN,
104 RTEMS_MEDIA_ERROR_MOUNT_POINT_EXISTS,
105 RTEMS_MEDIA_ERROR_MOUNT_POINT_ORPHAN
284 rtems_media_event event,
285 rtems_media_state state,
308 rtems_media_state state,
372 rtems_media_event event,
415 rtems_media_event event,
425 const char *driver_name,
431 RTEMS_MEDIA_EVENT_DISK_ATTACH,
442 const char *disk_path
446 RTEMS_MEDIA_EVENT_DISK_DETACH,
468 rtems_device_major_number major
487 rtems_device_minor_number minor
505 const char *device_path,
506 dev_t *device_identifier
509 const char *rtems_media_event_description(rtems_media_event event);
511 const char *rtems_media_state_description(rtems_media_state state);
uint32_t rtems_attribute
Definition: attr.h:41
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:65
rtems_status_code
Classic API Status.
Definition: status.h:43
uint32_t rtems_mode
Definition: modes.h:41
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77
uint32_t rtems_task_priority
Definition: tasks.h:54