source: rtems/c/src/lib/libbsp/shared/console_write.c @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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