source: rtems/c/src/lib/libbsp/shared/console_control.c @ 19260fb

4.115
Last change on this file since 19260fb was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 924 bytes
Line 
1/**
2 * @file
3 *
4 * @ingroup Console
5 *
6 * @brief Generic libchip console io_ctl extension
7 */
8
9
10/*
11 *  This file is an extension of the generic console driver
12 *  shell used by all console drivers using libchip.
13 *
14 *  COPYRIGHT (c) 1989-2011.
15 *  On-Line Applications Research Corporation (OAR).
16 *
17 *  The license and distribution terms for this file may be
18 *  found in the file LICENSE in this distribution or at
19 *  http://www.rtems.org/license/LICENSE.
20 */
21
22#include <bsp.h>
23#include <rtems/libio.h>
24#include <stdlib.h>
25#include <assert.h>
26#include <termios.h>
27
28#include <rtems/termiostypes.h>
29#include <libchip/serial.h>
30#include "console_private.h"
31
32/*
33 *  console_control
34 *
35 *  this routine uses the termios driver to process io
36 */
37rtems_device_driver console_control(
38  rtems_device_major_number major,
39  rtems_device_minor_number minor,
40  void                    * arg
41)
42{
43  return rtems_termios_ioctl (arg);
44}
Note: See TracBrowser for help on using the repository browser.