![]() |
RTEMS 6.1
|
Generic libchip console io_ctl extension. More...
#include <bsp.h>#include <rtems/libio.h>#include <stdlib.h>#include <assert.h>#include <termios.h>#include <rtems/termiostypes.h>#include <rtems/console.h>#include <libchip/serial.h>#include "legacy-console.h"Functions | |
| rtems_device_driver | console_control (rtems_device_major_number major, rtems_device_minor_number minor, void *arg) |
| Console IO control entry point. | |
Generic libchip console io_ctl extension.
| rtems_device_driver console_control | ( | rtems_device_major_number | major, |
| rtems_device_minor_number | minor, | ||
| void * | arg | ||
| ) |
Console IO control entry point.
This method performs an IO Control operation on a specific device supported by the console device driver.
| [in] | major | is the device driver major number |
| [in] | minor | is the device driver minor number |
| [in] | arg | is the parameters to this call |
| RTEMS_SUCCESSFUL | the device driver IO control operation is successfully performed. |