RTEMS  5.0.0
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. More...
 

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]majoris the device driver major number
[in]minoris the device driver minor number
[in]argis the parameters to this call
Return values
RTEMS_SUCCESSFULthe device driver IO control operation is successfully performed.