RTEMS: bsps/shared/dev/serial/legacy-console-control.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions
legacy-console-control.c File Reference

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.

## Detailed Description

Generic libchip console io_ctl extension.

## Function Documentation

## ◆ console_control()

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.

Parameters

  [in] | major | is the device driver major number
  [in] | minor | is the device driver minor number
  [in] | arg | is the parameters to this call

Return values

  RTEMS_SUCCESSFUL | the device driver IO control operation is successfully performed.