source: rtems/c/src/lib/libbsp/shared/console_control.c @ 0c0181d

4.115
Last change on this file since 0c0181d was 15211c8, checked in by Ralf Corsepius <ralf.corsepius@…>, on 10/19/11 at 09:43:36

Remove white spaces.

  • Property mode set to 100644
File size: 936 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.com/license/LICENSE.
20 *
21 *  $Id$
22 */
23
24#include <bsp.h>
25#include <rtems/libio.h>
26#include <stdlib.h>
27#include <assert.h>
28#include <termios.h>
29
30#include <rtems/termiostypes.h>
31#include <libchip/serial.h>
32#include "console_private.h"
33
34/*
35 *  console_control
36 *
37 *  this routine uses the termios driver to process io
38 */
39rtems_device_driver console_control(
40  rtems_device_major_number major,
41  rtems_device_minor_number minor,
42  void                    * arg
43)
44{
45  return rtems_termios_ioctl (arg);
46}
Note: See TracBrowser for help on using the repository browser.