36 typedef uint32_t rtems_device_major_number;
38 typedef uint32_t rtems_device_minor_number;
42 typedef rtems_device_driver (*rtems_device_driver_entry)(
43 rtems_device_major_number,
44 rtems_device_minor_number,
49 rtems_device_driver_entry initialization_entry;
50 rtems_device_driver_entry open_entry;
51 rtems_device_driver_entry close_entry;
52 rtems_device_driver_entry read_entry;
53 rtems_device_driver_entry write_entry;
54 rtems_device_driver_entry control_entry;
68 rtems_device_major_number major,
69 rtems_device_minor_number minor,
93 rtems_device_major_number major,
95 rtems_device_major_number *registered_major
108 rtems_device_major_number major
121 const char *device_name,
122 rtems_device_major_number major,
123 rtems_device_minor_number minor
140 rtems_device_major_number major,
141 rtems_device_minor_number minor,
157 rtems_device_major_number major,
158 rtems_device_minor_number minor,
174 rtems_device_major_number major,
175 rtems_device_minor_number minor,
191 rtems_device_major_number major,
192 rtems_device_minor_number minor,
208 rtems_device_major_number major,
209 rtems_device_minor_number minor,
225 rtems_device_major_number major,
226 rtems_device_minor_number minor,
235 const char *device_name;
236 size_t device_name_length;
237 rtems_device_major_number major;
238 rtems_device_minor_number minor;
rtems_status_code rtems_io_register_name(const char *device_name, rtems_device_major_number major, rtems_device_minor_number minor)
Registers the name device_name in the file system for the device with number tuple major and minor...
Definition: ioman.c:29
rtems_status_code rtems_io_write(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Writing for the IO manager.
Definition: iowrite.c:24
rtems_status_code rtems_io_driver_io_error(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Returns RTEMS_IO_ERROR.
rtems_status_code
Classic API Status.
Definition: status.h:43
rtems_status_code rtems_io_initialize(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
IO driver initialization.
Definition: ioinitialize.c:24
rtems_status_code rtems_io_register_driver(rtems_device_major_number major, const rtems_driver_address_table *driver_table, rtems_device_major_number *registered_major)
Registers and initializes the device with the device driver table driver_table and major number major...
Definition: ioregisterdriver.c:61
rtems_status_code rtems_io_control(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Control for the IO manager.
Definition: iocontrol.c:24
rtems_status_code rtems_io_lookup_name(const char *name, rtems_driver_name_t *device_info) RTEMS_DEPRECATED
Definition: ioman.c:48
rtems_status_code rtems_io_close(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Closing for the IO manager.
Definition: ioclose.c:26
rtems_status_code rtems_io_read(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Reading for the IO manager.
Definition: ioread.c:24
rtems_status_code rtems_io_unregister_driver(rtems_device_major_number major)
Unregister a driver from the device driver table.
Definition: iounregisterdriver.c:27
#define RTEMS_DEPRECATED
Public name for task floating point context area.
Definition: basedefs.h:129
rtems_status_code rtems_io_open(rtems_device_major_number major, rtems_device_minor_number minor, void *argument)
Opening for the IO manager.
Definition: ioopen.c:26