source: rtems/c/src/lib/libbsp/shared/console_private.h @ 15211c8

4.115
Last change on this file since 15211c8 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: 1.7 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup Console
5 *
6 * @brief  Extension of the generic libchip console driver shell
7 */
8
9/*
10 *  COPYRIGHT (c) 1989-2011.
11 *  On-Line Applications Research Corporation (OAR).
12 *
13 *  The license and distribution terms for this file may be
14 *  found in the file LICENSE in this distribution or at
15 *  http://www.rtems.com/license/LICENSE.
16 *
17 *  $Id$
18 */
19
20#ifndef _PC386_CONSOLE_PRIVATE_h
21#define _PC386_CONSOLE_PRIVATE_h
22
23#include <rtems.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29extern rtems_device_minor_number  Console_Port_Minor;
30extern rtems_device_minor_number  BSPPrintkPort;
31
32/**
33 *  @brief bsp_console_select
34 *
35 *  This function selects the port to be used as console
36 *
37 */
38void bsp_console_select(void);
39
40/**
41 *  @brief bsp_com_outch
42 *
43 *  This function puts a character out of the console port.
44 *
45 *  @param[in] ch specifies the character to write
46 */
47extern void bsp_com_outch(char ch);
48
49/**
50 *  @brief bsp_com_inch
51 *
52 *  This function gets a character from the console
53 *  port.
54 *
55 *  @return This method returns the character that
56 *    was retrieved from the console port.
57 */
58extern int bsp_com_inch(void);
59
60/**
61 *  @brief
62 *
63 *  This function
64 *
65 *  @return This method returns
66 */
67int vt_ioctl( unsigned int cmd, unsigned long arg);
68
69/**
70 *  @brief console_register_devices
71 *
72 *  This function expands the console table to include previous
73 *  ports and the array of new ports specified.
74 *
75 *  @param[in] new_ports specifies an array of new ports to register
76 *  @param[in] number_of_ports specifies the number of elements
77 *         in the new_ports array
78 *
79 */
80void console_register_devices(
81  console_tbl *new_ports,
82  size_t       number_of_ports
83);
84
85#ifdef __cplusplus
86}
87#endif
88
89/**@}*/
90
91#endif
92/* end of include file */
Note: See TracBrowser for help on using the repository browser.